This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 PATCH: Fix Tru64 UNIX V4.0F bootstrap failure
- From: Matt Kraai <kraai at alumni dot cmu dot edu>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 1 Jul 2003 07:15:57 -0700
- Subject: Re: 3.4 PATCH: Fix Tru64 UNIX V4.0F bootstrap failure
- References: <16129.34685.694994.817453@xayide.TechFak.Uni-Bielefeld.DE>
On Tue, Jul 01, 2003 at 03:07:09PM +0200, Rainer Orth wrote:
> This happens because (unlike Tru64 UNIX V5.1), <sys/mman.h> defines
>
> #define MAP_FAILED (-1L) /* unsuccessful return from mmap() */
>
> The following patch fixes this and allows the bootstrap to continue.
Would it be better to cast it to char * instead, as is done in
ggc-page.c?
--
Matt Kraai kraai@alumni.cmu.edu Debian GNU/Linux