https://bugs.kde.org/show_bug.cgi?id=417679
Aaron Puchert <aaronpuch...@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |aaronpuch...@alice-dsl.net Status|REPORTED |CONFIRMED --- Comment #1 from Aaron Puchert <aaronpuch...@alice-dsl.net> --- Looks valid to me. The template is only declared in kdev-pg/kdev-pg-code-gen.h, while the definition is in kdev-pg/kdev-pg-code-gen.cpp. When the template is referenced from kdev-pg/kdev-pg-ast-gen.cpp, the definition isn't available, so the compiler can't instantiate the template. The solution would be to move the template to the header file or instantiate all necessary variants explicitly [1]. By the way, Clang can warn about situations like that with -Wundefined-func-template. [1] https://en.cppreference.com/w/cpp/language/function_template#Explicit_instantiation -- You are receiving this mail because: You are watching all bug changes.