summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-02-08 23:26:28 (GMT)
committerGitHub <noreply@github.com>2021-02-08 23:26:28 (GMT)
commitcb7b7257e94c8283c94d8cc8f9f685fca43f2a08 (patch)
tree7c3af85fba2eccd15a8d8baa542a179d7830cec6 /config/gnu-cxxflags
parent3a04f2995bbbd664d7bd27ca21f48634abea6bc4 (diff)
downloadhdf5-cb7b7257e94c8283c94d8cc8f9f685fca43f2a08.zip
hdf5-cb7b7257e94c8283c94d8cc8f9f685fca43f2a08.tar.gz
hdf5-cb7b7257e94c8283c94d8cc8f9f685fca43f2a08.tar.bz2
1 10 merges from develop (#320)
* HDFFV-10865 - merge from dev, HDFArray perf fix. * Remove duplicate setting * Whitespace changes after clang format * Undo version 11 clang format changes * Merge CMake changes from develop * test testing script merge from develop * Update supported platforms * PR#3 merge from develop * Merge gcc 10 diagnostics option from develop
Diffstat (limited to 'config/gnu-cxxflags')
-rw-r--r--config/gnu-cxxflags9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags
index 0b48bdf..6189db6 100644
--- a/config/gnu-cxxflags
+++ b/config/gnu-cxxflags
@@ -144,6 +144,15 @@ if test "X-g++" = "X-$cxx_vendor"; then
DEBUG_CXXFLAGS="-ftrapv -fno-common"
fi
+ ########################
+ # Enhanced Diagnostics #
+ ########################
+
+ if test $cc_vers_major -ge 10; then
+ NO_DIAGS_CXXFLAGS="-fdiagnostics-urls=never -fno-diagnostics-color"
+ fi
+ DIAGS_CXXFLAGS=
+
###########
# Symbols #
###########