[xsd-users] Compilation issues

Olivier Tournaire olitour at gmail.com
Fri Mar 22 04:41:24 EDT 2013


Hi,

Just to inform you that I faced a few compilation issues with cxx-tree. I
am on xubuntu 12.10, g++ 4.7.2, xsd 3.3.0 x86. When compiling citygml
generated code, I got the following errors:

   - /usr/include/xsd/cxx/zc-istream.txx:35:7: erreur: ‘setg’ was not
   declared in this scope, and no declarations were found by
   argument-dependent lookup at the point of instantiation [-fpermissive]
   - /usr/include/xsd/cxx/tree/parsing.txx:302:13: erreur: ‘push_back’ was
   not declared in this scope, and no declarations were found by
   argument-dependent lookup at the point of instantiation [-fpermissive]
   - /usr/include/xsd/cxx/tree/parsing.txx:312:13: erreur: ‘push_back’ was
   not declared in this scope, and no declarations were found by
   argument-dependent lookup at the point of instantiation [-fpermissive]

For each error, the following "note" appears:

   - note: declarations in dependent base ‘std::vector<bool,
   std::allocator<bool> >’ are not found by unqualified lookup

Errors are easily fixed by adding "this->" when calling push_back or setg.


Regards,

Olivier


More information about the xsd-users mailing list