[xsd-users] Re: description of the bug while running library example of the" w3c xml constructs to the c++" software

Boris Kolpackov boris at codesynthesis.com
Fri Dec 30 08:25:28 EST 2005


Hi,

Mohit.Hasija at relianceinfo.com <Mohit.Hasija at relianceinfo.com> writes:

> -->also the makefile which has been provided in every folder does not work.
>      it gives an 'unexpected end of line seen" error. at line no.2

Provided makefiles are for GNU make while you are probably using Sun make.
I guess we need to mention that in the README.

> bash-2.05$ /opt/sunstd11/SUNWspro/bin/CC -V
> CC: Sun C++ 5.8 2005/10/13
> bash-2.05$ /opt/sunstd11/SUNWspro/bin/CC -I../../../../libxsd *.cxx
> driver.cxx:
> hello.cxx:
> "hello.cxx", line 114: Error: Formal argument x of type const
> xsd::cxx::tree::string_template<char>& in call to
> std::vector<xsd::cxx::tree::string_template<char> >::push_back(const
> xsd::cxx::tree::string_template<char>&) is being passed
> std::auto_ptr<xsd::cxx::tree::string_template<char>>.

Hm, that's mysterious. We use the same version of xsd and the same
compiler. Which version of Xerces-C++ are you using (I assume it is
installed into /usr or /usr/local since you did not specify any
corresponding -I options)?

Can you do the following for me:

1. Generate pre-processed source code for hello.cxx:

$ /opt/sunstd11/SUNWspro/bin/CC -I../../../../libxsd -E hello.cxx >hello.i

2. Compress hello.i and send it to me directly (not to the list).


thanks,
-boris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20051230/799dec8d/attachment.pgp


More information about the xsd-users mailing list