Skip to content

Commit

Permalink
Merge pull request #3074 from stan-dev/silence-Wclass-memaccess
Browse files Browse the repository at this point in the history
Silence -Wclass-memaccess from TBB
  • Loading branch information
andrjohns authored May 22, 2024
2 parents 8e76f01 + 4a88b9a commit d99f263
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions make/compiler_flags
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d99f263

Please sign in to comment.