rfg@ICS.UCI.EDU (12/11/89)
The following example, taken directly from the new manual (9.1)
gets a rather odd error from G++ 1.36.0 and from 1.36.1. This
should not get any errors (odd or otherwise).
Script started on Sun Dec 10 20:38:36 1989
ics>att nl -ba namespace.C
1 // Example from Section 9.1 of the new C++ Reference Manual
2
3 struct stat {
4 // ...
5 };
6
7 int stat (struct stat *);
8
9 void f()
10 {
11 struct stat s; // `struct' needed to name struct
12 stat(&s); // call of the function stat()
13 }
ics>g++ -v -c namespace.C
gcc version 1.36.0 (based on GCC 1.36)
/usr/gnu/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dunix -Di386 -Dsequent -D__unix__ -D__i386__ -D__sequent__ namespace.C /usr/tmp/cc012758.cpp
GNU CPP version 1.36
/usr/gnu/lib/gcc-cc1plus /usr/tmp/cc012758.cpp -quiet -dumpbase namespace.C -version -o /usr/tmp/cc012758.s
GNU C++ version 1.36.0 (based on GCC 1.36) (80386, BSD syntax) compiled by GNU C version 1.36.
default target switches: -m80387
namespace.C: In function void f ():
namespace.C:12: at this point in file
ics>exit
exit
script done on Sun Dec 10 20:39:26 1989