Article View: gnu.gcc.bug
Article #1950prototypes in gcc version 1.30
From: Andy Fyfe
Date: Thu, 17 Nov 1988 01:30
Date: Thu, 17 Nov 1988 01:30
9 lines
698 bytes
698 bytes
Gcc v 1.30 rejects the following pair as conflicting: extern int sprintf(); extern int sprintf(char *, const char *, ...); Without the "..." it's fine. Sprintf in particular is a favourite extern to appear in code. % gcc -c x.c x.c:2: conflicting types for `sprintf' x.c:1: previous declaration of `sprintf'
Technical Details
Message-ID:
<8811170130.AA28656@csvax.caltech.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy From: andy@CSVAX.CALTECH.EDU (Andy Fyfe) Newsgroups: gnu.gcc.bug Subject: prototypes in gcc version 1.30 Message-ID: <8811170130.AA28656@csvax.caltech.edu> Date: 17 Nov 88 01:30:30 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 9