From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: bw@student.ecok.edu (Bill Walker), egcs@cygnus.com Subject: Re: SCO experiences Date: Fri, 03 Oct 1997 08:11:00 -0000 Message-id: References: X-SW-Source: 1997-10/msg00157.html >>>>> Bill Walker writes: > Experience 4: > Under g++, I found something I think should work, but doesn't under any > compiler I have ever found, including this one. > Suppose I wish to create a template, say of an array: > template.h <--- contains the template class definition > template.cc <-- contains "generic" code > main.cc <-- "fills in the blank type" and instantiates the template > main.cc #includes template.h, and template.cc #includes template.h > The compile will fail. I really don't believe it should. g++ doesn't support separate compilation of templates. Jason