diff options
author | Quincey Koziol <koziol@koziol.gov> | 2019-06-22 16:41:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2019-06-22 16:41:33 (GMT) |
commit | 4e3a0c505c2501fc6b6cd95913d511c773287272 (patch) | |
tree | 3bd3e9e9beb3f0577c1e2fbf4c8b412d79b2ce44 /config/gnu-flags | |
parent | 128853b58a046ef051c2a2f40924028f589238bb (diff) | |
download | hdf5-4e3a0c505c2501fc6b6cd95913d511c773287272.zip hdf5-4e3a0c505c2501fc6b6cd95913d511c773287272.tar.gz hdf5-4e3a0c505c2501fc6b6cd95913d511c773287272.tar.bz2 |
Move -Wnormalized down into GCC 6.x flags
Diffstat (limited to 'config/gnu-flags')
-rw-r--r-- | config/gnu-flags | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index 9cdd2bd..c55391d 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -227,11 +227,11 @@ case "$cc_vendor-$cc_version" in H5_CFLAGS="$H5_CFLAGS -Warray-bounds=2 -Wc99-c11-compat" # Append warning flags that only gcc 6.x+ knows about - H5_CFLAGS="$H5_CFLAGS -Wnull-dereference -Wunused-const-variable -Wduplicated-cond -Whsa" + H5_CFLAGS="$H5_CFLAGS -Wnull-dereference -Wunused-const-variable -Wduplicated-cond -Whsa -Wnormalized" # Append warning flags that only gcc 7.x+ knows about DEVELOPER_WARNING_CFLAGS="$DEVELOPER_WARNING_CFLAGS -Wstringop-overflow=2" - H5_CFLAGS="$H5_CFLAGS -Walloc-zero -Walloca -Wduplicated-branches -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wnormalized -Wrestrict" + H5_CFLAGS="$H5_CFLAGS -Walloc-zero -Walloca -Wduplicated-branches -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wrestrict" ;; gcc-6*) @@ -271,7 +271,7 @@ case "$cc_vendor-$cc_version" in H5_CFLAGS="$H5_CFLAGS -Warray-bounds=2 -Wc99-c11-compat" # Append warning flags that only gcc 6.x+ knows about - H5_CFLAGS="$H5_CFLAGS -Wnull-dereference -Wunused-const-variable -Wduplicated-cond -Whsa" + H5_CFLAGS="$H5_CFLAGS -Wnull-dereference -Wunused-const-variable -Wduplicated-cond -Whsa -Wnormalized" ;; gcc-5*) |