[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs make problem on DEC alpha building rcs.c
From: |
Larry Jones |
Subject: |
Re: cvs make problem on DEC alpha building rcs.c |
Date: |
Tue, 10 Feb 2004 17:33:46 -0500 (EST) |
Miller Dale C Contr AFWA/SDHS writes:
>
> source='rcs.c' object='rcs.o' libtool=no depfile='.deps/rcs.Po'
> tmpdepfile='.deps/rcs.TPo' depmode=tru64 /bin/sh ../depcomp
> cc -std1 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../diff -I../zlib
> -g -c `test -f 'rcs.c' || echo './'`rcs.c
> cc: Error: rcs.c, line 1027: In this statement, "rcsbuf_buffer" and
> "(-1)"
> may not be compared for equality or inequality.
> if ( rcsbuf_buffer == NULL || rcsbuf_buffer == MAP_FAILED )
It appears that your <sys/mman.h> header file is defective in that it
doesn't work correctly in ANSI C mode. I suggest you complain to your
vendor and see if they have a fix available. In the meantime, you can
probably circumvent the problem by changing "MAP_FAILED" in the above
line to "(void *)MAP_FAILED".
-Larry Jones
Some people just don't have inquisitive minds. -- Calvin