Re: [trojita] Clang fun with templates

2015-01-07 Thread Jan Kundrát
On Sunday, 4 January 2015 00:58:41 CEST, Thomas Lübking wrote: You may add as many template class Template; as ever you like and wherever you want - clang won't compile, while gcc is happy with the one implementation in class.cpp and no explicit instatiation at all. (Notice that multiple ex

[trojita] Clang fun with templates

2015-01-03 Thread Thomas Lübking
Hi everybody, please see https://gerrit.vesnicky.cesnet.cz/r/#/c/300/1 for reference. --- Attached is a stripped-down testcase of the PartVisitor template used in trojita. $ tar -xJf template_test.txz $ cd template_test $ g++ -o test main.cpp class.cpp # this should have worked nicely, wher