Skip to content

Commit

Permalink
silent unknown warning for clang toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Feb 6, 2024
1 parent 5314f95 commit ffa825d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if is_plat("windows") then
add_cxflags("/wd4275", {tools = "cl"}) -- DLL-interface class 'class_1' used as base for DLL-interface blah
else
-- GCC-compatible (GCC, Clang, ...)
add_cxflags("-Wtrampolines")
add_cxflags("-Wtrampolines", {tools = "gcc"})
add_cxflags("-Werror=inconsistent-missing-override", {tools = "clang"})
add_cxflags("-Werror=reorder")
add_cxflags("-Werror=suggest-override", {tools = "gcc"})
Expand Down

0 comments on commit ffa825d

Please sign in to comment.