[xsd-users] compile problem when using clang

Boris Kolpackov boris at codesynthesis.com
Mon May 9 09:21:18 EDT 2011


Hi Diggory,

Diggory Hardy <diggory.hardy at unibas.ch> writes:

> Dear xsd maintainers,
> 
> I recently had a problem compiling a program using xsd under clang.
> The offender in this case was pretty clear:
> 
> /usr/include/xsd/cxx/zc-istream.txx:35:7: error: use of undeclared
> identifier 'setg'
>       setg (b, b, e);
>       ^
> 
> Changing this line to the following solved the problem:
> 
>       std::streambuf::setg (b, b, e);

Thanks for the report. We will definitely fix this for the next release
of XSD. When XSD 3.3.0 was released Clang still couldn't compile any
serious C++ project. But we will make sure XSD works well with Clang
for the next release.

Boris



More information about the xsd-users mailing list