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 %<template%> (as a disambiguator) is only " + "allowed within templates");
The diagnostic should be a pedwarn rather than an error. OK with that change.
Jason