My project links with XalanC. When I compile it, I get warnings like "warning: suggest parentheses around && within ||". The source of those warnings is in XalanC. It is a bit problematic, because I want to have my build as clean as possible, so I use flags "-Wall -Werror -pedantic". In this case compiler produces errors instead of warnings which breaks my build.
I tried to fix all occurrences of the warning. Now whole XalanC project should compile with the flags mentioned above (also tests and samples).