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 -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-para
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
||||
CC = g++ -std=c++11 -m64 -mcpu=power5+
|
||||
CC = g++ -std=c++14 -m64 -mcpu=power5+
|
||||
|
||||
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user