mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 04:24:37 +03:00
Only use -Wbool-operation when compiling with GCC 7+
This commit is contained in:
@@ -53,7 +53,9 @@
|
||||
// [GCC]
|
||||
#if ASMJIT_CC_GCC
|
||||
# pragma GCC diagnostic push
|
||||
# if ASMJIT_CC_GCC_GE(7, 0, 0)
|
||||
# pragma GCC diagnostic ignored "-Wbool-operation"
|
||||
# endif
|
||||
# if ASMJIT_CC_GCC_GE(8, 0, 0)
|
||||
# pragma GCC diagnostic ignored "-Wclass-memaccess"
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user