summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-01 18:12:52 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-09 01:43:12 (GMT)
commit23c2f0211e17cb15ce8d0ae1e5d69ad8c0eff9f7 (patch)
tree17e26d9211efab814c80456a0cd4384fbdf81667 /config
parentb265ec06a24e09502f268e6590453d17130d152b (diff)
downloadhdf5-23c2f0211e17cb15ce8d0ae1e5d69ad8c0eff9f7.zip
hdf5-23c2f0211e17cb15ce8d0ae1e5d69ad8c0eff9f7.tar.gz
hdf5-23c2f0211e17cb15ce8d0ae1e5d69ad8c0eff9f7.tar.bz2
Changed -Wformat-truncation's level from 2 to 1.
Diffstat (limited to 'config')
-rw-r--r--config/gnu-flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 6355ccf..8242945 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -273,7 +273,7 @@ if test "X-gcc" = "X-$cc_vendor"; then
# gcc 7
if test $cc_vers_major -ge 7; then
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 -Wrestrict"
+ H5_CFLAGS="$H5_CFLAGS -Walloc-zero -Walloca -Wduplicated-branches -Wformat-overflow=2 -Wformat-truncation=1 -Wimplicit-fallthrough=5 -Wrestrict"
fi
# gcc 8