On Fri, Feb 24, 2012 at 2:35 PM, Richard Smith <[email protected]> wrote: > On Fri, Feb 24, 2012 at 1:50 PM, Eli Friedman <[email protected]> > wrote: >> >> On Fri, Feb 24, 2012 at 10:10 AM, Richard Smith >> <[email protected]> wrote: >> > Author: rsmith >> > Date: Fri Feb 24 12:10:23 2012 >> > New Revision: 151377 >> > >> > URL: http://llvm.org/viewvc/llvm-project?rev=151377&view=rev >> > Log: >> > __decltype is a GNU extension, not a C++11 extension. >> >> We don't normally warn about the use of __-prefixed keywords, since >> any use of such keywords is obviously an extension. Is there any >> particular reason to warn here? > > > There's no reason which is specific to this keyword. I'm not sure I > understand the motivation behind this distinction: if -Wgnu is intended to > warn on constructs which are not portable to non-GNU-compatible compilers, > then it should clearly warn on this. Otherwise, what is its intended > purpose?
Actually, I'm not really sure what the point of -Wgnu is... -Eli _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
