mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-20 01:32:57 -06:00
Added more warnings to suppression list, sorted list.
This commit is contained in:
parent
cd95b9da9d
commit
682d8c394e
@ -17,10 +17,13 @@ option(SILENCE_DUNE_WARNINGS "Disable warnings from DUNE?" OFF)
|
||||
if(SILENCE_DUNE_WARNINGS AND CXX_COMPAT_GCC)
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/dune_disable_pragmas.h "
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored \"-Wshadow\"
|
||||
#pragma GCC diagnostic ignored \"-Wunused-parameter\"
|
||||
#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"
|
||||
#pragma GCC diagnostic ignored \"-Wdeprecated-register\"
|
||||
#pragma GCC diagnostic ignored \"-Wignored-qualifiers\"
|
||||
#pragma GCC diagnostic ignored \"-Wmismatched-tags\"")
|
||||
#pragma GCC diagnostic ignored \"-Wmismatched-tags\"
|
||||
#pragma GCC diagnostic ignored \"-Wshadow\"
|
||||
#pragma GCC diagnostic ignored \"-Wsign-compare\"
|
||||
#pragma GCC diagnostic ignored \"-Wunused-parameter\"")
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/dune_reenable_pragmas.h "#pragma GCC diagnostic pop")
|
||||
else()
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/dune_disable_pragmas.h "")
|
||||
|
Loading…
Reference in New Issue
Block a user