Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling crossedit...
- To: crossfire (at) ifi.uio.no
- Subject: Re: compiling crossedit...
- From: Petri Heinil{ <>
- Date: Thu, 17 Mar 1994 11:01:09 +0200 (EET)
- In-Reply-To: <>
On Wed, 16 Mar 1994, Daniel Cote wrote:
> 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 ?
I think there is missing cast before self->client, it should be
(XtPointer)self->client.
///////////////////////// Petri Heinila /////////////////////////
email:
www: <A HREF="http://www.lut.fi/~hevi/">Homepage</A>
mail: Ainonkatu 2A
53100 Lappeenranta
Finland, Europe
tel: (953) 574 3624