From d5f913731d19758e6a24c9ada3018ff61dc11915 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Fri, 31 Oct 2014 17:09:12 -0500 Subject: [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. --- config/gnu-flags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v0.12