[Mesa-dev] [Bug 89433] GCC 4.2 does not support -Wvla

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 5 03:52:10 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89433

--- Comment #2 from José Fonseca <jfonseca at vmware.com> ---
(In reply to Jonathan Gray from comment #1)
> Created attachment 114016 [details] [review]
> make -Wvla conditional
> 
> How about the attached patch to make it conditional on the GCC version?

Thanks for looking into this. 

I worry that checking the compiler version might not work for clang. It might
be better to mimic the logic we use above for
-Werror=implicit-function-declaration and -Werror=missing-prototypes.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150305/69bb3b26/attachment.html>


More information about the mesa-dev mailing list