This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]