]> Savannah Git Hosting - gnulib.git/commitdiff
extern-inline: update commentary about GCC bugs
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Nov 2014 20:10:50 +0000 (12:10 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Nov 2014 20:11:14 +0000 (12:11 -0800)
* m4/extern-inline.m4: Add another GCC bug number to comments.

ChangeLog
m4/extern-inline.m4

index 1ebd82662e400cd48e019c9bcc0faa1652955219..16dc6209600577acc39458062ee38e3773d1ae27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       extern-inline: update commentary about GCC bugs
+       * m4/extern-inline.m4: Add another GCC bug number to comments.
+
 2014-11-13  Daiki Ueno  <ueno@gnu.org>
 
        gen-uni-tables: untabify
index 7f1bb397c4f06afc85244470f9eb2e4626c81418..0edbe3c81c6f5f25420410f84a1ead33f1f3c9bc 100644 (file)
@@ -74,6 +74,11 @@ AC_DEFUN([gl_EXTERN_INLINE],
 # define _GL_EXTERN_INLINE static _GL_UNUSED
 #endif
 
+/* In GCC, suppress bogus "no previous prototype for 'FOO'"
+   and "no previous declaration for 'FOO'" diagnostics,
+   when FOO is an inline function in the header; see
+   <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
+   <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>.  */
 #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
 #  define _GL_INLINE_HEADER_CONST_PRAGMA
@@ -81,10 +86,6 @@ AC_DEFUN([gl_EXTERN_INLINE],
 #  define _GL_INLINE_HEADER_CONST_PRAGMA \
      _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
 # endif
-  /* Suppress GCC's bogus "no previous prototype for 'FOO'"
-     and "no previous declaration for 'FOO'"  diagnostics,
-     when FOO is an inline function in the header; see
-     <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.  */
 # define _GL_INLINE_HEADER_BEGIN \
     _Pragma ("GCC diagnostic push") \
     _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \