Re: [PATCH libdrm] xf86drm: fix compile error for declare i in for loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 May 2017 at 14:58, Yu, Qiang <Qiang.Yu@xxxxxxx> wrote:
> Hi Emil,
>
> I didn't modify the code. I'm using Ubuntu 14.04 gcc 4.8.4, the configure pass but
> fail when compile.
>
> I think my gcc support c99 but needs adding "-std=c99" to enable it, and the configure
> script add it into CC variable. When just use "make", it's OK, but my build script uses
> "make CC=gcc".
>
> If you think current state is OK, I can change my build script for that.
>
Overrides shouldn't be used normally. If needed, one has to be very
careful what they set them to.

So the question is: why do you set CC - is there something broken on our end?
Add "-std=c99" is fine, but I'd suggest dropping the override all together.

Thanks
Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux