At least for my local copy (11.12.1) GCC does not raise any warnings.
SET(DEAL_II_EXPAND_TRILINOS_MPI_VECTOR "TrilinosWrappers::MPI::Vector")
#
- # Disable a bunch of warnings caused by Trilinos headers:
+ # Disable a bunch of warnings caused by Trilinos headers in older versions:
#
- ENABLE_IF_SUPPORTED(TRILINOS_CXX_FLAGS "-Wno-unused")
- ENABLE_IF_SUPPORTED(TRILINOS_CXX_FLAGS "-Wno-extra")
- ENABLE_IF_SUPPORTED(TRILINOS_CXX_FLAGS "-Wno-overloaded-virtual")
+ IF(TRILINOS_VERSION VERSION_LESS "11.12")
+ ENABLE_IF_SUPPORTED(TRILINOS_CXX_FLAGS "-Wno-unused")
+ ENABLE_IF_SUPPORTED(TRILINOS_CXX_FLAGS "-Wno-extra")
+ ENABLE_IF_SUPPORTED(TRILINOS_CXX_FLAGS "-Wno-overloaded-virtual")
+ ENDIF()
ENDMACRO()
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams