diff --git a/make/compiler_flags b/make/compiler_flags index a083dd1d45a..2228dd37938 100644 --- a/make/compiler_flags +++ b/make/compiler_flags @@ -246,6 +246,10 @@ endif ## silence warnings occuring due to the TBB and Eigen libraries CXXFLAGS_WARNINGS += -Wno-ignored-attributes +## https://github.com/oneapi-src/oneTBB/issues/307 +ifeq ($(CXX_TYPE), gcc) + CXXFLAGS_WARNINGS += -Wno-class-memaccess +endif ################################################################################ # Setup OpenCL