-betterC and extern(C++) classes
Yuxuan Shui via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 10 01:40:50 PDT 2017
I was experimenting with -betterC and found out that C++ classes
doesn't work. Because the resulting object file needs a symbol
"_D14TypeInfo_Class6__vtblZ" which is in druntime. I suppose this
is to support T.classinfo?
Could we remove T.classinfo and make classes work under -betterC?
Or is there some other reason preventing this from happening?
More information about the Digitalmars-d