Thread overview
[Issue 20429] extern(C++) mangling of multiple const ref params
Dec 04, 2019
John Colvin
Dec 04, 2019
kinke
Dec 04, 2019
kinke
Dec 04, 2019
John Colvin
December 04, 2019
https://issues.dlang.org/show_bug.cgi?id=20429

John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from John Colvin <john.loughran.colvin@gmail.com> ---
sorry, my mistake, ignore

--
December 04, 2019
https://issues.dlang.org/show_bug.cgi?id=20429

kinke <kinke@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |kinke@gmx.net
         Resolution|INVALID                     |---

--- Comment #2 from kinke <kinke@gmx.net> ---
I can reproduce this, after fixing your pragma(mangle) (using `foo` twice). The
`bar` Itanium mangling is fine (with/without namespace), but `foo` is off -
`_ZN4blah3fooERKNS_1SES1_` (DMD frontend) vs. `_ZN4blah3fooERKNS_1SES2_` (gcc,
https://cpp.godbolt.org/z/j9sZdM). Haven't checked MSVC mangling.

--
December 04, 2019
https://issues.dlang.org/show_bug.cgi?id=20429

kinke <kinke@gmx.net> changed:

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

--- Comment #3 from kinke <kinke@gmx.net> ---
Argh, this was a v2.088.1 regression (still in v2.089.0) and is already fixed
in master and stable (https://github.com/dlang/dmd/pull/10477).

--
December 04, 2019
https://issues.dlang.org/show_bug.cgi?id=20429

John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED
           Severity|major                       |regression

--- Comment #4 from John Colvin <john.loughran.colvin@gmail.com> ---
ok, changing to regression and fixed.

I guess I'm stuck on dmd 2.088.0 for now then

--