In file included from xorg_driver.c:36:0: /usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^ xorg_driver.c: In function 'drv_pre_init': xorg_driver.c:347:23: warning: variable 'xf86_config' set but not used [-Wunused-but-set-variable] xf86CrtcConfigPtr xf86_config; ^ xorg_driver.c: In function 'drv_close_screen': xorg_driver.c:1025:2: warning: passing argument 1 of 'DamageUnregister' from incompatible pointer type [enabled by default] DamageUnregister(&pScreen->GetScreenPixmap(pScreen)->drawable, ms->damage); ^ In file included from /usr/include/xorg/pixmapstr.h:53:0, from /usr/include/xorg/xf86str.h:40, from /usr/include/xorg/xf86.h:44, from xorg_driver.c:33: /usr/include/xorg/damage.h:77:2: note: expected 'DamagePtr' but argument is of type 'struct DrawableRec *' DamageUnregister(DamagePtr pDamage); ^ xorg_driver.c:1025:2: error: too many arguments to function 'DamageUnregister' DamageUnregister(&pScreen->GetScreenPixmap(pScreen)->drawable, ms->damage); ^ In file included from /usr/include/xorg/pixmapstr.h:53:0, from /usr/include/xorg/xf86str.h:40, from /usr/include/xorg/xf86.h:44, from xorg_driver.c:33: /usr/include/xorg/damage.h:77:2: note: declared here DamageUnregister(DamagePtr pDamage); ^ Makefile:596: recipe for target 'xorg_driver.lo' failed
*** This bug has been marked as a duplicate of bug 492838 ***