Mercurial > hg > octave-kai > gnulib-hg
changeset 17035:599464b0cbf8
extern-inline: also ignore -Wmissing-declarations
* m4/extern-inline.m4: Also ignore -Wmissing-declarations,
required with gcc-4.8.0-to-be.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sun, 05 Aug 2012 18:41:53 +0200 |
parents | dd8e78525ca7 |
children | 73562b8a8559 |
files | ChangeLog m4/extern-inline.m4 |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-08-05 Jim Meyering <meyering@redhat.com> + extern-inline: also ignore -Wmissing-declarations + * m4/extern-inline.m4: Also ignore -Wmissing-declarations, + required with gcc-4.8.0-to-be. + maint.mk: sc_prohibit_magic_number_exit: avoid new false positives * top/maint.mk (sc_prohibit_magic_number_exit): Also filter out matches for /error ?([^,]*)/. This avoids false-positives for strings like
--- a/m4/extern-inline.m4 +++ b/m4/extern-inline.m4 @@ -24,7 +24,8 @@ # if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ # define _GL_INLINE_HEADER_BEGIN \ _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") + _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ + _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") # define _GL_INLINE_HEADER_END \ _Pragma ("GCC diagnostic pop") # endif