Sender: nate AT cartsys DOT com Message-ID: <360C3A58.648EE409@cartsys.com> Date: Fri, 25 Sep 1998 17:50:32 -0700 From: Nate Eldredge MIME-Version: 1.0 To: sl AT psycode DOT com CC: djgpp AT delorie DOT com Subject: Re: GCC/EGCS bug References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk sl AT psycode DOT com DOT REMOVE_THIS wrote: > > Hi, > > I have noticed that when using GCC or EGCS (someone else tested EGCS > for me off linux), if you use templates with your classes at all, you > cannot split up your protypes and implementation.. Unless both are in > the same file, GCC/EGCS will complain the functions (defined in the > cc file) are undefined .. This is when compling using RHIDE with > "#include "range."" and "range.cc" in my project file.. I don't have > problems of this sort (with RHIDE) in any other instance, I don't use C++, and I have only a hazy idea what templates are, so this answer may be totally bogus. However, the "Template Instantiation" node of the GCC manual seems to discuss something like this. Have you read it? -- Nate Eldredge nate AT cartsys DOT com