Skip to content
Snippets Groups Projects
Commit a64ea758 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add missing includes for compilation with clang-14 and g++-12

parent ee3b3916
No related branches found
No related tags found
No related merge requests found
......@@ -11,3 +11,10 @@ add_library(
TensorialGaussLobattoQuadrature.cpp
TetrahedronGaussQuadrature.cpp
TriangleGaussQuadrature.cpp)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
if((CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12.0.0") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "13.0.0"))
# Deactivated since it produces false positive warning in this file only ...
set_source_files_properties(PyramidGaussQuadrature.cpp PROPERTIES COMPILE_FLAGS "-Wno-array-bounds")
endif()
endif()
......@@ -6,6 +6,7 @@
#include <utils/Exceptions.hpp>
#include <functional>
#include <sstream>
class IBuiltinFunctionEmbedder;
......
......@@ -3,6 +3,7 @@
#include <utils/PugsAssert.hpp>
#include <array>
#include <limits>
#include <memory>
#include <string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment