OK.
Hi,
On 07/30/2013 03:30 PM, Jason Merrill wrote:
How about just returning false from is_std_init_list in C++98 mode?
Sure. It works great.
Thanks,
Paolo.
/cp
2013-07-30 Paolo Carlini
PR c++/57947
* call.c (is_std_init_list): Return false if cxx_dialect
How about just returning false from is_std_init_list in C++98 mode?
Jason
Hi,
this issue, error recovery in C++98 mode, is a bit tricky: as far as I
can see, it boils down to the fact that in C++98 mode we don't want to
handle specially std::initializer_list. Otherwise, after the error
message we crash in convert_like_real where we try to handle ck_list, @
line 605