summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-11-25 17:50:21 (GMT)
committerGitHub <noreply@github.com>2020-11-25 17:50:21 (GMT)
commit0b54c556a02f67a611638c47d5f92364da8eadd2 (patch)
tree2ba1eef16dd30a98b11ffa753fd8df28c3c469ca /config/gnu-cxxflags
parentffcb3542377c62cf972ff683c101e7268332f8a0 (diff)
downloadhdf5-0b54c556a02f67a611638c47d5f92364da8eadd2.zip
hdf5-0b54c556a02f67a611638c47d5f92364da8eadd2.tar.gz
hdf5-0b54c556a02f67a611638c47d5f92364da8eadd2.tar.bz2
Add else choice to error flags option (#128)
Diffstat (limited to 'config/gnu-cxxflags')
-rw-r--r--config/gnu-cxxflags3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags
index 44cbc69..eb490b3 100644
--- a/config/gnu-cxxflags
+++ b/config/gnu-cxxflags
@@ -184,6 +184,7 @@ if test "X-g++" = "X-$cxx_vendor"; then
if test $cxx_vers_major -eq 4 -a $cxx_vers_minor -ge 8 -o $cxx_vers_major -ge 5; then
H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments cxx-general)"
H5_ECXXFLAGS="$H5_ECXXFLAGS $(load_gnu_arguments cxx-error-general)"
+ H5_NECXXFLAGS="$H5_NECXXFLAGS $(load_gnu_arguments cxx-noerror-general)"
######################
# Developer warnings #
@@ -224,6 +225,7 @@ if test "X-g++" = "X-$cxx_vendor"; then
if test $cxx_vers_major -ge 5; then
H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments cxx-5)"
H5_ECXXFLAGS="$H5_ECXXFLAGS $(load_gnu_arguments cxx-error-5)"
+ H5_NECXXFLAGS="$H5_NECXXFLAGS $(load_gnu_arguments cxx-noerror-5)"
fi
# gcc >= 6
@@ -241,6 +243,7 @@ if test "X-g++" = "X-$cxx_vendor"; then
if test $cxx_vers_major -ge 8; then
H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments 8)"
#H5_ECXXFLAGS="$H5_ECXXFLAGS $(load_gnu_arguments error-8)"
+ #H5_NECXXFLAGS="$H5_NECXXFLAGS $(load_gnu_arguments noerror-8)"
DEVELOPER_WARNING_CXXFLAGS="$DEVELOPER_WARNING_CXXFLAGS $(load_gnu_arguments developer-8)"
NO_DEVELOPER_WARNING_CXXFLAGS="$NO_DEVELOPER_WARNING_CXXFLAGS $(load_gnu_arguments no-developer-8)"
fi