Skip to content

Commit 6025c33

Browse files
authored
Remove Windows g++ warnings (#1885)
* remove warnings * only use with g++
1 parent d06f5fd commit 6025c33

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

make/compiler_flags

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ endif
162162
## makes reentrant version lgamma_r available from cmath
163163
CXXFLAGS_OS += -D_REENTRANT
164164

165+
ifeq (gcc,$(CXX_TYPE))
166+
CXXFLAGS_WARNINGS += -Wno-int-in-bool-context -Wno-attributes
167+
endif
168+
165169
################################################################################
166170
# Setup OpenCL
167171
#

0 commit comments

Comments
 (0)