Re: [Boost-users] [Serialization] Linker ErrorsUsingUnicode(Was:errorC2027:useofundefinedtype'boost::serialization::extended_type_info_null<T>'?)
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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Robert Ramey Sent: Thursday, November 30, 2006 4:53 PM To: boost-users@lists.boost.org 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Robert Ramey Sent: Thursday, November 30, 2006 4:53 PM To: boost-users@lists.boost.org 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
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.
bjam -sBUILD="
participants (3)
-
John Maddock
-
Lawrence Spector
-
Robert Ramey