summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-23 20:06:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-23 20:06:30 +0100
commit74984c2a06514ec5eef835070adc3f9fd8c18012 (patch)
treefd89989f314e7d84814268d341455b8756ec294b /Jamroot.jam
parentAdd -Wpedantic (diff)
downloadslicer-74984c2a06514ec5eef835070adc3f9fd8c18012.tar.bz2
slicer-74984c2a06514ec5eef835070adc3f9fd8c18012.tar.xz
slicer-74984c2a06514ec5eef835070adc3f9fd8c18012.zip
Add -Wconversion and -Wsign-conversion
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 8e63adb..b1dc307 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -23,6 +23,8 @@ project
<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
<variant>debug:<cflags>-Wdouble-promotion
<variant>debug:<cflags>-Wformat=2