[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_short2num warning [was: guile on mac OSX]
From: |
Rob Browning |
Subject: |
Re: scm_short2num warning [was: guile on mac OSX] |
Date: |
16 Aug 2001 10:11:14 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Marius Vollmer <address@hidden> writes:
> I tried a couple of fixes, but none of them worked... The
> preprocessor can not evaluate SCM_MOST_POSITIVE/NEGATIVE_FIXNUM, and
> the compiler doesn't still emits a warning for X in "if (1 || X)"
> even so X is optimized away. And I'm a little bit baffled that the
> compiler doesn't emit a warning for scm_ushort2num.
>
> So, I'd say the best thing is to make
> SCM_MOST_POSITIVE/NEGATIVE_FIXNUM computable by the preprocessor and
> #ifdef the offending test away completely. Anyone?
I'm not sure I exactly follow how you want to fix this, but I'd like
to have 1.5.1 compile with --enable-error-on-warning. Could you
elaborate?
Thanks
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: scm_short2num warning [was: guile on mac OSX],
Rob Browning <=