Thread overview
[Issue 18449] dmd allows to compile `extern(C++) class` even though it should be extern(C++) struct; should give error
[Issue 18449] extern(C++) class layout does not work
Feb 16, 2018
Timothee Cour
Feb 16, 2018
Timothee Cour
Feb 16, 2018
Timothee Cour
Feb 16, 2018
Timothee Cour
Jun 14, 2019
Mathias LANG
February 16, 2018
https://issues.dlang.org/show_bug.cgi?id=18449

Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |timothee.cour2@gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Timothee Cour <timothee.cour2@gmail.com> ---
my bad: forgot to add `virtual ~A();`, closing

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

Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|extern(C++) class layout    |dmd allows to compile
                   |does not work               |`extern(C++) class` even
                   |                            |though it should be
                   |                            |extern(C++) struct; should
                   |                            |give error

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

--- Comment #2 from Timothee Cour <timothee.cour2@gmail.com> ---
reopening and changed title to:

dmd allows to compile `extern(C++) class` even though it should be extern(C++)
struct; should give error

is that fixable or fundamentally hard to detect when key method is defined ?

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

Timothee Cour <timothee.cour2@gmail.com> changed:

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

--
June 14, 2019
https://issues.dlang.org/show_bug.cgi?id=18449

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

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

--- Comment #3 from Mathias LANG <pro.mathias.lang@gmail.com> ---
Marking as duplicate of 18845 as the later is better worded

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

--