Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-11-30 21:03:05


Better repost with a different title to catch a bjam expert.

Lawrence Spector wrote:
> Ok, so basically I need to change the default in bjam to turn off
> wchar_t as a native type, because our project has issues with some
> legacy code which wouldn't comply otherwise. Any idea how to disable
> this in bjam? I searched through and couldn't find anything in any of
> the jam files that indicated that this setting was either on or off.
>
> Thanks again for the help,
>
> Lawrence
>
> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Robert Ramey
> Sent: Thursday, November 30, 2006 4:53 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] [Serialization] Linker
> ErrorsUsingUnicode(Was:errorC2027:useofundefinedtype'boost::serializatio
> n::extended_type_info_null<T>'?)
>
> I'm not sure that's true. What is necessary is that the switch
> setting must
> be the same as when the library is built. I presume its been built
> with
>
> bjam so its not readily apparent what the switch setting the library
> is actually built with. I'm quite sure that this is ok as vc 6.5
> tests work
> and this version of compiler only has wchar_t defined as a 16 bit
> integer.
>
> Lawrence Spector wrote:
>> Ok, I was playing with the compiler settings and figured it out.
>> Apparently, in order to use this, you *must* have wchar_t treated as
>> a built-in type setting on in VC7.1. Ah ha. Maybe there's a good
>> spot to document that.
>
> I'll stick it in.
>
>
>>
>> Thanks for the assistance,
>>
>> Lawrence
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net