On Tue, 9 Apr 2013, Jakub Jelinek wrote:

On Tue, Apr 09, 2013 at 11:08:38AM +0200, Marc Glisse wrote:
The *intrin.h files already use __extension__ to create vectors, like:
  return __extension__ (__m128d){ __F, 0.0 };
but even when I remove it it does not warn with -std=c89 -pedantic.

Even with -Wsystem-headers ?

Oups ;-)

Ok, removing the existing __extension__ causes warnings (note that it can easily be worked around by initializing a variable instead of this compound literal, so it isn't vectors that pedantic complains about), but my changes do not warn.

--
Marc Glisse

Reply via email to