Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling crossedit...



I'm trying to compile crossedit, in test.c I had to change the declaration
of int argc, to unsigned int argc.  I hope that won't cause other problems.

Then, I have the following problem:

----------------------------------------------------------------
making all in ./crossedit/include...
	cc -O2   -I/usr/include  -I. -I../include -I./include -I./Cnv  -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNCPROTO -DNARROWPROTO -DFONTDIR=\"/JSP/C1/usagers/casino/lib/xfire/fonts\" -DFONTNAME=\"crossfire\" -Dsgi  -DLIBDIR=\"/JSP/C1/usagers/casino/lib/xfire\"   -c Attr.c
accom: Error: Attr.c, line 737: prototype parameter 3 type must have all of the actual arguments qualifiers (except the outermost) and pointed-to types must be compatible (ANSI 3.3.2.2,3.3.16.1)
       	  self->desc[i].getValue (ob, buf, self->client);	
       ------------------------------------------------^
accom: Error: Attr.c, line 737: Argument 3 Type Doesn't Match prototype description; prototype:  pointer to char is different from actual:  pointer to struct
       	  self->desc[i].getValue (ob, buf, self->client);	
       ------------------------------------------------^
accom: Error: Attr.c, line 892: prototype parameter 3 type must have all of the actual arguments qualifiers (except the outermost) and pointed-to types must be compatible (ANSI 3.3.2.2,3.3.16.1)
       		self->desc[i].putValue (ob, str, self->client);		
       ------------------------------------------------------^
accom: Error: Attr.c, line 892: Argument 3 Type Doesn't Match prototype description; prototype:  pointer to char is different from actual:  pointer to struct
       		self->desc[i].putValue (ob, str, self->client);		
       ------------------------------------------------------^
*** Error code 1
-----------------------------------------------------------------

Do you have any idea what I should do to finish crossedit's compilation ?

Daniel