[comp.lang.c++] Bug, feature or poor error message.....

Lindsay.Marshall@newcastle.ac.uk (Lindsay F. Marshall) (10/31/90)

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