This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wpedantic does not warn on use of __auto_type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]