Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2005-09-29 01:37:58


2005/9/28, Reece Dunn <msclrhd_at_[hidden]>:
> /Zc:wchar_t is an independant MS-specific feature that should be independant
> of <character-set> (since you could have code that uses wchar_t independant
> of the character set being used). I therefore propose that the feature (if
> accepted) is added to msvc.jam and defaults to on:
>
> # msvc.jam
>
> feature native-wide-character : on off : propagated ;
> if MSVC 7.0 and above
> {
> flags CFLAGS <native-wide-character>on : /Zc:wchar_t <toolset>msvc ;
> }
>
> ISSUES:
>
> * MSVC 8 enables /Zc:wchar_t by default.
>
> I would prefer to not have this feature, but what about (as Bojan mentions)
> the case where you use dependant (pre-built) libraries that were compiled
> without this option.
>
> - Reece

I am not familliar with MSVC 8, is there a way to turn this option off?
Your proposal sounds good to me, although the feature might be
meaningfully supported by only MSVC 7 and 7.1. I suppose that the
latter will still stick for some time after MSVC 8 is out.

--
Bojan Resnik
 

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