Article View: gnu.gcc.bug
Article #1712(none)
From: angel li
Date: Tue, 20 Sep 1988 16:17
Date: Tue, 20 Sep 1988 16:17
38 lines
1373 bytes
1373 bytes
Version 1.28 of GCC no longer prints out the name of the function in which
compilation errors occured. Also if a variable is undefined in one function,
the message about an undefined variable won't be issued for another function
with the same undefined variable name.
Environment:
Ultrix 2.3 & VMS 4.7
GCC 1.28 compiled by GCC 1.28
Angel Li
University of Miami/RSMAS Remote Sensing Group
Internet: angel@flipper.miami.edu UUCP: ncar!umigw!angel
Script started on Tue Sep 20 12:04:27 1988
flipper% gcc -c -v bad.c
gcc version 1.28
/usr/local/lib/gcc-cpp -v -undef -D__GNU__ -D__GNUC__ -Dvax -Dunix bad.c /tmp/cc001196.cpp
GNU CPP version 1.28
/usr/local/lib/gcc-cc1 /tmp/cc001196.cpp -quiet -dumpbase bad.c -version -o /tmp/cc001196.s
GNU C version 1.28 (vax) compiled by GNU C version 1.28.
bad.c:3: undeclared variable `x' (first use here)
flipper% cat bad.c
sub1()
{
x = 2;
}
sub2()
{
x = 3;
}
script done on Tue Sep 20 12:04:41 1988
Technical Details
Message-ID:
<8809201617.AA01206@flipper.miami.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!FLIPPER.MIAMI.EDU!angelShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!FLIPPER.MIAMI.EDU!angel From: angel@FLIPPER.MIAMI.EDU (angel li) Newsgroups: gnu.gcc.bug Subject: (none) Message-ID: <8809201617.AA01206@flipper.miami.edu> Date: 20 Sep 88 16:17:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 37