User forums > Help

How to setup for G++

<< < (4/4)

oBFusCATed:
https://stackoverflow.com/questions/1639797/template-issue-causes-linker-error-c

DanW_58:
That's an amazing link;  a lot of my problems went away by bringing definitions of template class functions back to the header file.
Including seemingly unrelated linker problems;  I thought my .o file was not being seen, but after bringing back functions to the
header file it all compiles and links.  I can't say I understand why;  though;  I know nothing about cookies and ovens;  I don't bake.

Navigation

[0] Message Index

[*] Previous page

Go to full version