Date: Thu, 27 Mar 1997 13:30:47 +0300 (IDT) From: Eli Zaretskii To: Bryan Murphy cc: djgpp AT delorie DOT com Subject: Re: Hello, question, probably been asked a billion times before. In-Reply-To: <199703270107.UAA01491@hcst.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 26 Mar 1997, Bryan Murphy wrote: > I have another file, called UNIVERSE.H/UNIVERSE.CC. This simply > has an object called UNIVERSE which contains a linked list of objects > called OBJECT (each object in the universe). This is where I get the > problems. I instantiated the OBJECT in the LLIST.CC file just as before, > but when I compile I get 'Undefined reference to OBJECT virtual Table' > errors and 'Undefined reference to OBJECT operator =='. The bestway to get useful response is to post the shortest variant of your code that exhibits the problem, together with the *exact* command line you passed to gcc and the error message(s) printed by the compiler, then ask people here to tell what's wrong with it. Another place to ask about such problems is the Gnu C++ news group (sorry, I don't know the exact name, maybe gnu.g++.help?). > Also, any idea when Templates will finally be implemented into g++ > properly? I really tend to rely on them heavily! :( I cannot talk for the Gcc development team, but my guess is: probably when ANSI C++ standard finally is out. Until that time, you are using a language that doesn't have a standard, where problems like these are a fact of life.