summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-22 19:05:18 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-22 19:05:18 +0100
commitc01faf6356a2e45777dec2fc8aa9e132772bff15 (patch)
treeb660d854af7437a05c06322a2385039a65316e6d
parentAdd magic support to printing/parsing/validating enumerations (diff)
downloadilt-c01faf6356a2e45777dec2fc8aa9e132772bff15.tar.bz2
ilt-c01faf6356a2e45777dec2fc8aa9e132772bff15.tar.xz
ilt-c01faf6356a2e45777dec2fc8aa9e132772bff15.zip
Move -Wold-style-cast to gcc only list, clang triggers in some SDL headers
-rw-r--r--Jamroot.jam2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index e0f094a..949a778 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -89,7 +89,6 @@ lib ilt :
<variant>debug:<warnings>pedantic
<variant>debug:<warnings-as-errors>on
<variant>debug:<cflags>-Wnon-virtual-dtor
- <variant>debug:<cflags>-Wold-style-cast
<variant>debug:<cflags>-Wcast-align
<variant>debug:<cflags>-Wunused
<variant>debug:<cflags>-Woverloaded-virtual
@@ -99,6 +98,7 @@ lib ilt :
<variant>debug:<cflags>-Wnull-dereference
<variant>debug:<cflags>-Wdouble-promotion
<variant>debug:<cflags>-Wformat=2
+ <toolset>gcc,<variant>debug:<cflags>-Wold-style-cast
<toolset>gcc,<variant>debug:<cflags>-Wduplicated-cond
<toolset>gcc,<variant>debug:<cflags>-Wduplicated-branches
<toolset>gcc,<variant>debug:<cflags>-Wlogical-op