CONFIG: add compiler config for gcc-9

Caveat: The -Wdeprecated-copy produces many, many compiler warnings
This commit is contained in:
Mark Olesen
2019-06-27 19:03:32 +02:00
committed by Andrew Heather
parent 7b02c0fa19
commit 1b7b9eab35
2 changed files with 15 additions and 3 deletions

View File

@ -2,10 +2,10 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2016-2018 OpenCFD Ltd.
# \\ / A nd | Copyright (C) 2016-2019 OpenCFD Ltd.
# \\/ M anipulation |
#------------------------------------------------------------------------------
# | Copyright (C) 2016 OpenFOAM Foundation
# | Copyright (C) 2011-2016 OpenFOAM Foundation
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
@ -85,6 +85,12 @@ case ThirdParty:
case Gcc82*:
set gcc_version=gcc-8.2.0
breaksw
case Gcc83*:
set gcc_version=gcc-8.3.0
breaksw
case Gcc91*:
set gcc_version=gcc-9.1.0
breaksw
case Clang:
case Clang37*:
set clang_version=llvm-3.7.1