A
Alexander Stippler
Hi,
I've got some linking trouble. I've got a project with many template
classes. Everything works fine as long as I do not use -O3 for optimizing.
If I use it, I get some linker error about undefined references. All
methods, the linker misses, are empty member functions of template classes.
So the compiler optimizes them away with -O3, but the linker still needs
them!?!. What can I do about it?
regards,
Alex
I've got some linking trouble. I've got a project with many template
classes. Everything works fine as long as I do not use -O3 for optimizing.
If I use it, I get some linker error about undefined references. All
methods, the linker misses, are empty member functions of template classes.
So the compiler optimizes them away with -O3, but the linker still needs
them!?!. What can I do about it?
regards,
Alex