[dmd-internals] [D-Programming-Language/dmd] d2328d: Fix Issue 13182 - extern(C++) classes cause crash ...

GitHub via dmd-internals dmd-internals at puremagic.com
Wed Jul 23 00:49:20 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: d2328d90739f205e176603519ffe8e65a60247ef
      https://github.com/D-Programming-Language/dmd/commit/d2328d90739f205e176603519ffe8e65a60247ef
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2014-07-23 (Wed, 23 Jul 2014)

  Changed paths:
    M src/declaration.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Fix Issue 13182 - extern(C++) classes cause crash when allocated on the stack with scope

Destructors are not currently allowed on extern(C++) classes, so it should not call delete at all.


  Commit: f740f0da160ec7896472736c0d6418916ac6650a
      https://github.com/D-Programming-Language/dmd/commit/f740f0da160ec7896472736c0d6418916ac6650a
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-07-23 (Wed, 23 Jul 2014)

  Changed paths:
    M src/declaration.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Merge pull request #3797 from yebblies/cppscope

[DDMD] Issue 13182 - extern(C++) classes cause crash when allocated on the stack with scope


Compare: https://github.com/D-Programming-Language/dmd/compare/f43f2ddaad20...f740f0da160e


More information about the dmd-internals mailing list