Skip to content

Commit 4a88b9a

Browse files
committed
Warning is gcc only
1 parent 22c9472 commit 4a88b9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

make/compiler_flags

+3-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ endif
247247
## silence warnings occuring due to the TBB and Eigen libraries
248248
CXXFLAGS_WARNINGS += -Wno-ignored-attributes
249249
## https://github.com/oneapi-src/oneTBB/issues/307
250-
CXXFLAGS_WARNINGS += -Wno-class-memaccess
250+
ifeq ($(CXX_TYPE), gcc)
251+
CXXFLAGS_WARNINGS += -Wno-class-memaccess
252+
endif
251253

252254
################################################################################
253255
# Setup OpenCL

0 commit comments

Comments
 (0)