[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Warnings building on Solaris/suncc
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] Warnings building on Solaris/suncc |
Date: |
Tue, 29 Jan 2013 20:00:58 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Jan 23, 2013 at 10:46:23PM +0100, Michele La Monaca wrote:
> If anyone cares:
>
> http://paste.call-cc.org/paste?id=daa30d152b75bdc0d4592a118afefd5ee006b7a9
Thanks for posting this. It motivated me to finally get off my ass
and do something about a few other warnings I've been seeing on my
own system too:
runtime.c:3062:7: warning: format ‘%016lx’ expects type ‘long unsigned int’,
but argument 3 has type ‘unsigned int’
Attached is a patch against master fixing both issues. I've fixed
the calls to C_save_and_reclaim in the same way calls to C_reclaim
had already been fixed: a straight up cast to (void *). It feels a
little shady, but it should work.
Hopefully it will compile cleanly with it on your machine, as well!
Cheers,
Peter
--
http://sjamaan.ath.cx
0001-Fix-several-compilation-warnings.patch
Description: Text document