diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-11-14 12:23:11 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-11-14 12:25:11 -0800 |
commit | dc7a3ba28b49fe67e469931bc9e66ea1b71fc4d3 (patch) | |
tree | f0f87b955dd0e08a134b0805aeb468e348695b8e /m4 | |
parent | 5caf6c9358068f9fca8ebde3230a2df1155c0d0c (diff) |
Merge from gnulib.
2014-11-14 extern-inline: update commentary about GCC bugs
2014-11-06 unistd: port to iOS
2014-11-04 update from texinfo
* doc/misc/texinfo.tex, lib/unistd.in.h, m4/extern-inline.m4:
Update from gnulib.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/extern-inline.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/m4/extern-inline.m4 b/m4/extern-inline.m4 index 7f1bb397c4..0edbe3c81c 100644 --- a/m4/extern-inline.m4 +++ b/m4/extern-inline.m4 @@ -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\"") \ |