Re: longjmp crashes on Windows

2013-11-16 Thread Xavier Bigand
Le 16/11/2013 23:26, Rene Zwanenburg a écrit : On Saturday, 16 November 2013 at 16:22:17 UTC, Piotr Podsiadły wrote: On Saturday, 16 November 2013 at 14:41:46 UTC, Maxim Fomin wrote: What kind of problem you try to solve by manual defining system data structures? Why not use platform independen

Re: longjmp crashes on Windows

2013-11-16 Thread Rene Zwanenburg
On Saturday, 16 November 2013 at 16:22:17 UTC, Piotr Podsiadły wrote: On Saturday, 16 November 2013 at 14:41:46 UTC, Maxim Fomin wrote: What kind of problem you try to solve by manual defining system data structures? Why not use platform independent valid declarations? Why did you decide that _

Re: longjmp crashes on Windows

2013-11-16 Thread Piotr Podsiadły
On Saturday, 16 November 2013 at 14:41:46 UTC, Maxim Fomin wrote: What kind of problem you try to solve by manual defining system data structures? Why not use platform independent valid declarations? Why did you decide that _JBLEN is 64, 256, 528 according to version? Why did you decide that ha

Re: longjmp crashes on Windows

2013-11-16 Thread Maxim Fomin
On Saturday, 16 November 2013 at 14:14:24 UTC, Piotr Podsiadły wrote: Hello, I'm trying to use setjmp and longjmp on Windows with DMD compiler (version 2.064). When compiled as 64-bit application, it works, but 32-bit version crashes inside longjmp. What should be changed to get it to work?

longjmp crashes on Windows

2013-11-16 Thread Piotr Podsiadły
Hello, I'm trying to use setjmp and longjmp on Windows with DMD compiler (version 2.064). When compiled as 64-bit application, it works, but 32-bit version crashes inside longjmp. What should be changed to get it to work? I tried changing value of _JBLEN for x86 to some bigger number (like