summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-06-01 13:58:36 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-06-01 13:58:36 +0100
commit8c0c63eb0da8be6e3ad827ab5fae7bae01f95b92 (patch)
tree00e234146e76d34c4b1a851dd1219cf3b8c37cd0 /Jamroot.jam
parentMerge remote-tracking branch 'origin/terrain-surfaces' (diff)
downloadilt-8c0c63eb0da8be6e3ad827ab5fae7bae01f95b92.tar.bz2
ilt-8c0c63eb0da8be6e3ad827ab5fae7bae01f95b92.tar.xz
ilt-8c0c63eb0da8be6e3ad827ab5fae7bae01f95b92.zip
Fix setting of pedantic warnings
Disable for Clang, because annoyingly to treats preprocessor line numbers as a GNU extension and thus falls over when used with DistCC.
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 712ad63..2c900ae 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -71,13 +71,13 @@ lib ilt :
:
<define>GLM_FORCE_SWIZZLE
<define>GLM_ENABLE_EXPERIMENTAL
- <variant>debug:<warnings>pedantic
+ <toolset>gcc,<variant>debug:<warnings>pedantic
+ <toolset>clang,<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
<variant>debug:<cflags>-Wnon-virtual-dtor
<variant>debug:<cflags>-Wcast-align
<variant>debug:<cflags>-Wunused
<variant>debug:<cflags>-Woverloaded-virtual
- <variant>debug:<cflags>-Wpedantic
<variant>debug:<cflags>-Wconversion
<variant>debug:<cflags>-Wsign-conversion
<variant>debug:<cflags>-Wnull-dereference