Re: [C++ Patches] PR c++/66781 and c++/67847

2015-10-21 Thread Jason Merrill
OK. Jason

Re: [C++ Patches] PR c++/66781 and c++/67847

2015-10-21 Thread Paolo Carlini
Hi, and thanks a lot for your quick and helpful reply. On 10/21/2015 09:19 PM, Jason Merrill wrote: On 10/21/2015 04:37 AM, Paolo Carlini wrote: +"%qD is not an enumerator-name", identifier); This should be enum-name or "does not name an enumeration". We should also print the n

Re: [C++ Patches] PR c++/66781 and c++/67847

2015-10-21 Thread Jason Merrill
On 10/21/2015 04:37 AM, Paolo Carlini wrote: + "%qD is not an enumerator-name", identifier); This should be enum-name or "does not name an enumeration". We should also print the nested-name-specifier. + error_at (type_start_token->location, "nested name specif