🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2892

Is this legal?

#2892
From: Peter R. Ham
Date: Fri, 23 Feb 1990 21:50
12 lines
744 bytes
extern sprintf(char *__s, char *__format, ...);
extern sprintf();

gcc complains about conflicting types.

Is this code legal ansi C?

--
Peter Ham			PO Box 3430	(h)(415) 322-4390
MS Computer Science Student	Stanford, CA	ham@cs.stanford.edu
Stanford University 		94309		(o)(415) 723-2067
Technical Details
Message-ID: <HAM.90Feb23135003@Neon.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!decwrl!shelby!neon!neon.Stanford.EDU!ham

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!decwrl!shelby!neon!neon.Stanford.EDU!ham
From: ham@Neon.Stanford.EDU (Peter R. Ham)
Newsgroups: gnu.gcc.bug
Subject: Is this legal?
Message-ID: <HAM.90Feb23135003@Neon.Stanford.EDU>
Date: 23 Feb 90 21:50:03 GMT
Sender: news@Neon.Stanford.EDU (USENET News System)
Distribution: gnu
Organization: Stanford University
Lines: 12