--- msvc.jam.orig 2007-05-11 01:05:12.000000000 +0800 +++ msvc.jam.new 2007-07-25 13:50:43.812500000 +0800 @@ -432,6 +432,10 @@ flags $(toolset).compile CFLAGS $(condition)/off : /wd4996 ; # 64-bit compatibility warning flags $(toolset).compile CFLAGS $(condition)/all : /Wp64 ; + # classes with dll-interface warning, always disabled + flags $(toolset).compile CFLAGS $(condition) : /wd4251 /wd4275 ; + # character code page mismatch warning, this will happen to East-Asia language + flags $(toolset).compile CFLAGS $(condition) : /wd4819 ; } # @@ -456,6 +460,9 @@ # "math" tests will fail. flags $(toolset).compile CFLAGS $(condition) : /Op ; + # 8.0 has bad c++ standard extension which will throw many warnings + flags $(toolset).compile CFLAGS $(condition) : /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS ; + # 7.1 and below have single-threaded static RTL flags $(toolset).compile CFLAGS $(condition)/off/static/single : /ML ; flags $(toolset).compile CFLAGS $(condition)/on/static/single : /MLd ;