May 09, 2017 [Issue 14956] C++ Mangling incompatible with C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14956 Sahmi Soulaïman (سليمان السهمي) <sahmi.soulaimane@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sahmi.soulaimane@gmail.com --- Comment #10 from Sahmi Soulaïman (سليمان السهمي) <sahmi.soulaimane@gmail.com> --- I would like to point out that the __cxx11 namespace is not the only problem, infact there is another non trivial problem is the abi_tag used on functions that return a std::basic_string. for exaplme the following function: ``` std::base_string!char func() {} ``` will get the (demangled) name "func[cxx11]()", and there is actually no way of representing that in D. -- |
October 26, 2017 [Issue 14956] C++ Mangling incompatible with C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14956 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |mangling CC| |bugzilla@digitalmars.com -- |
November 01, 2017 [Issue 14956] C++ Mangling incompatible with C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14956 --- Comment #11 from Walter Bright <bugzilla@digitalmars.com> --- I'm not sure this is actually a D compiler problem. If, on the D side, basic_string is aliased to __cxx11::basic_string, it should mangle correctly. This is pointed out in Comment 4. -- |
November 01, 2017 [Issue 14956] C++ Mangling incompatible with C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14956 --- Comment #12 from Walter Bright <bugzilla@digitalmars.com> --- (In reply to Sahmi Soulaïman (سليمان السهمي) from comment #10) > std::base_string!char func() {} The code is neither C++ nor D. Please provide an accurate code example, what it mangles to, and what it should mangle to. Thanks! -- |
November 10, 2017 [Issue 14956] C++ Mangling incompatible with C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14956 --- Comment #13 from Sahmi Soulaïman (سليمان السهمي) <sahmi.soulaimane@gmail.com> --- (In reply to Walter Bright from comment #12) > The code is neither C++ nor D. Please provide an accurate code example, what it mangles to, and what it should mangle to. Thanks! example: --- #include <string> std::string toString(char* s) { return s; } --- The function "toString" above returns `std::string`, thus mangles to: "_Z8toStringB5cxx11Pc", which is in demangled form: "toString[abi:cxx11](char*)". The question is: how to emulate the "[abi:cxx11]" part of the mangling in d? Thanks! -- |
June 08, 2019 [Issue 14956] C++ Mangling incompatible with C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14956 --- Comment #14 from Suleyman Sahmi (سليمان السهمي) <sahmi.soulaimane@gmail.com> --- I opened a dedicated issue for the abi_tag: issue #19949. -- |
March 01, 2022 [Issue 14956] C++ Mangling incompatible with C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14956 Nicholas Wilson <iamthewilsonator@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |iamthewilsonator@hotmail.co | |m Resolution|--- |FIXED --- Comment #15 from Nicholas Wilson <iamthewilsonator@hotmail.com> --- This has since been fixed -- |
Copyright © 1999-2021 by the D Language Foundation