This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wpedantic does not warn on use of __auto_type
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Prathamesh Kulkarni <bilbotheelffriend at gmail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Sat, 18 Jan 2014 21:45:50 +0000
- Subject: Re: -Wpedantic does not warn on use of __auto_type
- Authentication-results: sourceware.org; auth=none
- References: <CAJXstsC57Ew4pcSchh5_jvP7Joo7HcMAJ9XcHRfvnVo2cU5J-Q at mail dot gmail dot com>
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