chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chicken 5 compilation, coerced inexact literal number warning. What


From: Matt Welland
Subject: Re: Chicken 5 compilation, coerced inexact literal number warning. What am I missing here?
Date: Thu, 8 Apr 2021 07:49:59 -0700

Yes, you are correct, the error from not finding the .h was spurious. On looking again I noticed that there is a fixnum directive in the hostinfo.scm file:

(declare
 (fixnum))

Prior to finding .h message I was including the hostinfo.scm file and then later importing it. When I converted it to a compilation unit the fixnum no longer applied.

On Wed, Apr 7, 2021 at 10:49 PM Peter Bex <peter@more-magic.net> wrote:
On Wed, Apr 07, 2021 at 10:42:39PM -0700, Matt Welland wrote:
> There is a .h file in hostinfo and I didn't catch the error message.
> Presumably that somehow put the compiler into fixnum mode.

hm, if possible could you figure out what exactly did that?
A C header file shouldn't change the compiler's mode!

Glad to hear you figured out how to solve the issue though!

Cheers,
Peter


--
--
Complexity is your enemy. Any fool can make something complicated.
It is hard to keep things simple. - Richard Branson.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]