[xsd-users] Issue with includes

JayDee jerome.dumesnil at gmail.com
Tue Jan 23 17:11:26 EST 2007


2007/1/23, Boris Kolpackov <boris at codesynthesis.com>:
>
> Hi Jérôme,
>
> Jérôme Dumesnil <jerome.dumesnil at gmail.com> writes:
>
> > I used  CodeSynthesis xsd program version 2.3.0 and x3d's xsd files
> version
> > 3.0.0
> > I (hardly) found the version 3.1.0 for x3d's xsd files but not the
> versions
> > 3.2.0 or 3.2.1.b2.
>
> I meant XSD 2.3.0 or 2.3.1.b2, not X3D 3.2.0 or 3.2.1.b2.


OK

> The version 3.1.0 does the same errors I mentionned before when I compil
> > with gcc.
>
> Here is my modified version of X3D 3.0 schemas:
>
> http://codesynthesis.com/~boris/tmp/x3d-3.0-mod.tar.gz


I tried to compil your shemas with XSD 2.3.0, and I get the sames errors
with gcc :
x3d-3.0-Web3dExtensionsPublic.h:277: erreur: 'IS' in namespace '::' does not
name a type
x3d-3.0-Web3dExtensionsPublic.h:278: erreur: 'type' was not declared in this
scope
x3d-3.0-Web3dExtensionsPublic.h:278: erreur: patron de l'argument 1 est
invalide
x3d-3.0-Web3dExtensionsPublic.h:279: erreur: 'type' was not declared in this
scope
x3d-3.0-Web3dExtensionsPublic.h:279: erreur: patron de l'argument 1 est
invalide
x3d-3.0-Web3dExtensionsPublic.h:279: erreur: patron de l'argument 2 est
invalide
x3d-3.0-Web3dExtensionsPublic.h:289: erreur: expected unqualified-id before
'&' token
x3d-3.0-Web3dExtensionsPublic.h:289: erreur: expected ',' or '...' before
'&' token
x3d-3.0-Web3dExtensionsPublic.h:289: erreur: ISO C++ forbids declaration of
'parameter' with no type
x3d-3.0-Web3dExtensionsPublic.h:295: erreur: 'type' is not a member of
'XvlShell::IS'

Can you also download XSD 2.3.1 (released today) and try to compile the
> above schemas?


The three cpp files compils without any problems with XSD 2.3.1.
Thank you for your help !!!

BTW, you are using gcc 4.1.1, right?


Yes



More information about the xsd-users mailing list