🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by William G. Bunton Fri, 26 May 1989 22:19
Incorrect error message in g++ 1.35.0
#2038
Author: William G. Bunton
Date: Fri, 26 May 1989 22:19
26 lines
975 bytes
This is on 386/ix 2.0.1. G++ is configured for i386gas (using
COFF-ENCAPSULATION).

ksh1 [616]$ cat t.cc
struct foo {
  int a;
};
  
main()
{
  foo bar;

  bar.foobar();   <=== no member function `foobar' in type `foo'
}
ksh1 [617]$ g++ -c t.cc
In function int main ():
t.cc:9: no member function `foo' defined within type `foobar'
ksh1 [618]$ 

The function name and type name are reversed in the resulting error
message. 

Bill
--
William G. Bunton            wgb@tntdev.tnt.com     {uunet,natinst}!tntdev!wgb
Tools & Techniques, Inc. Austin, TX        
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