Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!pt.cs.cmu.edu!h.gp.cs.cmu.edu!pje From: pje@h.gp.cs.cmu.edu (Paul Erion) Newsgroups: comp.sys.mac.programmer Subject: problem with using C++'s inline Message-ID: <11648@pt.cs.cmu.edu> Date: 22 Jan 91 21:44:37 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 30 i'm perplexed. i'm trying to use "inline" without much success. definition of the member function: inline TEditCommand* TMiddleSnake::FwdEdit (void) { return fFwdEdit; // "fFwdEdit" is a private member of this class } the linker error is: ### Link: Error: Undefined entry, name: (Error 28) "FwdEdit__12TMiddleSnakeFv" Referenced from: PushLowerRight__5TDiffFP10TEditGraphP12TMiddleSnakeiP10TInfoStack in file: :Obj:Diff.cp.o anyone have any idea about what sort of silly thing i'm doing wrong? thanks, paul %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% INTERNET: pje@cs.cmu.edu UUCP: ...!seismo!cs.cmu.edu!pje USPS: paul erion, c/o school of comp sci, cmu, pittsburgh, pa 15213-3890 phone: (412) 268-3680 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%