Boost logo

Boost :

Subject: Re: [boost] [build] Default compiler options for a toolset
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-19 10:37:33


On 11/18/2013 09:06 PM, Edward Diener wrote:
> On 11/18/2013 11:05 PM, Steven Watanabe wrote:
>> 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"
> Are "defaults" harcoded somewhere or are they in some .jam file ?

The default value is set when the feature is
declared (in builtin.jam).

> In the original command line I showed:
> "tuple.cpp" -Fo"some_long_path\tuple.obj" -TP /Z7 /Od /Ob0 /W4 /GR
> /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c

-TP is used to create a precompiled header. /Z7 comes from
debug-symbols=on, debug-store=object. /Od comes from
optimization=off. /Ob0 comes from inlining=off, /W4
comes from warnings=all. /GR comes from rtti=on. /MDd
is runtime-debugging=on, runtime-link=shared.
/Zc:forScope /Zc:wchar_t /wd4675 are added unconditionally.

(Note that setting variant=debug is equivalent to
optimization=off, debug-symbols=on, inlining=off,

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at