We're starting to build with gcc 4.4 using -Wall and tinyxmlparser.cpp gets this warning:
tinyxmlparser.cpp:357: warning: suggest parentheses around ‘&&’ within ‘||’
Operator precedence is correct here but I guess they just want you to make it explicit. I added the parentheses as suggested and the warning went away.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We're starting to build with gcc 4.4 using -Wall and tinyxmlparser.cpp gets this warning:
tinyxmlparser.cpp:357: warning: suggest parentheses around ‘&&’ within ‘||’
Operator precedence is correct here but I guess they just want you to make it explicit. I added the parentheses as suggested and the warning went away.