Boost logo

Boost :

Subject: Re: [boost] [build] Default compiler options for a toolset
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-18 23:05:20


AMDG

On 11/18/2013 07:48 PM, Edward Diener wrote:
>
> There are 4 lines of C++FLAGS
>
> toolset.flags msvc.compile C++FLAGS
> <exception-handling>on/<asynch-exceptions>off/<extern-c-nothrow>off :
> /EHs ;
> toolset.flags msvc.compile C++FLAGS
> <exception-handling>on/<asynch-exceptions>off/<extern-c-nothrow>on :
> /EHsc ;
> toolset.flags msvc.compile C++FLAGS
> <exception-handling>on/<asynch-exceptions>on/<extern-c-nothrow>off : /EHa ;
> toolset.flags msvc.compile C++FLAGS
> <exception-handling>on/<asynch-exceptions>on/<extern-c-nothrow>on : /EHac ;
>
> How is a particular one chosen ?
>

Look at the properties. If you compile with
async-exceptions=on extern-c-nothrow=on, you'll
get /EHac, for instance. The default for
both is "off"

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk