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:
@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user