summaryrefslogtreecommitdiffstats
path: root/config/gnu-flags
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-flags
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-flags')
-rw-r--r--config/gnu-flags9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 538fd53..6f7aea6 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -158,6 +158,15 @@ if test "X-gcc" = "X-$cc_vendor"; then
DEBUG_CFLAGS="-ftrapv -fno-common"
fi
+ ########################
+ # Enhanced Diagnostics #
+ ########################
+
+ if test $cc_vers_major -ge 10; then
+ NO_DIAGS_CFLAGS="-fdiagnostics-urls=never -fno-diagnostics-color"
+ fi
+ DIAGS_CFLAGS=
+
###########
# Symbols #
###########