Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d99f263

Browse files
authoredMay 22, 2024··
Merge pull request #3074 from stan-dev/silence-Wclass-memaccess
Silence -Wclass-memaccess from TBB
2 parents 8e76f01 + 4a88b9a commit d99f263

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎make/compiler_flags

+4
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ endif
246246

247247
## silence warnings occuring due to the TBB and Eigen libraries
248248
CXXFLAGS_WARNINGS += -Wno-ignored-attributes
249+
## https://github.com/oneapi-src/oneTBB/issues/307
250+
ifeq ($(CXX_TYPE), gcc)
251+
CXXFLAGS_WARNINGS += -Wno-class-memaccess
252+
endif
249253

250254
################################################################################
251255
# Setup OpenCL

0 commit comments

Comments
 (0)
Please sign in to comment.