Bug 3025 - Compilation error due to multiple declarations of cfbUnPushPixels in cfbgc.c
Summary: Compilation error due to multiple declarations of cfbUnPushPixels in cfbgc.c
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-13 22:27 UTC by Matthias Saou
Modified: 2005-04-13 17:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.