[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: compiler complaint about -2147483648
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: compiler complaint about -2147483648 |
Date: |
29 Jun 2006 10:19:49 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and thanks! Should be cleared now.
Take care,
Robert Boyer <address@hidden> writes:
> I think that the point is that when Lisp is writing out a
> specific fixnum to a .lisp file to be compiled, maybe it
> should not print out -2147483648 into C code. Maybe it
> should print (-2147483647 - 1). Dunno. I just hate to see
> warnings.
>
> Bob
>
> -------------------------------------------------------------------------------
>
> % 2
> GCL (GNU Common Lisp) 2.7.0 ANSI Jun 27 2006 19:25:19
>
> >(defun foo () -2147483648)
>
> FOO
>
> >(compile *)
>
> ;; Compiling /tmp/gazonk_14902_0.lsp.
> ;; End of Pass 1.
> ;; End of Pass 2.
> /tmp/gazonk_14902_0.c: In function `LI1':
> /tmp/gazonk_14902_0.c:9541: warning: this decimal constant is unsigned only
> in ISO C90
> ;; OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3,
> (Debug quality ignored)
> ;; Finished compiling /tmp/gazonk_14902_0.o.
> Loading /tmp/gazonk_14902_0.o
> start address -T 0xace2fe0 Finished loading /tmp/gazonk_14902_0.o
> #<compiled-function FOO>
> NIL
> NIL
>
> >
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] Re: compiler complaint about -2147483648,
Camm Maguire <=