Article View: gnu.gcc.bug
Article #2211warning message in gcc 1.32
From: Andy Fyfe
Date: Fri, 27 Jan 1989 03:45
Date: Fri, 27 Jan 1989 03:45
14 lines
964 bytes
964 bytes
Earlier rms had sent me mail saying he was considering putting this warning under '-pedantic'. Whether or not that happens, the new, extending warning is misleading. % cat test.c extern int sprintf(char *, const char *, ...); extern int sprintf(); % gcc -c test.c test.c:3: conflicting types for `sprintf' test.c:3: an argument type that has a default promotion test.c:3: can't match an empty parameter list declaration test.c:1: here is the previous declaration of `sprintf' 26402 Exit 1 gcc -c test.c
Technical Details
Message-ID:
<8901270345.AA26413@csvax.caltech.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!bionet!rutgers!mailrus!cwjcc!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!bionet!rutgers!mailrus!cwjcc!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy From: andy@CSVAX.CALTECH.EDU (Andy Fyfe) Newsgroups: gnu.gcc.bug Subject: warning message in gcc 1.32 Message-ID: <8901270345.AA26413@csvax.caltech.edu> Date: 27 Jan 89 03:45:39 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 14