mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
C++11: Update compilation rules to specify C++11 support and conformance
The change from C++0x to C++11 allows all of C++11 functionality to be used in OpenFOAM, in particular constructor delegation which avoids code duplication or constructor helper functions. However, this also means a change to the minimum gcc version supported which is now 4.7 rather than 4.5. Note that gcc-4.7 does not support the entire C++11 standard but does support all of the functionality currently needed for further OpenFOAM development. The minimum gcc-version which supports the entire C++11 standard is 4.8 which is now the recommended minimum gcc version.
This commit is contained in:
@ -225,12 +225,6 @@ case ThirdParty:
|
||||
case Gcc48:
|
||||
set gcc_version=gcc-4.8.5
|
||||
breaksw
|
||||
case Gcc45:
|
||||
set gcc_version=gcc-4.5.4
|
||||
breaksw
|
||||
case Gcc46:
|
||||
set gcc_version=gcc-4.6.4
|
||||
breaksw
|
||||
case Gcc47:
|
||||
set gcc_version=gcc-4.7.4
|
||||
breaksw
|
||||
|
||||
Reference in New Issue
Block a user