diff options
author | Simon Josefsson <simon@josefsson.org> | 2011-11-20 22:55:32 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2011-11-20 22:55:32 +0100 |
commit | 0f631659630ac4095a7acc3052f83726d667bcc1 (patch) | |
tree | 0e3f8fe35932e368831bfc4f1529ce4cffea75cd /gl/m4 | |
parent | 1241f93fbbe39a1cef42d51e2e59913adbf48996 (diff) | |
download | libtasn1-0f631659630ac4095a7acc3052f83726d667bcc1.tar.gz libtasn1-0f631659630ac4095a7acc3052f83726d667bcc1.tar.bz2 libtasn1-0f631659630ac4095a7acc3052f83726d667bcc1.zip |
Update manywarnings again.
Diffstat (limited to 'gl/m4')
-rw-r--r-- | gl/m4/manywarnings.m4 | 76 |
1 files changed, 15 insertions, 61 deletions
diff --git a/gl/m4/manywarnings.m4 b/gl/m4/manywarnings.m4 index 9788ebf..d3a8b9e 100644 --- a/gl/m4/manywarnings.m4 +++ b/gl/m4/manywarnings.m4 @@ -135,31 +135,33 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC], -Wmudflap \ -Wpacked-bitfield-compat \ -Wsync-nand \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # The following are not documented in the manual but are included in + # output from gcc --help=warnings. + for gl_manywarn_item in \ + -Wattributes \ + -Wcoverage-mismatch \ + -Wmultichar \ + -Wunused-macros \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # More warnings from gcc 4.6.2 --help=warnings. + for gl_manywarn_item in \ -Wabi \ -Waddress \ - -Waliasing \ - -Walign-commons \ - -Wampersand \ -Warray-bounds \ - -Warray-temporaries \ - -Wassign-intercept \ - -Wattributes \ - -Wc++0x-compat \ -Wchar-subscripts \ - -Wcharacter-truncation \ -Wclobbered \ -Wcomment \ -Wcomments \ - -Wconversion-extra \ - -Wconversion-null \ - -Wcoverage-mismatch \ -Wcpp \ - -Wctor-dtor-privacy \ -Wdeprecated \ -Wdeprecated-declarations \ -Wdiv-by-zero \ -Wdouble-promotion \ - -Weffc++ \ -Wempty-body \ -Wendif-labels \ -Wenum-compare \ @@ -174,82 +176,34 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC], -Wimplicit \ -Wimplicit-function-declaration \ -Wimplicit-int \ - -Wimplicit-interface \ - -Wimplicit-procedure \ -Wint-to-pointer-cast \ - -Wintrinsic-shadow \ - -Wintrinsics-std \ - -Winvalid-offsetof \ -Wjump-misses-init \ - -Wline-truncation \ -Wmain \ -Wmissing-braces \ - -Wmissing-field-initializers \ -Wmissing-parameter-type \ -Wmultichar \ - -Wnoexcept \ - -Wnon-template-friend \ - -Wnon-virtual-dtor \ -Wnonnull \ -Wnormalized=nfc \ - -Wold-style-cast \ -Wold-style-declaration \ -Woverflow \ - -Woverloaded-virtual \ -Woverride-init \ -Wparentheses \ - -Wpmf-conversions \ -Wpointer-sign \ -Wpointer-to-int-cast \ -Wpragmas \ - -Wproperty-assign-default \ - -Wprotocol \ - -Wreal-q-constant \ - -Wreorder \ -Wreturn-type \ - -Wselector \ -Wsequence-point \ -Wsign-compare \ - -Wsign-promo \ - -Wstrict-null-sentinel \ - -Wstrict-overflow=5 \ - -Wstrict-selector-match \ -Wsuggest-attribute=const \ -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=pure \ - -Wsurprising \ -Wswitch \ - -Wsynth \ - -Wtabs \ -Wtrampolines \ -Wtrigraphs \ -Wtype-limits \ - -Wundeclared-selector \ - -Wunderflow \ -Wuninitialized \ -Wunsuffixed-float-constants \ - -Wunused-but-set-parameter \ - -Wunused-but-set-variable \ - -Wunused-dummy-argument \ - -Wunused-function \ - -Wunused-label \ - -Wunused-macros \ - -Wunused-parameter \ - -Wunused-result \ - -Wunused-value \ - -Wunused-variable \ -Wvariadic-macros \ - -frequire-return-statement \ - ; do - gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" - done - # The following are not documented in the manual but are included in - # output from gcc --help=warnings. - for gl_manywarn_item in \ - -Wattributes \ - -Wcoverage-mismatch \ - -Wmultichar \ - -Wunused-macros \ ; do gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" done |