[xsd-users] undefined references after extending the tree
custumization to further types
Boris Kolpackov
boris at codesynthesis.com
Sun Apr 28 09:19:44 EDT 2013
Hi Georg,
Klima Georg <G.Klima at durst-online.at> writes:
> FILE pd-custorm.cpp
>
> #include "pd-custom.hpp"
>
> namespace DPrnCal {
>
> template <typename base> location_impl<base>::location_impl():base(){}
>
> [...]
If you re-read the customization guide more carefully, you will notice
that besides the class template implementation, it also contains the
explicit instantiation requests, for example:
// Explicitly instantiate person_impl class template for person_base.
//
template class person_impl<person_base>;
So in your case you need to add something along those lines:
template class location_impl<location_base>;
template class pointLocation_impl<pointLocation_base>;
Boris
More information about the xsd-users
mailing list