COMP: add note about gcc-9 and deprecated-copy
This commit is contained in:
parent
b87ea76fc1
commit
69a8369541
@ -21,6 +21,17 @@ We thus currently do not build with ParaView-5.7. If building plugins or with
|
||||
Catalyst, please use the latest ParaView-5.6 version instead for now.
|
||||
Or simply use ParaView with the regular, builtin VTK readers.
|
||||
|
||||
|
||||
### Gcc-9
|
||||
|
||||
In the newest version, gcc will emit warnings that some compiler-generated
|
||||
copy constructors and assignment operators are deprecated.
|
||||
It is possible to suppress these with the `-Wno-deprecated-copy` flag
|
||||
until such time that these occurances are changd in the OpenFOAM source code.
|
||||
However, be aware that doing so may prevent CMake-based tool chains
|
||||
from working properly.
|
||||
|
||||
|
||||
### Windows cross-compilation
|
||||
|
||||
The reacting Euler multiphase solvers currently do not build for
|
||||
|
@ -13,7 +13,7 @@ ptFLAGS = -DNoRepository -ftemplate-depth-100
|
||||
c++WARN = \
|
||||
-Wall -Wextra -Wold-style-cast \
|
||||
-Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof \
|
||||
-Wno-attributes -Wno-unknown-pragmas -Wno-deprecated-copy
|
||||
-Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
c++LESSWARN = \
|
||||
-Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds \
|
||||
|
Loading…
Reference in New Issue
Block a user