From: "Andrew R. Gillett" Newsgroups: comp.os.msdos.djgpp Subject: Static member function Date: Tue, 21 Dec 1999 22:40:18 -0000 Organization: www.release-dates.co.uk Lines: 12 Message-ID: NNTP-Posting-Host: modem-6.orange-spotted-sleeper-goby.dialup.pol.co.uk X-Trace: newsg1.svr.pol.co.uk 945815996 13098 62.137.50.6 (21 Dec 1999 22:39:56 GMT) NNTP-Posting-Date: 21 Dec 1999 22:39:56 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: MicroPlanet Gravity v2.20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com static dog_class* dog_class::breed (dog_class* dog1, dog_class* dog2) entity.cpp:30: cannot declare member function `dog_class::breed(dog_class *, dog_class *)' to have static linkage This is the first time I have used static member functions in a class. I don't understand why this doesn't work. Anyway, that's not the declaration, it's the definition. It didn't complain on the declaration. -- Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage "Like all mothers, Mother Nature is a whore." - Greg Evigan