Part Number:TMS320F2809
Tool/software: TI C/C++ Compiler
Hi,
I'm having a problem with a situation where I have an executable project depend on a static library project which uses (internally) a fully instantiated template type and calls one of its member functions.
When linking with the executable which uses a function from the library that does the template member call, the link fails with unresolved symbols unless I instantiate the template in the executable project as well (in which case it seems that the linker edits the executable object file at link time to include the required template member definition).
I've narrowed it down to template type member functions which aren't defined in the type's body and reproduced the problem with every compiler version since 16.9.0 up to 18.1.1
A minimal test case is attached. I hope this isn't intended behaviour because including internal library files is an ugly hack and it messes up my build.
Thanks,
Ane.
(Please visit the site to view this file)