xf86-video-ati: Branch 'master'
Daniel Stone
daniel at fooishbar.org
Wed Feb 20 01:45:14 PST 2008
On Wed, Feb 20, 2008 at 10:28:32AM +0100, Michel Dänzer wrote:
> I'd like to once again encourage everybody to build with -Wall
> -Werror ... with recent versions of gcc, you may also need
> -Wno-error=address to avoid erroring out on a warning from the
> REGION_INIT() macro that I haven't figured out a reasonable way to
> avoid.
If it warns on pScreen being unused because of this:
ScreenPtr pScreen = something->pScreen;
REGION_INIT(pScreen, ...);
then you can use this instead:
ScreenPtr pScreen;
pScreen = something->pScreen;
REGION_INIT(pScreen, ...);
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20080220/94dedf5a/attachment.pgp
More information about the xorg-driver-ati
mailing list