Re: [wmii] libixp compilation errors

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 12 Oct 2006 17:37:05 +0200

On Thu, Oct 12, 2006 at 05:13:30PM +0200, Stefan Tibus wrote:
> just tried compiling a freshly downloaded libixp.
> (besides the problem with those unnamed union/structs
> on my Sun) there are the following errors:
>
> CC request.c
> "ixp.h", line 52: warning: enumerator value overflows INT_MAX (2147483647)
> "request.c", line 88: void function cannot return value
> "request.c", line 90: void function cannot return value
> "request.c", line 118: void function cannot return value
> "request.c", line 124: void function cannot return value
> "request.c", line 126: void function cannot return value
> "request.c", line 131: void function cannot return value
> "request.c", line 133: void function cannot return value
> "request.c", line 138: void function cannot return value
> "request.c", line 140: void function cannot return value
> "request.c", line 142: void function cannot return value
> "request.c", line 144: void function cannot return value
> "request.c", line 149: void function cannot return value
> "request.c", line 151: void function cannot return value
> "request.c", line 154: void function cannot return value
> "request.c", line 159: void function cannot return value
> "request.c", line 161: void function cannot return value
> "request.c", line 163: void function cannot return value
> "request.c", line 168: void function cannot return value
> "request.c", line 170: void function cannot return value
> "request.c", line 175: void function cannot return value
> "request.c", line 177: void function cannot return value
> "request.c", line 182: void function cannot return value
> "request.c", line 184: void function cannot return value
> "request.c", line 186: void function cannot return value
> "request.c", line 189: void function cannot return value
> "request.c", line 193: void function cannot return value
> "request.c", line 198: void function cannot return value
> "request.c", line 200: void function cannot return value
> "request.c", line 202: void function cannot return value
> "request.c", line 215: warning: implicit function declaration: cext_assert
> cc: acomp failed for request.c
> *** Error code 2
>
> In fact, e.g.
> void ixp_server_handle_fcall(IXPConn *c)
> contains
> return respond(req, Eduptag);
> where respond is declared
> void respond(P9Req *r, char *error)
>
> I'm surely not up to date with newest C standards but this
> does not make much sense...
> If this is supposed to be equivalent to
> respond(req, Eduptag); return;
> I'd prefer the old (compatible) style.

Well this was Kris code, I suspect it was intended to be
        respond(req, Eduptag); return;

I pushed a version which fixes that.

-- 
 Anselm R. Garbe  ><><  http://suckless.org/arg/  ><><  GPG key: 0D73F361
Received on Thu Oct 12 2006 - 17:37:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:15:21 UTC