This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 05/25/2010 12:46 PM, Richard Guenther wrote: > > This broke bootstrap (please make sure to bootstrap all changes). > > ../../trunk/gcc/cp/parser.c: In function 'cp_parser_unary_expression': > ../../trunk/gcc/cp/parser.c:5898:7: error: enum conversion in > initialization is invalid in C++ [-Werror=c++-compat] > ../../trunk/gcc/cp/parser.c: In function 'cp_parser_asm_definition': > ../../trunk/gcc/cp/parser.c:13478:3: error: enum conversion in > initialization is invalid in C++ [-Werror=c++-compat] > In order to quickly restore the bootstrap with c++-compat, probably something like the below would be good enough (and I mention in passing that in C too, 0 seems brittle). Or just byte the bullet and use a separate additional boolean. Paolo. /////////////
Attachment:
p
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |