diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-01 13:58:36 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-01 13:58:36 +0100 |
commit | 8c0c63eb0da8be6e3ad827ab5fae7bae01f95b92 (patch) | |
tree | 00e234146e76d34c4b1a851dd1219cf3b8c37cd0 /Jamroot.jam | |
parent | Merge remote-tracking branch 'origin/terrain-surfaces' (diff) | |
download | ilt-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.jam | 4 |
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 |