zlib.cpp
)
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-deprecated-copy)
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-c11-extensions)
+
DEAL_II_ADD_LIBRARY(obj_boost_iostreams OBJECT ${src_boost_iostreams})
xml_wiarchive.cpp
xml_woarchive.cpp
)
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-deprecated-copy)
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-c11-extensions)
DEAL_II_ADD_LIBRARY(obj_boost_serialization OBJECT ${src_boost_serialization})
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-flifetime-dse=1")
#
-# Disable all fallthrough warnings:
+# Disable other warnings:
#
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wimplicit-fallthrough=0")
-
-#
-# Disable string overflow warnings (strncpy, ...):
-#
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wstringop-overflow=0")
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-deprecated-copy")
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wtautological-overlap-compare=0")
#include <deal.II/base/exceptions.h>
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/serialization/map.hpp>
#include <boost/serialization/split_member.hpp>
#include <boost/serialization/string.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/variant.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <fstream>
#include <map>
{
CopyData();
- CopyData(CopyData const &data);
-
unsigned int dofs_per_cell;
std::vector<types::global_dof_index> dofs;
std::vector<std::vector<bool>> dof_is_on_face;
{}
- template <typename DoFHandlerType, typename number>
- CopyData<DoFHandlerType, number>::CopyData(CopyData const &data)
- : dofs_per_cell(data.dofs_per_cell)
- , dofs(data.dofs)
- , dof_is_on_face(data.dof_is_on_face)
- , cell(data.cell)
- , cell_matrix(data.cell_matrix)
- , cell_vector(data.cell_vector)
- {}
} // namespace AssemblerBoundary
} // namespace internal
} // namespace MatrixCreator
std::trunc(coefficients.first *
std::pow(future_fe.dofs_per_cell, coefficients.second));
- Assert(result >= 0 && result <= std::numeric_limits<unsigned int>::max(),
+ Assert(result >= 0. &&
+ result <=
+ static_cast<float>(std::numeric_limits<unsigned int>::max()),
ExcMessage(
"Cannot cast determined weight for this cell to unsigned int!"));
result += pair.first * std::pow(future_fe.dofs_per_cell, pair.second);
result = std::trunc(result);
- Assert(result >= 0 && result <= std::numeric_limits<unsigned int>::max(),
+ Assert(result >= 0. &&
+ result <=
+ static_cast<float>(std::numeric_limits<unsigned int>::max()),
ExcMessage(
"Cannot cast determined weight for this cell to unsigned int!"));