In file included from ../../gcc/c-family/c-common.h:26:0, from ../../gcc/cp/cp-tree.h:40, from ../../gcc/cp/parser.c:25: ../../gcc/cp/parser.c: In function 'cp_expr cp_parser_operator(cp_parser*, location_t)': ../../gcc/tree.h:383:33: error: invalid cast from type 'cp_expr' to type 'tree_userdef_literal*' #define TREE_CHECK(T, CODE) (T) ^ ./tree-check.h:234:34: note: in expansion of macro 'TREE_CHECK' #define USERDEF_LITERAL_CHECK(t) TREE_CHECK (t, USERDEF_LITERAL) ^ ../../gcc/c-family/c-common.h:1231:36: note: in expansion of macro 'USERDEF_LITERAL_CHECK' (((struct tree_userdef_literal *)USERDEF_LITERAL_CHECK (NODE))->value) ^ ../../gcc/cp/parser.c:15309:20: note: in expansion of macro 'USERDEF_LITERAL_VALUE' string_tree = USERDEF_LITERAL_VALUE (str); ^ ../../gcc/tree.h:383:33: error: invalid cast from type 'cp_expr' to type 'tree_userdef_literal*' #define TREE_CHECK(T, CODE) (T) ^ ./tree-check.h:234:34: note: in expansion of macro 'TREE_CHECK' #define USERDEF_LITERAL_CHECK(t) TREE_CHECK (t, USERDEF_LITERAL) ^ ../../gcc/c-family/c-common.h:1228:36: note: in expansion of macro 'USERDEF_LITERAL_CHECK' (((struct tree_userdef_literal *)USERDEF_LITERAL_CHECK (NODE))->suffix_id) ^ ../../gcc/cp/parser.c:15310:11: note: in expansion of macro 'USERDEF_LITERAL_SUFFIX_ID' id = USERDEF_LITERAL_SUFFIX_ID (str); ^
Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."