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]

Re: [C++ PATCH] Improve locations of id-expressions and operator "" (PR c++/87386, take 3)


On Thu, Nov 22, 2018 at 09:53:13AM +0100, Andreas Schwab wrote:
> 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)
>                                  ^

Is that with --enable-checking=release or something similar?
Built just fine for me with normal --enable-checking=yes,rtl,extra.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]