summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-02-08 23:24:43 (GMT)
committerGitHub <noreply@github.com>2021-02-08 23:24:43 (GMT)
commit21e1a4e592dd0294a8707694b1806b0d052a6f06 (patch)
treefa5e6b62bea20e50f9b0d7412d3fa1d6ce707d21 /config/gnu-cxxflags
parent7d2d3bed473aa853f0b2f06559c7080515a65d28 (diff)
downloadhdf5-21e1a4e592dd0294a8707694b1806b0d052a6f06.zip
hdf5-21e1a4e592dd0294a8707694b1806b0d052a6f06.tar.gz
hdf5-21e1a4e592dd0294a8707694b1806b0d052a6f06.tar.bz2
1 12 merges from develop (#319)
* OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version * Merge workflow and minor changes 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 #
###########