This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43418] New: trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement
- From: "ailin dot nemui at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2010 10:30:17 -0000
- Subject: [Bug c++/43418] New: trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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