[xsd-users] parser.txx undeclared identifiers in templates when compiling with LLVM 3.0 in Xcode

Boris Kolpackov boris at codesynthesis.com
Fri Oct 21 05:27:25 EDT 2011


Hi Vaughan,

Vaughan Roberts <Vaughan at Roberts.name> writes:

> The resolution is quite simple llvm requires that each name be preceded with
> 'this->'.
> 
> E.g. _attribute_impl needs to be changed to this->_attribute_impl
> 
> Apparently llvm is a bit more fussy than gcc on this issue, but once that is
> done the compiler is happy.

Yes, clang follows the standard often to the point of being annoying.

For the next release of XSD we are planning to make sure everything
compiles with clang without any problems. Thanks for reporting this!

Boris



More information about the xsd-users mailing list