July 23, 2014 [dmd-internals] [D-Programming-Language/dmd] d2328d: Fix Issue 13182 - extern(C++) classes cause crash ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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 |
Copyright © 1999-2021 by the D Language Foundation