summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:42:56 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:42:56 +0100
commit880374543904a69efb10df6c6964db1cf8085267 (patch)
treeaaa7443891674e8f203d74c19bfc896487a43cdf
parentAdd -Wnull-dereference (diff)
downloadmygrate-880374543904a69efb10df6c6964db1cf8085267.tar.bz2
mygrate-880374543904a69efb10df6c6964db1cf8085267.tar.xz
mygrate-880374543904a69efb10df6c6964db1cf8085267.zip
Add -Wformat=2
-rw-r--r--Jamroot.jam1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 9fad289..c754e77 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -28,6 +28,7 @@ project : requirements
<variant>debug:<cflags>-Wsign-conversion
<variant>debug:<cflags>-Wnull-dereference
<variant>debug:<cflags>-Wdouble-promotion
+ <variant>debug:<cflags>-Wformat=2
<variant>coverage:<coverage>on
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*