[xsd-users] xsd:list of type xsd:integer problem

Boris Kolpackov boris at codesynthesis.com
Wed May 28 04:25:19 EDT 2014


Hi Kevin,

Kevin Nesmith <knesmith at si2.org> writes:

> /usr/include/xsd/cxx/tree/parsing.txx:302:13: error: 'push_back' was
> not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation
>
> /usr/include/xsd/cxx/tree/parsing.txx:312:13: error: 'push_back' was
> not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation

This is a known problem with newer C++ compilers (GCC, Clang) that has
been fixed for the next release (out soon). The fix is to qualify
these calls to push_back() with 'this->'. There is a patch that fixes
all these issues in the vanilla 3.3.0 distribution:

http://codesynthesis.com/~boris/tmp/xsd/xsd-3.3.0-gcc-4.7-clang.patch

Chances are, however, that the Fedora package already has some
of those fixes applied, in which case it would probably be
easier to just add 'this->' in those two places manually.

Boris



More information about the xsd-users mailing list