pclcomp.c:339: warning: function declaration isn't a prototype pclcomp.c:339: error: conflicting types for 'malloc' pclcomp.c:339: error: conflicting types for 'malloc' A simple fix is to just remove the broken conflicting declaration; attaching a patch
Created attachment 1205 [details] [review] Fix
roland, this is your bug, you added pclcomp in the first place.
ajax@nwnk.net wrote: > roland, this is your bug, you added pclcomp in the first place Weired, I've tested on SuSE Linux 8.2/x86 and Solaris/SPARC and didn't hit a fatal compiler error (but it produces lots of warnings). My fault - taking bug myself...
Created attachment 1211 [details] [review] Patch for 2004-10-02-trunk The patch should kill most of the warnings and all the errors...
Patch checked-in... /cvs/xorg/xc/ChangeLog,v <-- ChangeLog new revision: 1.501; previous revision: 1.500 /cvs/xorg/xc/programs/pclcomp/pclcomp.c,v <-- pclcomp.c new revision: 1.2; previous revision: 1.1 Mailing the commit message to xorg-commit@pdx.freedesktop.org... ... marking bug as FIXED.
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.