mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
COMP: add -fpermissive to c++LESSWARN flags (closes #744)
- downgrades some diagnostics about nonconformant code from errors to warnings. Oddly enough, the errors actually arise from STL library elements shipped with gcc itself. Affects kahip compilation with gcc-6, gcc-7
This commit is contained in:
@ -3,7 +3,7 @@ SUFFIXES += .C .cc .cpp .cxx
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
# Suppress some warnings (flex++, CGAL, etc)
|
||||
c++LESSWARN =
|
||||
|
||||
CC = g++ -std=c++11 -m64
|
||||
|
||||
Reference in New Issue
Block a user