gcc/cp/call.c build_now_op, emits a warning for comparison of different enum types. It seems to be neither controlled by any warning option nor documented.
I don't want to fix all thoose warnings (a large amount in our code) right now, and at the same time turn on -Werror and fix other warnings. This is impossible right now. -- Summary: warning for comparison of different enum types impossible to control/is undocumented Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: patrik dot hagglund at bredband dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27975