summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2014-10-31 22:09:12 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2014-10-31 22:09:12 (GMT)
commitd5f913731d19758e6a24c9ada3018ff61dc11915 (patch)
treecadd6eedf8a63be65b07ac301d8749c5b9eb20db /config
parent81f7e6b1d3d1e1b4ef70c520e8296645b63923ba (diff)
downloadhdf5-d5f913731d19758e6a24c9ada3018ff61dc11915.zip
hdf5-d5f913731d19758e6a24c9ada3018ff61dc11915.tar.gz
hdf5-d5f913731d19758e6a24c9ada3018ff61dc11915.tar.bz2
[svn-r25756] Removed the -Wunsuffixed-float-constants warning from the gnu-flags
script. The warnings that this generates cannot easily be resolved in platform-independent C code since gnu expects the non-standard (gnu) 'D' suffix for double constants. It's still technically useful for catching float and long double constants, but should probably be enabled by developers on an as-needed basis for that purpose so the spurious warnings are avoided. Tested on a local linux VM with gcc 4.8.2. This is a very minor change.
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 5f36eaa..6c33808 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -321,7 +321,7 @@ case "$cc_vendor-$cc_version" in
H5_CFLAGS="$H5_CFLAGS -Wsync-nand -Wframe-larger-than=16384 -Wpacked-bitfield-compat"
# Append more extra warning flags that only gcc 4.5+ know about
- H5_CFLAGS="$H5_CFLAGS -Wstrict-overflow=5 -Wjump-misses-init -Wunsuffixed-float-constants"
+ H5_CFLAGS="$H5_CFLAGS -Wstrict-overflow=5 -Wjump-misses-init"
# Append more extra warning flags that only gcc 4.6+ know about
H5_CFLAGS="$H5_CFLAGS -Wdouble-promotion -Wsuggest-attribute=const -Wtrampolines"