On 10/15/2012 11:33 AM, Paolo Carlini wrote:
+ && pedantic && cxx_dialect == cxx98)
+ {
+ cp_token *token = cp_lexer_peek_token (parser->lexer);
+ error_at (token->location,
+ "in C++98 % (as a disambiguator) is only "
+ "allowed w
On 10/15/2012 07:30 PM, Jason Merrill wrote:
Actually, let's keep the diagnostic when compiling with -pedantic in
98 mode.
... too late! ;) So I prepared the below, I'm finishing testing it.
Thanks,
Paolo.
//
/cp
2012-10-15 Paolo Carlini
PR c++/50080 (again)
Actually, let's keep the diagnostic when compiling with -pedantic in 98
mode.
Jason
OK.
Jason
Hi,
thus, if I understand correctly the resolution of Core/468 [CD1], we can
simplify a bit the parser and just accept these 'template' outside
templates. Tested x86_64-linux.
Thanks,
Paolo.
///
/cp
2012-10-15 Paolo Carlini
PR c++/50080
* parser.c (cp_