There's a line in tinyxmlparser.cpp:356 that contains an ambiguous comparison that is reported by GCC 4.3. I think that this line actually contains a bug. I suggest changing the line from:
while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' )
while ( *p && (IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' ))
I looks like the intent is to check for non-0 *p and that *p is whitespace or a newline.
Log in to post a comment.