diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-09 23:53:06 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-09 23:53:06 +0200 |
commit | 51fc12171a5e9510e9eb60dc838473c3b352fee8 (patch) | |
tree | de10e74bb6d12152e555f3026d449fa77b6e6a53 /m4 | |
parent | c552e457732c3c7b84b66ed8548713be52561487 (diff) | |
download | xine-lib-51fc12171a5e9510e9eb60dc838473c3b352fee8.tar.gz xine-lib-51fc12171a5e9510e9eb60dc838473c3b352fee8.tar.bz2 |
format_arg attribute requires the function to return char*.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/attributes.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/attributes.m4 b/m4/attributes.m4 index eaa788c5f..55f34c9f7 100644 --- a/m4/attributes.m4 +++ b/m4/attributes.m4 @@ -119,7 +119,7 @@ AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [ AC_CACHE_CHECK([if compiler supports __attribute__((format_arg(printf)))], [cc_cv_attribute_format_arg], [AC_COMPILE_IFELSE([ - void __attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; } + char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; } ], [cc_cv_attribute_format_arg=yes], [cc_cv_attribute_format_arg=no]) |