unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
Subject: Portability bug with UINTPTR_MAX in Solaris/Forte
Date: Wed, 18 Jun 2003 08:25:47 +0200	[thread overview]
Message-ID: <uw5vfv3sxzo.fsf@saturn.math.uni-magdeburg.de> (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


             reply	other threads:[~2003-06-18  6:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18  6:25 Matthias Koeppe [this message]
2003-06-21  1:20 ` Portability bug with UINTPTR_MAX in Solaris/Forte 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uw5vfv3sxzo.fsf@saturn.math.uni-magdeburg.de \
    --to=mkoeppe@mail.math.uni-magdeburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).