2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

MSVC extra warning levels. Followup to 6611aeb (#402)

This commit is contained in:
Nikita Kniazev
2019-03-18 07:12:27 +03:00
committed by Rene Rivera
parent 1cf0b2031a
commit e22a75c8fd

View File

@@ -1771,6 +1771,8 @@ local rule register-toolset-really ( )
toolset.flags msvc.compile CFLAGS <warnings>on : /W3 ;
toolset.flags msvc.compile CFLAGS <warnings>off : /W0 ;
toolset.flags msvc.compile CFLAGS <warnings>all : /W4 ;
toolset.flags msvc.compile CFLAGS <warnings>extra : /W4 ;
toolset.flags msvc.compile CFLAGS <warnings>pedantic : /W4 ;
toolset.flags msvc.compile CFLAGS <warnings-as-errors>on : /WX ;
toolset.flags msvc.compile C++FLAGS <exception-handling>on/<asynch-exceptions>off/<extern-c-nothrow>off : /EHs ;