mapped_file.cpp
zlib.cpp
)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-c11-extensions)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-deprecated-copy)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-uninitialized)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-c11-extensions)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-copy)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-uninitialized)
define_object_library(bundled_boost_iostreams OBJECT ${src_boost_iostreams})
xml_wiarchive.cpp
xml_woarchive.cpp
)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-c11-extensions)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-deprecated-copy)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-uninitialized)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-c11-extensions)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-copy)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-uninitialized)
define_object_library(bundled_boost_serialization OBJECT ${src_boost_serialization})
containers/src/impl/Kokkos_UnorderedMap_impl.cpp
)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-float-conversion)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-missing-field-initializers)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-suggest-override)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-unused-but-set-parameter)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-float-conversion)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-missing-field-initializers)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-suggest-override)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-unused-but-set-parameter)
define_object_library(bundled_kokkos OBJECT ${src_kokkos})
#
# avoid some annoying warnings...
#
-strip_flag(DEAL_II_CXX_FLAGS "-Wall")
-strip_flag(DEAL_II_CXX_FLAGS "-pedantic")
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-switch)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-nested-anon-types)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-implicit-fallthrough)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-cast-function-type)
-enable_if_supported(DEAL_II_CXX_FLAGS -Wno-float-conversion)
+strip_flag(DEAL_II_WARNING_FLAGS "-Wall")
+strip_flag(DEAL_II_WARNING_FLAGS "-pedantic")
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-switch)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-nested-anon-types)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-implicit-fallthrough)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-cast-function-type)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-float-conversion)
include_directories(
include/
list(APPEND DEAL_II_DEFINITIONS "BOOST_ALL_NO_LIB")
endif()
- enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-unused-local-typedefs")
+ enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-unused-local-typedefs")
list(APPEND DEAL_II_BUNDLED_INCLUDE_DIRS ${BOOST_FOLDER}/include)
endmacro()
#
# We have to disable a bunch of warnings:
#
- enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-parentheses")
+ enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-parentheses")
#
# tbb uses dlopen/dlclose, so link against libdl.so as well:
## ---------------------------------------------------------------------
#
-# Remove -Wall and -pedantic from DEAL_II_CXX_FLAGS (in directory scope) to
+# Remove -Wall and -pedantic from DEAL_II_WARNING_FLAGS (in directory scope) to
# avoid some annoying warnings...
#
-strip_flag(DEAL_II_CXX_FLAGS "-Wall")
-strip_flag(DEAL_II_CXX_FLAGS "-pedantic")
+strip_flag(DEAL_II_WARNING_FLAGS "-Wall")
+strip_flag(DEAL_II_WARNING_FLAGS "-pedantic")
#
# As discussed in
#
# Disable other warnings:
#
-enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-implicit-fallthrough")
-enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-stringop-overflow")
-enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-deprecated-copy")
-enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-tautological-overlap-compare")
+enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-implicit-fallthrough")
+enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-stringop-overflow")
+enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-deprecated-copy")
+enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-tautological-overlap-compare")
##
## ---------------------------------------------------------------------
-strip_flag(DEAL_II_CXX_FLAGS "-Wfloat-conversion")
+strip_flag(DEAL_II_WARNING_FLAGS "-Wfloat-conversion")
set(src_amd
amd_1.cc
# *Shush!*
# (Remove locally in this subdirectory)
#
-strip_flag(DEAL_II_CXX_FLAGS "-pedantic")
-strip_flag(DEAL_II_CXX_FLAGS "-Wall")
-strip_flag(DEAL_II_CXX_FLAGS "-Wfloat-conversion")
-enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-sign-compare")
-enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-write-strings")
+strip_flag(DEAL_II_WARNING_FLAGS "-pedantic")
+strip_flag(DEAL_II_WARNING_FLAGS "-Wall")
+strip_flag(DEAL_II_WARNING_FLAGS "-Wextra")
+strip_flag(DEAL_II_WARNING_FLAGS "-Wfloat-conversion")
+enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-sign-compare")
+enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-write-strings")
#