[PATCH 4/4] xfree86: warning fix
Simon Thum
simon.thum at gmx.de
Tue Mar 15 12:31:28 PDT 2011
On 03/15/2011 04:43 PM, Keith Packard wrote:
> On Tue, 15 Mar 2011 11:05:07 -0400, Adam Jackson <ajax at redhat.com> wrote:
>
>> xf86RandR12.c: In function 'xf86RandR12EnterVT':
>> xf86RandR12.c:1769:5: warning: ISO C90 forbids mixed declarations and
>> code
True, but I was using the construct as well, based on doc/c-extensions:
The server will not build if your toolchain does not support these
extensions.
....
* interleaved code and declarations: { foo = TRUE; int bar;
do_stuff(); }
So, what's up with that?
Cheers,
Simon
>
> Reviewed-by: Keith Packard <keithp at keithp.com>
>
>
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list