[xsd-users] XSD Forward Declaration Bug

Chalk, Andrew J andrew.j.chalk at lmco.com
Wed Jan 18 19:28:13 EST 2017


XSD 4.0.0. for Linux appears to have a bug in the C++ it generates. It creates incomplete types to provide declarations of classes. The problem is, it does this when the class is used in the translation unit in the definition of a derived class. I.e.

Class A;

class B : public A
{
// content
};

Since the size of incomplete type A is unknown, the compilation fails.

Can you replicate this?

Thks,


-          A




More information about the xsd-users mailing list