[Mesa-dev] [PATCH 2/2] configure: Leverage gcc warn options to enable safe use of C99 features where possible.

Jose Fonseca jfonseca at vmware.com
Tue Mar 3 03:30:00 PST 2015


On 02/03/15 19:42, Kenneth Graunke wrote:
> On Monday, March 02, 2015 03:24:18 PM Jose Fonseca wrote:
>> On 28/02/15 00:25, Kenneth Graunke wrote:
>>> On Friday, February 27, 2015 09:58:51 PM Jose Fonseca wrote:
>>>> Sorry, this didn't pop up when I built it here.  And I'm afraid I won't have time to look into this today, and possibly the weekend.
>>>>
>>>> If there's not an obvious fix feel free to push a commit commiting out the  .MSVC2013_COMPAT_*FLAGS= in configure.ac
>>>>
>>>> I'll act on other reviews too as soon as I can.
>>>>
>>>> Jose
>>>
>>> Strange.  It didn't pop up when I tried it either - maybe I failed to do
>>> a clean build.  But I'm definitely hitting the same breakage, with these
>>> flags:
>>>
>>> git clean -fdx; CFLAGS='-g -fno-omit-frame-pointer' CXXFLAGS='-g -fno-omit-frame-pointer' ./autogen.sh --enable-gles2 --enable-glx-tls --with-egl-platforms=x11,drm --with-gallium-drivers= --with-dri-drivers=i965 --enable-debug
>>>
>>> Ben also hit this.
>>>
>>> I've reverted the patch for now - hopefully we can land a v2 soon.
>>>
>>
>> I believe that Matt's change
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit_-3Fid-3D76cd0f00f44c0935dc7d6a0e14e0515f08a8e1dc&d=AwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=zfmBZnnVGHeYde45pMKNnVyzeaZbdIqVLprmZCM2zzE&m=ks5wQTUHiwIa619HqiroFOtoTtuNCqTuaZXBeUZfBB0&s=m1w-fmCs2IJNcfvI_o94wMZZcEukEQkUFlYOcHFaPwg&e=
>> should fix this.
>>
>> Those who hit the issue, could you please re-apply
>> 79daa510c7a871a33797308a2ccb4b83a067ffbe if that was the end of it or
>> whether there are more errors?
>>
>> Jose
>>
>
> I tested {debug,release} x {64-bit,32-bit} builds, using git clean -fdx each time.
> They all appear to work fine for me.
>
> Sorry for the trouble - I didn't realize the fix would be so tiny.

No prob.  Thanks for confirming.

I'll push the change again.

Jose



More information about the mesa-dev mailing list