[Bug c++/22161] Template linking error

2005-06-27 Thread masse_nicolas at yahoo dot fr
--- Additional Comments From masse_nicolas at yahoo dot fr 2005-06-27 22:02 --- h well. I made an include at the end of my file... it works now. But this is not a nice solution I find. Well, I'll continue that way for now, and wait for the export method to be implemented. I will

[Bug c++/22161] Template linking error

2005-06-23 Thread masse_nicolas at yahoo dot fr
--- Additional Comments From masse_nicolas at yahoo dot fr 2005-06-23 13:16 --- Created an attachment (id=9133) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9133action=view) code who causes the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22161

[Bug c++/22161] Template linking error

2005-06-23 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 13:24 --- This is not a bug, this is how C++ templates work. You want to include templates functions in the same TU as the where you use them. Unless you use export but export is not implemented yet. --