problems with gcc

Andreia R de Assuncao Schneider andreia@comp.ufla.br
Fri Jul 26 13:18:00 GMT 2002


  Hi,
I made my program separating the files .h (declarations) and .cpp 
(definitions), but some classes have template, and the gcc gives 
linkage  error. I was informed that the gcc doesn't accept this 
separation. Someone can say me why this problem occur? How can I do? 
Do I do the declaration and the definition only in a file .h,
or there is a solution for this problem? 
 
  Thanks in advance,

--
Andreia Schneider
 
 
 



More information about the Gcc-help mailing list