unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Portability bug with UINTPTR_MAX in Solaris/Forte
@ 2003-06-18  6:25 Matthias Koeppe
  2003-06-21  1:20 ` Kevin Ryde
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Koeppe @ 2003-06-18  6:25 UTC (permalink / raw)


I have trouble compiling Guile from CVS HEAD on Solaris 7 and 8 using
the Forte (Sun Workshop) C compiler.  The reason is the new code
using `uintptr_t' (declarations in tags.h).

On Solaris, there is a uintptr_t, and UINTPTR_MAX is also a defined
macro, but it expands to nothing.  (/usr/include/sys/int_limits.h,
line 124.)  This causes the compilation of libguile/print.c (for
instance) to fail.

I would suggest that the presence of both uintptr_t and a useful value
UINTPTR_MAX should be checked at configuration time.

I am not sending a patch, but I am willing to test patches that fix
this problem, in case you don't have access to Solaris (or a non-gcc
compiler). 

-- 
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-05  0:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18  6:25 Portability bug with UINTPTR_MAX in Solaris/Forte Matthias Koeppe
2003-06-21  1:20 ` Kevin Ryde
2003-06-23  9:15   ` Matthias Koeppe
2003-06-23 23:05     ` Kevin Ryde
2003-06-25 15:17       ` Matthias Koeppe
2003-07-05  0:03         ` Kevin Ryde

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).