Updated to C++14 standard

gcc version 5 and above and clang version 3.4 and above fully support the C++14
standard and the compilation rules of OpenFOAM-dev now require this support
allowing for further development and maintenance to benefit from the additional
language features provided in C++14.
This commit is contained in:
Henry Weller
2020-07-23 15:31:07 +01:00
parent 9cbaefddff
commit 0257ab1459
16 changed files with 16 additions and 16 deletions

View File

@ -6,7 +6,7 @@ c++WARN = -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invali
# Suppress some warnings for flex++ and CGAL
c++LESSWARN = -diag-disable 1224,2026,2305
CC = icpc -std=c++11 -fp-trap=common -fp-model precise
CC = icpc -std=c++14 -fp-trap=common -fp-model precise
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)