Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!sun-barr!lll-winken!arisia!sgi!shinobu!odin!warp.sgi.com!kipp From: kipp@warp.sgi.com (Kipp Hickman) Newsgroups: comp.lang.c++ Subject: C++ 2.0 bug Message-ID: <871@odin.SGI.COM> Date: 9 Oct 89 19:37:23 GMT Sender: news@odin.SGI.COM Reply-To: kipp@warp.sgi.com (Kipp Hickman) Organization: Silicon Graphics, Entry Systems Division Lines: 32 Say I do this: class foo { ... friend foo* doSomething(foo* a, ...); }; Then in foo.c++ I write this: static foo* doSomething(foo* a, ...) { ... } The compiler complains that the declaration of doSomething is both extern & static. So then I try this: class foo { ... static friend foo* doSomething(foo* a, ...); }; And that yields this complaint: error: bad base type: static friend UGH. kipp hickman silicon graphics inc.