diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-02-08 23:26:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 23:26:28 (GMT) |
commit | cb7b7257e94c8283c94d8cc8f9f685fca43f2a08 (patch) | |
tree | 7c3af85fba2eccd15a8d8baa542a179d7830cec6 /config/gnu-flags | |
parent | 3a04f2995bbbd664d7bd27ca21f48634abea6bc4 (diff) | |
download | hdf5-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-flags')
-rw-r--r-- | config/gnu-flags | 9 |
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 # ########### |