../../g++-4.5.svn/gcc/tree-ssa-structalias.c: In function 'constraint_expr get_function_part_constraint(variable_info*, unsigned int)': ../../g++-4.5.svn/gcc/tree-ssa-structalias.c:3644:29: error: enumeral and non-enumeral type in conditional expression [-Werror] cc1plus: all warnings being treated as errors
tree-ssa-structalias.c:3644: c.var = ai ? ai->id : anything_id; this is a enum constant ^^^^^^^^^^^ causing a c++ warning that is being treated as fatal. Maybe add an explicit cast to unsigned int? -- Summary: trunk rev158780. compile with --enable-build-with-cxx fails in get_function_part_constraint Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ailin dot nemui at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43909