Re: [wmii] libixp compilation errors

From: Stefan Tibus <sjti_AT_gmx.net>
Date: Mon, 16 Oct 2006 10:10:44 +0200

On Mon, 16 Oct 2006 09:19:17 +0200 Anselm R. Garbe wrote:
> Hmm, I agree that the return foo() in void functions is ugly
> (dunno why Kris made such stuff), but other things like the
> array initialization are C99 compliant. Maybe you need some
> special compiler flag? I'm not sure if shifts in enum
> declarations are GNU style or C99 as well...
Well...as far as I understand the manpage, it defaults to
C99 (but it may not support all of C99). And adding the switch
explicitly doesn't help anything. I just wonder what that
standard is good for, if it makes things less portable...?
Are there known workarounds? (So I could fix this for myself
at least.) The most dangerous thing probably is that array
initialization, where I'd have to make sure, to keep the
inidices right.

> Out of curiosity, does my wmii-3.x libixp compile with this sun
> compiler?
Yes, it does, the whole wmii-3.1 including libixp, just out
of the box.

Regards,
Stefan

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Received on Mon Oct 16 2006 - 10:11:14 UTC

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