[xsd-users] compiling on Linux fails with name-lookup errors
Ovanes Markarian
om_codesynthesis at keywallet.com
Tue Jun 25 10:35:50 EDT 2013
Hi *,
just trying to compile my code on Linux with gcc 4.8.1. Installed XSD 3.3.0
using the apt-get and I get tons of ADL errors.
In file included from
/usr/include/xsd/cxx/parser/validating/parser.hxx:469:0,
from /home/.../code/xml/files.index-pskel.hxx:75,
from /home/.../xml/files.index-pskel.cxx:39:
/usr/include/xsd/cxx/parser/validating/parser.txx: In instantiation of
'void xsd::cxx::parser::validating::simple_content<C>::_characters(const
xsd::cxx::ro_string<C>&) [with C = char]':
/home/.../xml/files.index-pskel.cxx:1854:46: required from here
/usr/include/xsd/cxx/parser/validating/parser.txx:229:37: error:
'_characters_impl' was not declared in this scope, and no declarations were
found by argument-dependent lookup at the point of instantiation
[-fpermissive]
if (!_characters_impl (str))
^
/usr/include/xsd/cxx/parser/validating/parser.txx:229:37: note:
declarations in dependent base
'xsd::cxx::parser::validating::empty_content<char>' are not found by
unqualified lookup
/usr/include/xsd/cxx/parser/validating/parser.txx:229:37: note: use
'this->_characters_impl' instead
/usr/include/xsd/cxx/parser/validating/parser.txx:248:44: error:
'_unexpected_characters' was not declared in this scope, and no
declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
_unexpected_characters (str);
^
/usr/include/xsd/cxx/parser/validating/parser.txx:248:44: note:
declarations in dependent base
'xsd::cxx::parser::validating::empty_content<char>' are not found by
unqualified lookup
/usr/include/xsd/cxx/parser/validating/parser.txx:248:44: note: use
'this->_unexpected_characters' instead
/usr/include/xsd/cxx/parser/validating/parser.txx: In instantiation of
'void
xsd::cxx::parser::validating::complex_content<C>::_start_element(const
xsd::cxx::ro_string<C>&, const xsd::cxx::ro_string<C>&, const
xsd::cxx::ro_string<C>*) [with C = char]':
/home/.../xml/files.index-pskel.cxx:2452:1: required from here
/usr/include/xsd/cxx/parser/validating/parser.txx:325:49: error:
'_start_any_element' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
_start_any_element (ns, name, type);
^
/usr/include/xsd/cxx/parser/validating/parser.txx:325:49: note:
declarations in dependent base
'xsd::cxx::parser::validating::empty_content<char>' are not found by
unqualified lookup
I saw that post:
http://codesynthesis.com/pipermail/xsd-users/2012-August/003737.html
But my question is, if I can smth to avoid upgrading to this version? The
major blocking issue is that I don't like the idea of regenerating
skeletons etc, as I get the version mismatch error when just updating to
the new version.
Many thanks,
Ovanes
More information about the xsd-users
mailing list