diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-17 14:54:04 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-17 14:54:04 (GMT) |
commit | ed23b6baad3d6d8c1f2b70754dbbb3da251ccb0e (patch) | |
tree | a269e21770a3b606907cebe923522ae393167800 /config/gnu-flags | |
parent | 0ea37eb9306bb703790a163cc6d1f410a2778bec (diff) | |
parent | 1097ac60c2b95a2b958a3150b537c75f512cacca (diff) | |
download | hdf5-ed23b6baad3d6d8c1f2b70754dbbb3da251ccb0e.zip hdf5-ed23b6baad3d6d8c1f2b70754dbbb3da251ccb0e.tar.gz hdf5-ed23b6baad3d6d8c1f2b70754dbbb3da251ccb0e.tar.bz2 |
Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_12)
* commit '1097ac60c2b95a2b958a3150b537c75f512cacca':
Merge t_2Gio test into hdf5_1_12. This will eventually be refactored out after merging the test functionality into the testphdf5 test.
Merge t_2Gio test into hdf5_1_12. This will eventually be refactored out after merging the test functionality into the testphdf5 test.
Minor tweaks noticed while going over VOL documentation.
Yanked -Wc++-compat from the flags used to build the C library in both the Autotools and CMake.
Fixed missing blob callbacks in test VOL connectors.
Trivial parameter renaming in VOL API calls.
Diffstat (limited to 'config/gnu-flags')
-rw-r--r-- | config/gnu-flags | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index 6355ccf..16795d0 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -168,7 +168,10 @@ if test "X-gcc" = "X-$cc_vendor"; then # NOTE: Disable the -Wformat-nonliteral from -Wformat=2 here and re-add # it to the developer flags. # - H5_CFLAGS="$H5_CFLAGS -pedantic -Wall -Wextra -Wbad-function-cast -Wc++-compat -Wcast-align" + # NOTE: Due to the divergence in the C and C++, we're dropping support for + # compiling the C library with a C++ compiler and dropping the -Wc++-compat + # warning. + H5_CFLAGS="$H5_CFLAGS -pedantic -Wall -Wextra -Wbad-function-cast -Wno-c++-compat -Wcast-align" H5_CFLAGS="$H5_CFLAGS -Wcast-qual -Wconversion -Wdeclaration-after-statement -Wdisabled-optimization -Wfloat-equal" H5_CFLAGS="$H5_CFLAGS -Wformat=2 -Wno-format-nonliteral -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-include-dirs" H5_CFLAGS="$H5_CFLAGS -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked" |