[cfe-dev] partial specializations of member templates style + traceback...

Fons Rademakers Fons.Rademakers at cern.ch
Wed Oct 21 07:01:46 PDT 2009


Hi (Doug),

    any idea when this will be no longer an assert:

clang-cc: 
/home/rdm/llvm/src/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:419: 
clang::Decl*<unnamed>::TemplateDeclInstantiator::VisitClassTemplatePartialSpecializationDecl(clang::ClassTemplatePartialSpecializationDecl*): 
Assertion `false &&"Partial specializations of member templates are 
unsupported"' failed.
0   clang-cc        0x00000000010d7416
1   clang-cc        0x00000000010d79fc
2   libpthread.so.0 0x0000003eb5c0e7c0
3   libc.so.6       0x0000003eb5030265 gsignal + 53
4   libc.so.6       0x0000003eb5031d10 abort + 272
5   libc.so.6       0x0000003eb50296e6 __assert_fail + 246
6   clang-cc        0x00000000007d5405
7   clang-cc        0x00000000007d9371
8   clang-cc        0x00000000007d9708
9   clang-cc        0x00000000007ce78d
10  clang-cc        0x00000000007cfce0
11  clang-cc        0x00000000007dc70b
12  clang-cc        0x00000000006cf299
13  clang-cc        0x0000000000796eb1
14  clang-cc        0x00000000007b77fa
15  clang-cc        0x00000000007c0ebd
16  clang-cc        0x00000000007bdfbe
17  clang-cc        0x00000000007c210c
18  clang-cc        0x00000000007d6767
19  clang-cc        0x00000000007d9303
20  clang-cc        0x00000000007d9708
21  clang-cc        0x00000000007ce78d
22  clang-cc        0x00000000007cfce0
23  clang-cc        0x00000000007dc70b
24  clang-cc        0x00000000006cf299
25  clang-cc        0x0000000000770ecd
26  clang-cc        0x00000000006f519b
27  clang-cc        0x000000000089484d
28  clang-cc        0x000000000089d8c2
29  clang-cc        0x000000000089e46c
30  clang-cc        0x000000000089f664
31  clang-cc        0x00000000008956fc
32  clang-cc        0x000000000088c355
33  clang-cc        0x000000000088cf84
34  clang-cc        0x000000000088d038
35  clang-cc        0x00000000006bfc2b
36  clang-cc        0x0000000000429912
37  clang-cc        0x000000000042bab7 main + 3203
38  libc.so.6       0x0000003eb501d994 __libc_start_main + 244
39  clang-cc        0x0000000000421f69
Stack dump:
0.      Program arguments: /home/rdm/llvm/inst/bin/../libexec/clang-cc 
-triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free 
-main-file-name TGeoPatternFinder.h --relocation-model static 
--disable-fp-elim --unwind-tables=1 --mcpu=x86-64 --fmath-errno=1 
-D_REENTRANT -I/home/rdm/root/include 
-I/usr/include/c++/4.1.2/x86_64-redhat-linux -pthread -fexceptions 
-fdiagnostics-show-option -x c++ root/include/TGeoPatternFinder.h
1.      /home/rdm/root/include/TGeoElement.h:325:12: at annotation token
2.      /home/rdm/root/include/TGeoElement.h:315:1: parsing 
struct/union/class body 'TGeoElementTable'
clang: error: compiler command failed due to signal 6 (use -v to see 
invocation)

It is basically the only remaining header parse error for our system.

Also it looks like the Linux traceback is not fully implemented. Is 
somebody working on this? Of course for MacOS the traceback is complete.

Cheers, Fons.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers at cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640



More information about the cfe-dev mailing list