This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.4 PATCH: Fix Tru64 UNIX V4.0F bootstrap failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]