summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2022-02-15 17:34:51 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2022-02-15 17:34:51 +0000
commit4ac149951b2020b4a6dafb0455d3f523e7c9cfe6 (patch)
tree698d4471463b68bc16ce2f291a0eaab86bcb5e13 /Jamroot.jam
parentBump to C++20 for compat with other libs (diff)
downloadnetfs-gitfs-4ac149951b2020b4a6dafb0455d3f523e7c9cfe6.tar.bz2
netfs-gitfs-4ac149951b2020b4a6dafb0455d3f523e7c9cfe6.tar.xz
netfs-gitfs-4ac149951b2020b4a6dafb0455d3f523e7c9cfe6.zip
Fix up all warnings from all the toolsnetfs-gitfs-0.2.2
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam20
1 files changed, 20 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index cfb1fe7..406c095 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -13,8 +13,25 @@ project
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
<variant>coverage:<coverage>on
+ <variant>debug:<cflags>-Wnon-virtual-dtor
+ <variant>debug:<cflags>-Wold-style-cast
+ <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
+ <variant>debug:<cflags>-Wdouble-promotion
+ <variant>debug:<cflags>-Wformat=2
+ <toolset>gcc,<variant>debug:<cflags>-Wduplicated-cond
+ <toolset>gcc,<variant>debug:<cflags>-Wduplicated-branches
+ <toolset>gcc,<variant>debug:<cflags>-Wlogical-op
+ <toolset>gcc,<variant>debug:<cflags>-Wuseless-cast
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*
+ <toolset>tidy:<xcheckxx>bugprone-easily-swappable-parameters
+ <toolset>tidy:<xcheckxx>bugprone-implicit-widening-of-multiplication-result
<toolset>tidy:<checkxx>clang-*
<toolset>tidy:<checkxx>misc-*
<toolset>tidy:<checkxx>modernize-*
@@ -24,6 +41,9 @@ project
<toolset>tidy:<xcheckxx>hicpp-signed-bitwise
<toolset>tidy:<xcheckxx>hicpp-named-parameter
<toolset>tidy:<checkxx>performance-*
+ <toolset>tidy:<mapping>iwyu.json
+ <toolset>tidy:<librarydef>boost
+ <toolset>tidy:<librarydef>std
;
lib adhocutil : : : : <include>/usr/include/adhocutil ;