Article View: gnu.gcc.bug
Article #1951should gcc v1.30 compile this?
From: Andy Fyfe
Date: Thu, 17 Nov 1988 01:41
Date: Thu, 17 Nov 1988 01:41
20 lines
603 bytes
603 bytes
% cat x.c
f()
{
g();
}
h()
{
signal(1, g);
}
g()
{
return;
}
% gcc -c x.c
x.c: In function h:
x.c:8: undeclared variable `g' (first use here)
x.c: In function g:
x.c:12: `g' used prior to declaration
Technical Details
Message-ID:
<8811170141.AA28785@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: should gcc v1.30 compile this? Message-ID: <8811170141.AA28785@csvax.caltech.edu> Date: 17 Nov 88 01:41:19 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20