[Bug c++/43418] New: trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement
during make: ./prev-gcc/g++ ... -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -Icp .../gcc/cp/parser.c -o cp/parser.o error: converting false to pointer type for argument 2 of tree_node* cp_parser_expression_statement(cp_parser*, tree_node*) in gcc/cp/parser-c line 8355. " cp_parser_expression_statement (parser, false);" I guess there should be something else there in place of false, like 0? -- Summary: trunk rev157534. compile c++ with --enable-build-with- cxx fails in cp_parser_for_init_statement Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal 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=43418
[Bug c++/43418] trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement
--- Comment #2 from ailin dot nemui at gmail dot com 2010-03-18 11:37 --- works fine :) thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43418
[Bug c++/43909] New: trunk rev158780. compile with --enable-build-with-cxx fails in get_function_part_constraint
../../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