[cfe-dev] Unexpected warning in -std=gnu89 -pedantic mode.
Douglas Gregor
dgregor at apple.com
Wed Aug 26 13:32:35 PDT 2009
On Aug 26, 2009, at 1:28 PM, Eli Friedman wrote:
> On Wed, Aug 26, 2009 at 12:57 PM, Enea Zaffanella<zaffanella at cs.unipr.it
> > wrote:
> The issue here is that arguably, almost everything which we print a
> warning for with -pedantic is a GNU extension, since they're
> violations of the standard and implemented by gcc. Also, I'm not sure
> what we would gain by classifying extension warnings into GNU
> extensions and "generic" extensions.
Well, we also support some Microsoft extensions and OpenCL constructs.
One could imagine keeping these separate, so that users could call
Clang in a GCC-like mode, Microsoft-like mode, or whatever.
- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090826/d9bb6bd4/attachment.html>
More information about the cfe-dev
mailing list