mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Made the msvc toolset always explicitly enable or disable rtti support based on the <rtti> feature value instead of only setting it if <rtti>on and depending on it being disabled by default. The original behaviour did not work well with msvc 8.0 for which there was not way to disable rtti support as that compiler enables rtti support by default.
[SVN r43282]
This commit is contained in:
@@ -663,7 +663,11 @@ flags msvc.compile C++FLAGS <exception-handling>on/<asynch-exceptions>off/<exte
|
||||
flags msvc.compile C++FLAGS <exception-handling>on/<asynch-exceptions>on/<extern-c-nothrow>off : /EHa ;
|
||||
flags msvc.compile C++FLAGS <exception-handling>on/<asynch-exceptions>on/<extern-c-nothrow>on : /EHac ;
|
||||
|
||||
# By default 8.0 enables rtti support while prior versions disabled it. We
|
||||
# simply enable or disable it expliclty so we do not have to depend on this
|
||||
# default behaviour.
|
||||
flags msvc.compile CFLAGS <rtti>on : /GR ;
|
||||
flags msvc.compile CFLAGS <rtti>off : /GR- ;
|
||||
flags msvc.compile CFLAGS <runtime-debugging>off/<runtime-link>shared : /MD ;
|
||||
flags msvc.compile CFLAGS <runtime-debugging>on/<runtime-link>shared : /MDd ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user