Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82626 (xwit) - [x11-misc/xwit-3.4] compile error (dsimple.c:49): conflicting types for 'malloc'
Summary: [x11-misc/xwit-3.4] compile error (dsimple.c:49): conflicting types for 'malloc'
Status: RESOLVED FIXED
Alias: xwit
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 15:58 UTC by Federico Ferri (RETIRED)
Modified: 2005-06-05 07:17 UTC (History)
0 users

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 Federico Ferri (RETIRED) gentoo-dev 2005-02-19 15:58:40 UTC
while compiling:

dsimple.c: In function `Malloc':
dsimple.c:49: error: conflicting types for 'malloc'
make: *** [dsimple.o] Error 1


Reproducible: Always
Steps to Reproduce:
1.emerge xwit
2.
3.

Actual Results:  
doesn't compile

Expected Results:  
compile

to correct the problem open dsimple.c (in /var/tmp/portage/xwit-3.4/work/xwit-3.4)
and replace the line at 49:
	char *data, *malloc();
with:
	char *data; //, *malloc();
Comment 1 Markus Nigbur (RETIRED) gentoo-dev 2005-06-05 07:17:14 UTC
fixed in cvs.