Compiling PATCH

Gregory G. Woodbury ggw at wolves.uucp
Tue Jul 10 12:47:20 AEST 1990


In <31555 at cup.portal.com> Bron at 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 at cds.duke.edu     ggw%wolves at mcnc.mcnc.org
[The line eater is a boojum snark! ]           <standard disclaimers apply>



More information about the Comp.unix.questions mailing list