🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by rfg Mon, 11 Dec 1989 04:44
BUG in G++ 1.36.0 & 1.36.1
#703
Author: rfg
Date: Mon, 11 Dec 1989 04:44
34 lines
1578 bytes
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
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