diff --git a/Jamfile b/Jamfile index 4a17e54f4..8decfb830 100755 --- a/Jamfile +++ b/Jamfile @@ -507,6 +507,9 @@ local usage-requirements = # disable some warnings for gcc gcc:-fno-strict-aliasing gcc:-Wno-missing-braces +# assert on integer overflow + gcc,debug:-ftrapv + darwin,debug:-ftrapv clang:-Wno-invalid-offsetof system:$(CXXFLAGS) system:$(LDFLAGS)