Aaron Puchert <> changed:

           What    |Removed                     |Added
     Ever confirmed|0                           |1
                 CC|                            |
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Aaron Puchert <> ---
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.


You are receiving this mail because:
You are watching all bug changes.

Reply via email to