summaryrefslogtreecommitdiff
path: root/test
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 /test
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 'test')
-rw-r--r--test/Jamfile.jam4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Jamfile.jam b/test/Jamfile.jam
index cce4513..f021d85 100644
--- a/test/Jamfile.jam
+++ b/test/Jamfile.jam
@@ -13,13 +13,13 @@ project : requirements
<define>RESDIR=\\\"$(res)/\\\"
<define>FIXTURESDIR=\\\"$(fixtures)/\\\"
<define>GLM_FORCE_SWIZZLE
- <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