[xsd-users] compile problem when using clang

Diggory Hardy diggory.hardy at unibas.ch
Thu May 5 08:44:05 EDT 2011


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);

Many thanks,

Diggory Hardy
Swiss Tropical and Public Health Institute
Socinstrasse 57
CH-4051 Basel

P.S. please CC correspondance; I am not a member of the mailing list.



More information about the xsd-users mailing list