Bug 19271 – C++ exception handling does not work on OSX

Status
NEW
Severity
major
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
Mac OS X
Creation time
2018-09-28T03:59:47Z
Last change time
2024-12-07T13:38:41Z
Assigned to
No Owner
Creator
Mathias LANG
Moved to GitHub: dmd#17372 →

Comments

Comment #0 by pro.mathias.lang — 2018-09-28T03:59:47Z
The typeinfo stuff and exception types (core.stdcpp.{typeinfo,exception} are not defined on OSX, but are on Windows and CRuntime_Glibc. Reproduce with: ``` import core.stdcpp.exception; void main () { exception e; } ``` And get: `x.d(2): Error: undefined identifier exception, did you mean class Exception?`
Comment #1 by pro.mathias.lang — 2018-09-28T04:00:12Z
Comment #2 by robert.schadek — 2024-12-07T13:38:41Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17372 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB