* guile 1.6.5, building in Interix 3.5
@ 2004-10-25 23:35 Bob Frazier
2004-11-04 15:24 ` Marius Vollmer
0 siblings, 1 reply; 2+ messages in thread
From: Bob Frazier @ 2004-10-25 23:35 UTC (permalink / raw)
building guile 1.6.5 (just downloaded it) in Interix 3.5 (latest code).
The file srfi/srfi-4.c (line 340) uses a define'd constant 'SIZE_MAX' which
is not defined in the Interix header files. In the FreeBSD header files,
it's defined as UINT32_SIZE . Based upon what it appears the code is trying
to do, I changed it from
if (len > ((size_t) SIZE_MAX >> uvec_shifts[type]))
to this
if (len > ((size_t) SSIZE_MAX >> uvec_shifts[type]))
The other alternative would be to change it to SIZE_T_MAX .
At this point it built properly.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guile 1.6.5, building in Interix 3.5
2004-10-25 23:35 guile 1.6.5, building in Interix 3.5 Bob Frazier
@ 2004-11-04 15:24 ` Marius Vollmer
0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2004-11-04 15:24 UTC (permalink / raw)
Cc: bug-guile
"Bob Frazier" <bobf@mrp3.com> writes:
> building guile 1.6.5 (just downloaded it) in Interix 3.5 (latest code).
> [...]
> The other alternative would be to change it to SIZE_T_MAX .
Thanks for reporting this! I changed it to ((size_t)-1) which should
be the most portable way to get at SIZE_MAX, and be just as correct.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-04 15:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-25 23:35 guile 1.6.5, building in Interix 3.5 Bob Frazier
2004-11-04 15:24 ` Marius Vollmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).