summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-23 22:40:47 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-23 22:40:47 (GMT)
commit492d186a5ceb2da47ef952fe52f890dbc4071b20 (patch)
tree17d0368e7c665d5ceee5d6dbb077679a6d8f125e /src/H5private.h
parent9a97411a61b886c4f2b5417dce29157a010b47c1 (diff)
downloadhdf5-492d186a5ceb2da47ef952fe52f890dbc4071b20.zip
hdf5-492d186a5ceb2da47ef952fe52f890dbc4071b20.tar.gz
hdf5-492d186a5ceb2da47ef952fe52f890dbc4071b20.tar.bz2
Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""
This reverts commit 6486e06545bf637d46e18a787395542f4fca143a.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/H5private.h b/src/H5private.h
index c3375df..bc6c8a5 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -540,21 +540,6 @@
# define H5_DEC_ENUM(TYPE,VAR) (VAR)=((TYPE)((VAR)-1))
#endif
-/* Double constant wrapper
- *
- * Quiets gcc warnings from -Wunsuffixed-float-constants.
- *
- * This is a really annoying warning since the standard specifies that
- * constants of type double do NOT get a suffix so there's no way
- * to specify a constant of type double. To quiet gcc, we specify floating
- * point constants as type long double and cast to double.
- *
- * Note that this macro only needs to be used where using a double
- * is important. For most code, suffixing constants with F will quiet the
- * compiler and not produce erroneous code.
- */
-#define H5_DOUBLE(S) ((double) S ## L)
-
/*
* Methods to compare the equality of floating-point values:
*