summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-01 18:12:52 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:22 (GMT)
commit6cfeb96b36d0d1b709d4a8726ed97e79e75a926c (patch)
tree2f16bb50440400aec909643fe150c1a003edaa9d
parent295185f368e06340a3c626cbe974d31fa683a0c8 (diff)
downloadhdf5-6cfeb96b36d0d1b709d4a8726ed97e79e75a926c.zip
hdf5-6cfeb96b36d0d1b709d4a8726ed97e79e75a926c.tar.gz
hdf5-6cfeb96b36d0d1b709d4a8726ed97e79e75a926c.tar.bz2
Changed -Wformat-truncation's level from 2 to 1.
-rw-r--r--config/gnu-flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 03f1243..2758681 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -278,7 +278,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