🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1001

diff 2.0

#1001
From: Monty Solomon
Date: Sun, 04 Oct 1992 01:35
30 lines
1667 bytes
I get the following warnings trying to compile diff 2.0 on the NeXT (NeXTstep  
2.1).

I can send the man page for wait if necessary.

gcc -O -c -g  -DSYSDIR=1 -DSTDC_HEADERS=1 -Dpid_t=int -DHAVE_DUP2=1  
-DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 -DHAVE_ST_BLKSIZE=1 diff.c
system.h:92: warning: index redefined
system.h:93: warning: rindex redefined
system.h:94: warning: bcopy redefined
system.h:95: warning: bcmp redefined
system.h:96: warning: bzero redefined

gcc -O -c -g  -DSYSDIR=1 -DSTDC_HEADERS=1 -Dpid_t=int -DHAVE_DUP2=1  
-DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 -DHAVE_ST_BLKSIZE=1 regex.c
regex.c:50: warning: bcmp redefined
regex.c:51: warning: bcopy redefined
regex.c:52: warning: bzero redefined

gcc -O -c -g  -DSYSDIR=1 -DSTDC_HEADERS=1 -Dpid_t=int -DHAVE_DUP2=1  
-DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 -DHAVE_ST_BLKSIZE=1  
-DDIFF_PROGRAM=\"/usr/local/bin/diff\" ./diff3.c
./diff3.c: In function read_diff:
./diff3.c:1219: warning: argument passing between incompatible pointer types

gcc -O -c -g  -DSYSDIR=1 -DSTDC_HEADERS=1 -Dpid_t=int -DHAVE_DUP2=1  
-DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 -DHAVE_ST_BLKSIZE=1  
-DDIFF_PROGRAM=\"/usr/local/bin/diff\" ./sdiff.c
./sdiff.c: In function waitpid:
./sdiff.c:236: warning: argument passing between incompatible pointer types
Technical Details
Message-ID: <199210040935.AA10474@proponent.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!proponent.COM!monty

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!proponent.COM!monty
From: monty@proponent.COM (Monty Solomon)
Subject: diff 2.0
Message-ID: <199210040935.AA10474@proponent.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 4 Oct 1992 01:35:52 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 31