February 24, 2018
https://issues.dlang.org/show_bug.cgi?id=16243

--- Comment #19 from Walter Bright <bugzilla@digitalmars.com> ---
(In reply to Walter Bright from comment #18)
> Temporary workaround

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

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

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

https://github.com/dlang/dmd/commit/6966e6e0a9bf4ddf2760a46619e0c247ae8405ff Temporary workaround for Issue 16243

https://github.com/dlang/dmd/commit/7969814467287d19726c81886c27e0692581092f Merge pull request #7952 from WalterBright/workaround16243

Temporary workaround for Issue 16243

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

--- Comment #21 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/7963

--
March 03, 2018
https://issues.dlang.org/show_bug.cgi?id=16243

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

https://github.com/dlang/dmd/commit/3ec7537f76142b23f5eed062f0420a20abcc0f9b Temporary workaround for Issue 16243 (#7970)

--
March 03, 2018
https://issues.dlang.org/show_bug.cgi?id=16243

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

https://github.com/dlang/dmd/commit/cc2969695518e87d3be9a21d18689db46a8a0fae fix Issue 16243 - wrong C++ argument passing with empty struct when interfacing with Clang

https://github.com/dlang/dmd/commit/5fa9df9ebbfabd109dd20895d86b48eee636e1c6 Merge pull request #7963 from WalterBright/fix16243

fix Issue 16243 - wrong C++ argument passing with empty struct when i…

--
March 03, 2018
https://issues.dlang.org/show_bug.cgi?id=16243

github-bugzilla@puremagic.com changed:

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

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

David Nadlinger <code@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@klickverbot.at

--- Comment #24 from David Nadlinger <code@klickverbot.at> ---
cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336 (per @ibuclaw)

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #25 from Iain Buclaw <ibuclaw@gdcproject.org> ---
(In reply to David Nadlinger from comment #24)
> cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336 (per @ibuclaw)

Thanks.

To summarize the above GCC bug.  They have recognized the difference in empty struct sizes as a bug, and this is now fixed in GCC 8.  So C, C++, GCC, and Clang should all pass empty structs in the same way - rather than two different ways.

How this affects dmd?  I guess you will need to revert whatever workarounds you've applied in order to support the double behaviour.

--
1 2 3
Next ›   Last »