From e273a770ecd7917f29f013904d3c4b8201af307c Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 22 Apr 2020 00:52:33 +0800 Subject: improve xmake.lua --- core/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/xmake.lua b/core/xmake.lua index e8625612e..10f658cd4 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -17,7 +17,7 @@ set_languages("c99", "cxx11") add_rules("mode.release", "mode.debug") -- disable some compiler errors -add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing", "-Wno-error=nullability-completeness") +add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing", "-Wno-error=nullability-completeness", "-Wno-error=parentheses-equality") -- add defines add_defines("_GNU_SOURCE=1", "_FILE_OFFSET_BITS=64", "_LARGEFILE_SOURCE") -- cgit v1.3.1