This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Templates
- From: Eduardo Cesar Cabrera Flores <eccf at super dot unam dot mx>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 26 Mar 2003 17:35:58 +0000 (GMT)
- Subject: Templates
How to compile multiples files source code with templates classes and
functions in a makefile?
g++ -v
Reading specs from /local/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ./configure --prefix=/local/gcc
Thread model: single
gcc version 3.1
it works with g++ standalone well, but when i try to complie with a
makefile or compile with options "-c" & "--frepo -fno-implicit-templates"
it fails!!!
in my ".h" file include my definitions of the funcion it means the ".C"
file
#include "my_definitions.C"
what is wrong?
Do u got some examples about compiling with a makefile with templates?
thanks in advance
cafe