diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 20:39:12 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:19:37 (GMT) |
commit | 312496013efb9c0c2905a484bafd74608aca3d35 (patch) | |
tree | 58f61da65be3883994338efb27bf2e2c1dbbf42e /config | |
parent | d1ceb04c5d837f4b594aeb27979ce6f586f2ea91 (diff) | |
download | hdf5-312496013efb9c0c2905a484bafd74608aca3d35.zip hdf5-312496013efb9c0c2905a484bafd74608aca3d35.tar.gz hdf5-312496013efb9c0c2905a484bafd74608aca3d35.tar.bz2 |
Promote decleration-after-statement warnings to errors.
Diffstat (limited to 'config')
-rw-r--r-- | config/gnu-flags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index de2cfc0..471ee4f 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -181,6 +181,7 @@ if test "X-gcc" = "X-$cc_vendor"; then H5_ECFLAGS="$H5_ECFLAGS -Werror=bad-function-cast" H5_ECFLAGS="$H5_ECFLAGS -Werror=cast-align" H5_ECFLAGS="$H5_ECFLAGS -Werror=cast-function-type" + H5_ECFLAGS="$H5_ECFLAGS -Werror=declaration-after-statement" # H5_ECFLAGS="$H5_ECFLAGS -Werror=discarded-qualifiers" H5_ECFLAGS="$H5_ECFLAGS -Werror=implicit-function-declaration" H5_ECFLAGS="$H5_ECFLAGS -Werror=incompatible-pointer-types" @@ -215,7 +216,6 @@ if test "X-gcc" = "X-$cc_vendor"; then # # Let's discuss: # - DEVELOPER_WARNING_CFLAGS="$DEVELOPER_WARNING_CFLAGS -Wdeclaration-after-statement" DEVELOPER_WARNING_CFLAGS="$DEVELOPER_WARNING_CFLAGS -Wdisabled-optimization" DEVELOPER_WARNING_CFLAGS="$DEVELOPER_WARNING_CFLAGS -Wunused-macros" DEVELOPER_WARNING_CFLAGS="$DEVELOPER_WARNING_CFLAGS -Wunsafe-loop-optimizations" |