Thread overview
[Issue 18957] extern(C++) doesn't mangle 'std' correctly on posix systems
Jun 08, 2018
Manu
Jun 08, 2018
Mathias LANG
June 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18957

Manu <turkeyman@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |C++
           Severity|enhancement                 |normal

--
June 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18957

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #1 from Mathias LANG <pro.mathias.lang@gmail.com> ---
Duplicate of Guillaume's https://issues.dlang.org/show_bug.cgi?id=14178

*** This issue has been marked as a duplicate of issue 14178 ***

--
June 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18957

--- Comment #2 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/4b17e0b1a08b161fb69b3c68dc7b468749181264 Fix issue 18957 - extern(C++) doesn't mangle 'std' correctly on posix systems

--
June 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18957

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |FIXED

--
September 15, 2018
https://issues.dlang.org/show_bug.cgi?id=18957

Илья Ярошенко <ilyayaroshenko@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |ilyayaroshenko@gmail.com
         Resolution|FIXED                       |---

--- Comment #3 from Илья Ярошенко <ilyayaroshenko@gmail.com> ---
see description in https://issues.dlang.org/show_bug.cgi?id=19248

--
September 15, 2018
https://issues.dlang.org/show_bug.cgi?id=18957

--- Comment #4 from Илья Ярошенко <ilyayaroshenko@gmail.com> ---
(In reply to Manu from comment #0)
> extern (C++, std)
> {
>   struct test {}
> }
> extern (C++) void test(ref const(std.test) t) {}
> 
> Expect: _Z4testRKNSt4testE
> Actual: _Z4testRKN3std4testE

Actual should be something like _Z4testRKSt4test

--
September 16, 2018
https://issues.dlang.org/show_bug.cgi?id=18957

Илья Ярошенко <ilyayaroshenko@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Илья Ярошенко <ilyayaroshenko@gmail.com> ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/9cb46f842778b3b7d3cb4efe698c32765fd72220 fix Issue 19248

https://github.com/dlang/dmd/commit/2db16adbced9e7736802c3d4fbaa0ca6c79f8dc5 Merge pull request #8700 from 9il/issue19248

[~regression fix] fix Issue 19248 and reopened 18957 merged-on-behalf-of: David Nadlinger <code@klickverbot.at>

--