Re: xpcomglue_s_nomozalloc.lib compiled with wchar_t as builtin type

ola oli <[email protected]> Mon, 22 Aug 2011 19:15:05 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <[email protected]>
On Aug 22, 4:52 pm, Jacek Caban <[email protected]> wrote:
> On 08/22/11 08:27, ola oli wrote:
>
>
>
>
>
>
>
>
>
> > Hi,
>
> > I am trying to compile my addons with the latest xulrunner 7.0 and
> > encountering linker errors.
> > I just check the the xpcomglue_s_nomozalloc.lib file for sdk/
> > xulrunner-7.0a2.en-US.win32. I can see that its built with a different
> > configuration than version 6.0.
>
> > In version 6.0 library
> > definition           :BeginReading@nsAString@@QBEPBGXZ    ("/
> > Zc:wchar_t-")
> > Whereas in  version 7.0 definition
> > is  :BeginReading@nsAString@@QBEPB_WXZ
>
> > I am pretty sure that this means that in 7.0, it was built with
> > builtin wchar_t (WXZ)  whereas the version 6.0 it is built with no
> > builtin wchar_t(GXZ).
>
> > Is this intentional? Any reason for this?
>
> Yes, it was intentional (although import library mismatch is a side
> effect), see bug 508905.
>
> Jacek

ok. thanks for the info.
Now need to modify my codes :(