Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!mephisto!mcnc!wolves!ggw From: ggw@wolves.uucp (Gregory G. Woodbury) Newsgroups: comp.unix.questions Subject: Re: Compiling PATCH Message-ID: <1990Jul10.024720.17522@wolves.uucp> Date: 10 Jul 90 02:47:20 GMT References: <31555@cup.portal.com> Organization: Wolves Den UNIX and Usenet node Lines: 24 In <31555@cup.portal.com> Bron@cup.portal.com (George Bron Faison) writes: > >RE: Compiling PATCH 2.0 under 386/ix (SYSV) Unix: > >I have downloaded patch version 2.0 and am trying to get it running on >a 386/ix 2.0.1 UNIX machine. Most stuff compiles OK. But patch >doesn't, I get the following errors: > > cc -c -O patch.c >"./common.h", line 154: redeclaration of sprintf (OK, no problem here) >"patch.c", line 291: warning: illegal pointer/integer combination, op = >*** Error code 1 Actually, it IS the redefinition of the sprintf that is the error. A warning doesn't stop make, only a "real" error. The fact that the compiler continues after the redeclaration error is serendipity. The config file asks specifically what type of value your sprintf returns, if you answered wrong, it will halt the make. -- Gregory G. Woodbury @ The Wolves Den UNIX, Durham NC UUCP: ...dukcds!wolves!ggw ...mcnc!wolves!ggw [use the maps!] Domain: ggw@cds.duke.edu ggw%wolves@mcnc.mcnc.org [The line eater is a boojum snark! ]