wgb@tntdev.tnt.com (William G. Bunton) (05/27/89)
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