[xsde-users] XSD/e: Problem in building project which uses XSD/e

Haim Boot hayim at marvell.com
Sun Feb 27 08:50:56 EST 2011


Hi

I'm using XSD/e version 3.2.0 for generating XSD code for embedded VxWorks system.

In the command shell I executed:
C:\xsde-3.2.0-i686-windows\bin>xsde.exe cxx-parser --no-stl "C:\<some XSD>.xsd".

2 files were generated (cxx & hxx files).
When I try to build my project after including the hxx file (not even the link stage) I get the following errors:

C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:52: parse error before `&'
C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:54: syntax error before `&'
C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:76: invalid use of undefined type `class xsde::cxx::buffer'
C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:20: forward declaration of `class xsde::cxx::buffer'
C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:76: parse error before `)'
C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:78: syntax error before `*'
C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:86: invalid use of undefined type `class xsde::cxx::buffer'
C:/xsde-3.2.0-i686-windows/libxsde/xsde/cxx/buffer.hxx:20: forward declaration of `class xsde::cxx::buffer'


These errors are located in lines within the declaration of class buffer (which is the class that is not recognized according to the compiler).
I get similar errors in class/struct string when not using --no-stl flag.

Thanks in advance,
Haim

________________________________
Haim Boot, Marvell Israel - SW Engineer
6 Hamada Street
Mordot HaCarmel Industrial Park
Yokneam, 20692, Israel
Email: hayim at marvell.com<mailto:hayim at marvell.com>
Office:  +972.4.9091520 - OnNet: 704.1520
Fax:      +972.4.9091501
Web site: http://www.marvell.com<http://www.marvell.com/>

This message may contain confidential, proprietary or legally privileged information. The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone or by e-mail and delete the message from your computer.
________________________________



More information about the xsde-users mailing list