[llvm-commits] [llvm-gcc-4.2] r100565 - /llvm-gcc-4.2/trunk/gcc/c-parser.c
Bob Wilson
bob.wilson at apple.com
Tue Apr 6 15:22:42 PDT 2010
On Apr 6, 2010, at 3:03 PM, Eli Friedman wrote:
> On Tue, Apr 6, 2010 at 2:56 PM, Bob Wilson <bob.wilson at apple.com> wrote:
>> Author: bwilson
>> Date: Tue Apr 6 16:56:05 2010
>> New Revision: 100565
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=100565&view=rev
>> Log:
>> Disable the "ISO C forbids braced-groups within expressions" pedantic
>> warning. This is needed for llvm's implementation of the ARM NEON intrinsics,
>> which use macros with statements expressions instead of inline functions.
>> This warning made is impossible to compile NEON intrinsics with "-pedantic
>> -Werror". Radar 7833512.
>
> Umm, this isn't really good... would it be possible to change the
> header in question to use __extension__ to avoid the warnings?
It's not really good, but is it really that bad? Is the world really going to miss one pedantic warning? ;-)
That said, I had forgotten about __extension__, and it seems like that ought to work. Thanks for the suggestion.
More information about the llvm-commits
mailing list