Bug 3025

Summary: Compilation error due to multiple declarations of cfbUnPushPixels in cfbgc.c
Product: xorg Reporter: Matthias Saou <matthias>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Matthias Saou 2005-04-13 22:27:39 UTC
With current CVS (which I require for i915GM from what I've understood), I get
this error while trying to "make World" on Fedora Core 4test2 i386 :

[...]
cfbgc.c: In function ‘cfbCreateGC’:
cfbgc.c:291: warning: assignment from incompatible pointer type
cfbgc.c:292: warning: assignment from incompatible pointer type
cfbgc.c:293: warning: assignment from incompatible pointer type
cfbgc.c:294: warning: assignment from incompatible pointer type
cfbgc.c: In function ‘cfbValidateGC’:
cfbgc.c:780: warning: assignment from incompatible pointer type
cfbgc.c: At top level:
cfbgc.c:809: error: static declaration of ‘cfbUnPushPixels’ follows non-static
declaration
cfbgc.c:88: error: previous declaration of ‘cfbUnPushPixels’ was here
make[5]: *** [cfbgc.o] Error 1
make[5]: Leaving directory `/home/dude/xc/programs/Xserver/cfb'

And I'm not quite sure how to fix it.
Comment 1 Adam Jackson 2005-04-14 10:52:14 UTC
fixed in HEAD, thanks.  cvs up and try again.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.