[xsd-users] XSD 3.3.0 Example Problems
Bidski
bidski at bigpond.net.au
Sun Jun 20 21:32:49 EDT 2010
Hello all,
I was running throught XSDs examples today, compiling and running them to make sure everything is working, when I got some interesting errors trying to build the tree/custom/comments example.
I received these errors
$ make
../../../../../bin/xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd
../../../../../bin/xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue '#include "xml-schema-custom.hxx"' xml-schema.xsd
g++ -I../../../../../libxsd -W -Wall -O3 -c driver.cxx -o driver.o
In file included from people.hxx:58:0, from driver.cxx:12:
xml-schema.hxx:102:11: error: 'C' does not name a type
xml-schema.hxx:103:42: error: 'type' was not declared in this scope
xml-schema.hxx:103:47: error: template argument 1 is invalid
xml-schema.hxx:103:60: error: invalid type in declaration before ';' token
xml-schema.hxx:158:50: error: 'type' was not declared in this scope
xml-schema.hxx:158:55: error: template argument 3 is invalid
xml-schema.hxx:158:62: error: invalid type in declaration before ';' token
Having a look at the lines in the, I found the following
line 102: typedef C:/msys/1.0 type;
The other errors are based on that one.
I downloaded a fresh copy of the files just to make sure they are clean, but the error is persistant.
Why is that path showing up in this file?
Regards
Bidski
More information about the xsd-users
mailing list