[xsd-users] RE: Problem during compilation of generated files
De, Pradipta
pde at seic.com
Fri Oct 21 09:07:56 EDT 2005
Hi Boris,
I go through the code of element.hxx and I found the patch you put is
the following:
// For Sun C++ 5.6.
//
struct dom_info_factory;
friend struct type::dom_info_factory;
But, dom_info_factory is part of class type and dom_info and
dom_info_element are also part of same class, so why we require to put
friend there.
The error was coming for dom_info and dom_info_element in case of
create (of element). But, for another create (of attribute) it was
working fine. Although, both dom_element_info and dom_attribute_info
were in the same scope.
I will appreciate if you can put some light on those things.
Thanks and Regards,
Pradipta De
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Friday, October 21, 2005 2:53 AM
To: De, Pradipta
Cc: xsd-users at codesynthesis.com
Subject: Re: Problem during compilation of generated files
Pradipta,
De, Pradipta <pde at seic.com> writes:
> Thanks a lot for your time. We downloaded the xsd version 1.5 from the
> site and successfully able to generate the code for tree
implementation
> in Solaris.
Cool. I guess it's a lot better than generating on Windows and copying
to Solaris. ;-)
> But, unfortunately when we tried to compile those codes along with the
> driver code, we again face some problem that I am not able to trace.
The
> error is as follows:
I am attaching new libxsd/xsd/cxx/tree/elements.hxx. Can you replace the
old one with this and give it a try?
hth,
-boris
More information about the xsd-users
mailing list