Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!newcastle.ac.uk!stobhill!nlfm From: Lindsay.Marshall@newcastle.ac.uk (Lindsay F. Marshall) Newsgroups: comp.lang.c++ Subject: Bug, feature or poor error message..... Message-ID: <1990Oct31.131357.29117@newcastle.ac.uk> Date: 31 Oct 90 13:13:57 GMT Sender: news@newcastle.ac.uk Organization: Computing Lab, University of Newcastle upon Tyne, UK, NE1 7RU Lines: 32 The following header file : class Clock; class Fred { public: Fred(); private: int i; }; inline Fred::Fred() { extern Clock c; i = 0; } when compiled with AT&T 2.1 produces the error message: sorry, not implemented: cannot expand inline function with static c I can see why not, but surely we could have a better error message..... L. -- MAIL : Lindsay.Marshall@newcastle.ac.uk (UUCP: s/\(.*\)/...!ukc!\1/) POST : Computing Laboratory, The University, Newcastle upon Tyne, UK NE1 7RU VOICE: +44-91-222-8267 FAX: +44-91-222-8232