[Xorg-driver-geode] xf86-video-geode: one last compiler warning

Martin-Éric Racine martin-eric.racine at iki.fi
Sun Dec 25 09:24:07 PST 2011


Greetings,

While making a last-minute distcheck before releasing 2.11.13, I
noticed the following:

  CC     lx_display.lo
../../src/lx_display.c: In function 'lx_crtc_gamma_set':
../../src/lx_display.c:360:9: warning: ISO C90 forbids mixed
declarations and code [-Wdeclaration-after-statement]

While it doesn't affect compilation using GNU tools, I'm sure that
other platforms might have a fit. However, I'm not too familiar with
the specific differences between various C standards, so I'm not sure
what the fix would be. If anybody would have any answer for this, it
would be most welcome.

Season's greetings,
Martin-Éric


More information about the Xorg-driver-geode mailing list