Im build som software using boost 1.48 on osx 10.8 with gcc version gcc 4.2.1, and I started getting warnings -Wparentheses-equalityfor some promotion source.
equality comparison with extraneous parentheses
[-Werror,-Wparentheses-equality]
else if((state->type == syntax_element_long_set_rep))
I would change the code, but I do not want to bother with the library, how would I turn off the warning and force the compiler to continue?
source
share