Re: Can't catch Phobos exceptions

2014-04-01 Thread Demetri
On Tuesday, 18 March 2014 at 09:21:05 UTC, Iain Buclaw wrote: On 18 March 2014 01:20, Demetri wrote: On Monday, 17 March 2014 at 18:52:49 UTC, Johannes Pfau wrote: Am Mon, 17 Mar 2014 18:13:36 + schrieb "Demetri" : I wrote a small D program. When compiled with DMD, it works fine, but ne

Re: Can't catch Phobos exceptions

2014-03-18 Thread Iain Buclaw
On 18 March 2014 01:20, Demetri wrote: > On Monday, 17 March 2014 at 18:52:49 UTC, Johannes Pfau wrote: >> >> Am Mon, 17 Mar 2014 18:13:36 + >> schrieb "Demetri" : >> >>> I wrote a small D program. When compiled with DMD, it works fine, but >>> neither GDC nor LDC2 can catch exceptions thrown

Re: Can't catch Phobos exceptions

2014-03-17 Thread Demetri
On Monday, 17 March 2014 at 18:52:49 UTC, Johannes Pfau wrote: Am Mon, 17 Mar 2014 18:13:36 + schrieb "Demetri" : I wrote a small D program. When compiled with DMD, it works fine, but neither GDC nor LDC2 can catch exceptions thrown from Phobos (proven by GDB). How do I fix this? Example

Re: Can't catch Phobos exceptions

2014-03-17 Thread Demetri
I tried reinstalling GDC, but this test faild with GDC 4.9 On Monday, 17 March 2014 at 20:20:24 UTC, Demetri wrote: I have GDC 4.8.2, 64 bit Should I upgrade to 4.9? On Monday, 17 March 2014 at 18:52:49 UTC, Johannes Pfau wrote: Am Mon, 17 Mar 2014 18:13:36 + schrieb "Demetri" : I wrote

Re: Can't catch Phobos exceptions

2014-03-17 Thread Demetri
I have GDC 4.8.2, 64 bit Should I upgrade to 4.9? On Monday, 17 March 2014 at 18:52:49 UTC, Johannes Pfau wrote: Am Mon, 17 Mar 2014 18:13:36 + schrieb "Demetri" : I wrote a small D program. When compiled with DMD, it works fine, but neither GDC nor LDC2 can catch exceptions thrown from

Re: Can't catch Phobos exceptions

2014-03-17 Thread Johannes Pfau
Am Mon, 17 Mar 2014 18:13:36 + schrieb "Demetri" : > I wrote a small D program. When compiled with DMD, it works fine, > but neither GDC nor LDC2 can catch exceptions thrown from Phobos > (proven by GDB). How do I fix this? > > Example code: > > import std.process; > void main(){

Re: Can't catch Phobos exceptions

2014-03-17 Thread Iain Buclaw
On 17 March 2014 18:13, Demetri wrote: > I wrote a small D program. When compiled with DMD, it works fine, but > neither GDC nor LDC2 can catch exceptions thrown from Phobos (proven by > GDB). How do I fix this? > > Example code: > > import std.process; > void main(){ > try > {