From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-22 07:07:23
John Maddock wrote:
> Is there any reason for including the <wide-character-support> option in
> the Borland toolset: this is set to on by default in features jam, and then
> selectively turned off for <borland>, this means that if I inherit a
> toolset from borland-tools.jam (I want multiple toolsets to test different
> Borland versions) then it gets turned on again in the inherited toolset and
> nothing compiles anymore.
> BTW this option should *not* be turned on by default - the effect of -WU is
> to make the linker look for a Unicode entrypoint:
> int wmain(int argc, wchar_t** argv);
> and since no boost code uses such an entry point this is obviously a
> mistake. Also since only borland-tools.jam provides this option, I think
> we can just remove all reference to it (or at the very least rename it to
> something more suitable and turn it off by default in features.jam).
I think it would be better to make if off by default. I'm not sure about
removing this. E.g. unicode support was requested from my program_options
library, and to test it I'd need "wmain" as shown above.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk