Boost logo

Boost-Build :

From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-09-15 13:14:47


Andrey Melnikov wrote:
> feature win32-charset : unicode ansi : composite link-incompatible ;
> feature stdlib-tchar : char wchar_t char-mbcs : composite
> link-incompatible ;
>
> feature.compose <win32-charset>unicode : <define>UNICODE ;
> feature.compose <stdlib-tchar>char : <define>_MBCS ;
> feature.compose <stdlib-tchar>wchar_t : <define>_UNICODE ;
>
> It looks like MBCS without the initial underscore isn't used at all.
>
> This defines 6 possible configurations:
>
> unicode/char
> unicode/wchar_t
> unicode/char-mbcs
> ansi/char
> ansi/wchar_t
> ansi/char-mbcs
>
> I think they are all valid.

There is a good article about the difference between UNICODE and _UNICODE:

http://blogs.msdn.com/oldnewthing/archive/2004/02/12/71851.aspx

Best regards/Venlig hilsen,
Alexey Pakhunov.

 


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