[xsde-users] Compiling xsd/e generated code with gcc 5.4 --std=C++11

Boris Kolpackov boris at codesynthesis.com
Mon Sep 24 23:33:14 EDT 2018

mortimer at vollbio.de <mortimer at vollbio.de> writes:

> /home/markus/xsde-3.2.0-i686-linux-gnu/libxsde/xsde/cxx/parser/state.hxx:22:14:
> note: ‘xsde::cxx::parser::parser_stack::parser_stack(xsde::cxx::parser::parser_stack&&)’
> is implicitly deleted because the default definition would be ill-formed:
>        struct parser_stack
> /home/markus/xsde-3.2.0-i686-linux-gnu/libxsde/xsde/cxx/stack.hxx:34:7:
> error: ‘xsde::cxx::stack::stack(xsde::cxx::stack&)’ is private
>        stack (stack&);
> /home/markus/xsde-3.2.0-i686-linux-gnu/libxsde/xsde/cxx/parser/state.hxx:22:14:
> error: invalid initialization of non-const reference of type
> ‘xsde::cxx::stack&’ from an rvalue of type ‘xsde::cxx::stack’

This is strange. Is there more context to this error? That is, where
was this definition needed?

Also, if you are interested, you can try the latest available pre-release:


More information about the xsde-users mailing list