Compiling with Clang++ I got an error. I googled it and it looks like clang is being more strict than gcc but it is correct. You have to explicitly give the namespaces in this case. Here's a link discussing the error I found: http://docwiki.embarcadero.com/RADStudio/Rio/en/Explicit_instantiation_of_%27namespace::templated_class%27_must_occur_in_namespace_%27namespace%27_(C%2B%2B)
template class KFIXED<kint16, 3="">;
=>template class KDIS::DATA_TYPE::KFIXED<kint16, 3="">;
template class KFIXED<kint16, 8="">;
=> template class KDIS::DATA_TYPE::KFIXED<kint16, 8="">;
template class KFIXED<kint8, 3="">;
=> template class KDIS::DATA_TYPE::KFIXED<kint8, 3="">;</kint8,></kint8,></kint16,></kint16,></kint16,></kint16,>
template class LE_Vector<kfixed16_3>;
=> template class KDIS::DATA_TYPE::LE_Vector<kfixed16_3>;
template class LE_Vector<kfixed8_3>;
=> template class KDIS::DATA_TYPE::LE_Vector<kfixed8_3>;</kfixed8_3></kfixed8_3></kfixed16_3></kfixed16_3>
Anonymous
Oh thanks. Ill take a look
Fixed in https://sourceforge.net/p/kdis/code/merge-requests/47/