-Wpedantic does not warn on use of __auto_type

Joseph S. Myers joseph@codesourcery.com
Sat Jan 18 21:49:00 GMT 2014


On Sat, 18 Jan 2014, Prathamesh Kulkarni wrote:

> Should -Wpedantic warn on use of __auto_type ?

There is no general consistent rule followed for such reserved namespace 
keywords.  Your patch seems plausible (given testcase and %<%> quotes 
around the keyword in the diagnostic text).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc mailing list