digitalmars.D.learn - setjmp support for windows.
- zz (4/4) Feb 24 Hi,
- Paul Backus (6/10) Mar 04 It's a standard C function, and Microsoft's online library
- zz (5/17) Mar 10 Hi Paul,
- Paul Backus (3/20) Mar 10 Strange. Looks like it's (incorrectly?) included with the
On Monday, 24 February 2025 at 12:53:30 UTC, zz wrote:Hi, Is setjmp/longjmp supported under windows? Regards, zzIt's a standard C function, and Microsoft's online library documentation says that it's supported, so it should work. In D, bindings for standard C headers are available in the `core.stdc` package, so you can access `<setjmp.h>` with `import core.stdc.setjmp;`.
Mar 04
On Tuesday, 4 March 2025 at 11:25:14 UTC, Paul Backus wrote:On Monday, 24 February 2025 at 12:53:30 UTC, zz wrote:Hi Paul, core.stdc.setjmp; doesn't exist. Regards, zzHi, Is setjmp/longjmp supported under windows? Regards, zzIt's a standard C function, and Microsoft's online library documentation says that it's supported, so it should work. In D, bindings for standard C headers are available in the `core.stdc` package, so you can access `<setjmp.h>` with `import core.stdc.setjmp;`.
Mar 10
On Monday, 10 March 2025 at 13:58:08 UTC, zz wrote:On Tuesday, 4 March 2025 at 11:25:14 UTC, Paul Backus wrote:Strange. Looks like it's (incorrectly?) included with the POSIX-specific headers, under `core.sys.posix.setjmp`.On Monday, 24 February 2025 at 12:53:30 UTC, zz wrote:Hi Paul, core.stdc.setjmp; doesn't exist.Hi, Is setjmp/longjmp supported under windows? Regards, zzIt's a standard C function, and Microsoft's online library documentation says that it's supported, so it should work. In D, bindings for standard C headers are available in the `core.stdc` package, so you can access `<setjmp.h>` with `import core.stdc.setjmp;`.
Mar 10