Re: C++ Templates and symbols not defined in .o files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wesley Smith <wesley.hoke@xxxxxxxxx> writes:

> The problem is that when I go to use it in a .cpp file, the symbol for
> this function is U (undefined) instead of W (weak) as it should be.
> For example, I have a couple of .cpp files that use the exact same
> code, just changing the class T the template is based on.  In all but
> 1 of the .o files resulting, the symbol is W.  What's strange is that
> I'm compiling these files with exactly the same flags.

Can you show us a standalone test case?

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux