xmlbeansxx
xmlbeansxx copied to clipboard
examples do not compile: expected unqualified-id before ‘-’ token
File c.xsd
defines types car-type
and content-type
. This produces code in c.h
:
class car-type;
class content-type;
which fails to compile:
make[4]: Entering directory `/tmp/xmlbeansxx/examples/small'
...
In file included from create.cpp:1:0:
c.h:12:10: error: expected unqualified-id before ‘-’ token
c.h:14:14: error: expected unqualified-id before ‘-’ token
because -
is not a valid character in C/C++ identifier.
Pozwolę sobie odpowiedzieć po polsku - tak leniwy jestem ;) niestety już dawno nikt tu nie zaglądał... domyślam się, że błąd spowodowany jest starymi xmlbeans'ami Adamie zrób tak, spróbuj tego brancha: https://github.com/stawel/xmlbeansxx jeśli nie zadziała to się nad problemem jeszcze raz zastanowimy.
Pozdrawiam Paweł
ps: if you don't speak polish, please let me know
Tak, https://github.com/stawel/xmlbeansxx buduje się poprawnie. Dzięki.