Skip to content
Snippets Groups Projects
Commit 69a83695 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: add note about gcc-9 and deprecated-copy

parent b87ea76f
No related merge requests found
......@@ -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 \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment