From c01faf6356a2e45777dec2fc8aa9e132772bff15 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 22 Oct 2022 19:05:18 +0100 Subject: Move -Wold-style-cast to gcc only list, clang triggers in some SDL headers --- Jamroot.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jamroot.jam b/Jamroot.jam index e0f094a..949a778 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -89,7 +89,6 @@ lib ilt : debug:pedantic debug:on debug:-Wnon-virtual-dtor - debug:-Wold-style-cast debug:-Wcast-align debug:-Wunused debug:-Woverloaded-virtual @@ -99,6 +98,7 @@ lib ilt : debug:-Wnull-dereference debug:-Wdouble-promotion debug:-Wformat=2 + gcc,debug:-Wold-style-cast gcc,debug:-Wduplicated-cond gcc,debug:-Wduplicated-branches gcc,debug:-Wlogical-op -- cgit v1.2.3