SVN commit 919424 by apaku: Forward declare the template-specialization, this should make msvc see that it exists and use it (hence not going to the assert) and it still compiles and links on linux. M +4 -0 templatedeclaration.h --- trunk/KDE/kdevelop/plugins/languages/cpp/cppduchain/templatedeclaration.h #919423:919424 @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -350,6 +351,9 @@ * */ AbstractType::Ptr resolveDelayedTypes( AbstractType::Ptr type, const KDevelop::DUContext* context, const KDevelop::TopDUContext* source, KDevelop::DUContext::SearchFlags searchFlags = KDevelop::DUContext::NoUndefinedTemplateParams ); +template<> +Declaration* SpecialTemplateDeclaration::resolve(const TopDUContext* topContext) const; + } #endif