[xsd-users] Linker error with double types when using wchar_t
Macumber, Daniel
Daniel.Macumber at nrel.gov
Tue May 26 13:06:42 EDT 2009
Great, thank you Boris your patch worked for me!
Thanks a lot,
Dan
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Tuesday, May 26, 2009 10:09 AM
To: Macumber, Daniel
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Linker error with double types when using wchar_t
Hi Daniel,
Macumber, Daniel <Daniel.Macumber at nrel.gov> writes:
> I am having trouble with double types when using xsd cxx-tree with
> --char-type wchar_t in xsd 3.2. Specifically, the linker seems to
> be looking for and missing methods returning special characters
> related to nan, infinity, etc that have to do with doubles.
This is a bug. Thanks for reporting it and for the test case. I have
prepared a fix:
http://codesynthesis.com/~boris/tmp/xsd-3.2.0-wchar_t-literals.zip
http://codesynthesis.com/~boris/tmp/xsd-3.2.0-wchar_t-literals.tar.gz
Simply replace the files in the stock xsd-3.2.0 distribution with the
versions in one of these archives.
Boris
More information about the xsd-users
mailing list