Re: Trivial patch to fix build with --enable-build-with-cxx

2011-05-02 Thread Eric Botcazou
> 2011-05-02 Dmitry Gorbachev > > * parser.c (cp_parser_init_declarator): Replace false by NULL. I've installed the attached patch as obvious. 2011-05-02 Dmitry Gorbachev Eric Botcazou * parser.c (cp_parser_init_declarator): Set pushed_scope to NULL_TREE

Re: Trivial patch to fix build with --enable-build-with-cxx

2011-05-02 Thread Eric Botcazou
> 2011-05-02 Dmitry Gorbachev > > * parser.c (cp_parser_init_declarator): Replace false by NULL. Replace by NULL_TREE instead and install under the obvious rule. -- Eric Botcazou

Re: Trivial patch to fix build with --enable-build-with-cxx

2011-05-02 Thread Dmitry Gorbachev
Uh, there is another one: ../../gcc-4.7/gcc/cp/parser.c: In function 'tree_node* cp_parser_init_declarator(cp_parser*, cp_decl_specifier_seq*, VEC_deferred_access_check_gc*, bool, bool, int, bool*, tree_node**)': ../../gcc-4.7/gcc/cp/parser.c:14612:19: error: converting 'false' to pointer type 'tr

Re: Trivial patch to fix build with --enable-build-with-cxx

2011-05-02 Thread Eric Botcazou
> 2011-05-02 Dmitry Gorbachev > > * tree-inline.c (maybe_inline_call_in_expr): Replace false by NULL. Thanks for spotting this. I'd apply it to all relevant branches (4.5/4.6). -- Eric Botcazou

Re: Trivial patch to fix build with --enable-build-with-cxx

2011-05-02 Thread Diego Novillo
On Mon, May 2, 2011 at 08:52, Dmitry Gorbachev wrote: > ../../gcc-4.7/gcc/tree-inline.c: In function 'tree_node* > maybe_inline_call_in_expr(tree)': > ../../gcc-4.7/gcc/tree-inline.c:5229:40: error: converting 'false' to > pointer type 'void (*)(tree)' [-Werror=conversion-null] > > 2011-05-02  Dmi