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

Reply via email to