Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by angel li
Tue, 20 Sep 1988 16:17
(none)
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads