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