summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-09-01 20:48:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-09-01 20:48:35 +0100
commit47018cda0cfc0fc04abe7617066119fc5cfb9a13 (patch)
tree69451ae969860ec3944c8538f80fb61d60da3b58
parentDisable unused-const-variable for clang building libicetypes test library (diff)
downloadslicer-47018cda0cfc0fc04abe7617066119fc5cfb9a13.tar.bz2
slicer-47018cda0cfc0fc04abe7617066119fc5cfb9a13.tar.xz
slicer-47018cda0cfc0fc04abe7617066119fc5cfb9a13.zip
Pedantic only with GCC
Clang complains about GNU line number with precompiled source
-rw-r--r--Jamroot.jam2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index a8c4244..0466993 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -22,7 +22,7 @@ project
<variant>debug:<cflags>-Wcast-align
<variant>debug:<cflags>-Wunused
<variant>debug:<cflags>-Woverloaded-virtual
- <variant>debug:<cflags>-Wpedantic
+ <toolset>gcc,<variant>debug:<cflags>-Wpedantic
<variant>debug:<cflags>-Wconversion
<variant>debug:<cflags>-Wsign-conversion
<variant>debug:<cflags>-Wnull-dereference