summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-12 15:54:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-12 15:54:58 +0200
commitd3cfa8da4ea770913f0368ba141d5862df3e4c17 (patch)
treee2d7aec7518d30ab6e69bae1de0ae56619e9137f /configure.ac
parent125ed0f91ffa2375e1f2fed06e3e10b5de57a768 (diff)
deprecated message must be a string
Change-Id: Iad8f29b36ce38a90ea93705131a2e4e201d77bf8
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8ff7dd307a43..55b1da3d51d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5799,7 +5799,7 @@ if test "$GCC" = "yes"; then
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Werror"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
- __attribute__((deprecated(test))) void f();
+ __attribute__((deprecated("test"))) void f();
])], [
AC_DEFINE([HAVE_GCC_DEPRECATED_MESSAGE],[1])
AC_MSG_RESULT([yes])