digitalmars.D.bugs - [Issue 14086] New: Invalid extern C++ name for constructor /
- via Digitalmars-d-bugs (21/23) Jan 30 2015 https://issues.dlang.org/show_bug.cgi?id=14086
https://issues.dlang.org/show_bug.cgi?id=14086 Issue ID: 14086 Summary: Invalid extern C++ name for constructor / destructor Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: chatelet.guillaume gmail.com See the following code : https://github.com/gchatelet/dlang_cpp_std/blob/0ff5abaf035a352dd3b46d5b19b2cd222cedf7a6/cpp_std.d The constructor is mangled as : std::basic_string<char, std::char_traits<char>, std::allocator<char>::__ctor()But should be defined as : std::basic_string<char, std::char_traits<char>, std::allocator<char>::basic_string()Same thing for the destructor. --
Jan 30 2015