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


Matt Kraai writes:

> 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?

I wondered so myself, but since all address variables are declared as void *, 
I didn't see the point in doing so: this seems to add unnecessary
confusion.

	Rainer


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