When testing with old gcc, I found out that gnulib uses
__GNUC_GNU_INLINE__ without checking whether it's defined first. I
propose following fix:

=== modified file 'm4/extern-inline.m4'
--- m4/extern-inline.m4 2013-04-11 19:12:46 +0000
+++ m4/extern-inline.m4 2013-10-18 14:55:19 +0000
@@ -32,7 +32,7 @@
 # define _GL_INLINE inline
 # define _GL_EXTERN_INLINE extern inline
 #elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__
-# if __GNUC_GNU_INLINE__
+# if defined (__GNUC_GNU_INLINE__) && __GNUC_GNU_INLINE__
    /* __gnu_inline__ suppresses a GCC 4.2 diagnostic.  */
 #  define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
 # else


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to