home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: sparky!uunet!cis.ohio-state.edu!cs.cornell.edu!cliff
- From: cliff@cs.cornell.edu (Cliff Krumvieda)
- Subject: Prototype problems with wdiff-0.03
- Message-ID: <9211231602.AA22762@ask.cs.cornell.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Mon, 23 Nov 1992 06:02:58 GMT
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Lines: 20
-
- Howdy:
-
- I ran into two (easily fixed) problems when compiling wdiff-0.03:
-
- 1. In getopt.h, the prototype for getopt should not specify
- const char arguments unless the GNU library is being used---
- this problem is fixed in most of the getopt.h's distributed
- with the current utilities (including diff 2.0). Without the
- fix, wdiff would not compile under AIX.
- 2. In wdiff.c, the prototype for strstr should not specify a
- const char return value---a strstr prototype specifying a
- char return value is provided in <strings.h> on a number
- of OS's, including AIX, HP-UX, and ULTRIX.
-
- Thanks!
-
- --Cliff Krumvieda
-
-
-
-