Thread overview
[Issue 21314] ICE on extern(c++) static class variables
Oct 15, 2020
Basile-z
Oct 15, 2020
Basile-z
May 13, 2022
Iain Buclaw
May 13, 2022
Iain Buclaw
May 15, 2022
Dlang Bot
May 16, 2022
Dlang Bot
October 15, 2020
https://issues.dlang.org/show_bug.cgi?id=21314

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--
October 15, 2020
https://issues.dlang.org/show_bug.cgi?id=21314

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
lower to normal issue as, as someone pointed me, it's possible to write

---
extern(C++) class C{extern(D) static C[] cs; }
---

which could be be suggested in the diagnostic maybe.
But at least the problem is not a blocker, it's just about an unaesthetic
message.

--
May 13, 2022
https://issues.dlang.org/show_bug.cgi?id=21314

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ibuclaw@gdcproject.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---


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

--
May 13, 2022
https://issues.dlang.org/show_bug.cgi?id=21314

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=16575
         Resolution|DUPLICATE                   |---

--- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Oops, this refers to static variable types, not functions.

--
May 15, 2022
https://issues.dlang.org/show_bug.cgi?id=21314

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw updated dlang/dmd pull request #14125 "fix Issue 16575 - [ICE] extern(C++) function with D specific types" fixing this issue:

- fix Issue 21314 - ICE on extern(c++) static class variables

https://github.com/dlang/dmd/pull/14125

--
May 16, 2022
https://issues.dlang.org/show_bug.cgi?id=21314

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14125 "fix Issue 16575 - [ICE] extern(C++) function with D specific types" was merged into master:

- 4ad6300a55b6116705cb008415ec825ead66446a by Iain Buclaw:
  fix Issue 21314 - ICE on extern(C++) static class variables

https://github.com/dlang/dmd/pull/14125

--