Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492848 - =media-libs/mesa-9.2.4 - xorg_driver.c:1025:2: error: too many arguments to function 'DamageUnregister'
Summary: =media-libs/mesa-9.2.4 - xorg_driver.c:1025:2: error: too many arguments to f...
Status: RESOLVED DUPLICATE of bug 492838
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-29 10:36 UTC by Dennis Schridde
Modified: 2013-11-29 12:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-11-29 10:36:19 UTC
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
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-29 12:01:34 UTC

*** This bug has been marked as a duplicate of bug 492838 ***