[xsd-users] Warning 6005

Boris Kolpackov boris at codesynthesis.com
Thu Feb 14 08:36:27 EST 2008


Hi Uri,

Uri Karagila <uri at hyperroll.com> writes:

> Warning 6005: Exact position unknown; near
> ["/usr/include/sys/_inttypes.h", line 86]. # [line 0
> xsd::cxx::tree::_type::_clone(xsd::cxx::tree::flags,xsd::cxx::tree::_typ
> e *) const] Infinite loop detected. Check for spinning on non-volatile
> variable. (6005)

This appears to be a compiler bug. At least we don't get it with aCC
A.03.77.

> The warning has no relation to the /usr/include/sys/_inttypes.h file,
> actually. I suppose, it's because of _clone() function in
> libxsd/xsd/cxx/tree/elements.hxx file, line 322.

I don't see anything in line 322 that could possibly cause this.
On the other hand, line 299 could be it. Can you try to comment
the while loop on this line and let me know if the warning goes
away?

Thanks,
Boris




More information about the xsd-users mailing list