Re: Oddness with C binding

2012-05-03 Thread Don Clugston
On 03/05/12 06:28, James Miller wrote: I'm writing bindings to XCB right now, and its mostly going smoothly. However I have encountered a very strange problem. This bit of code segfaults with DMD: auto connection = xcb_connect(null, null); auto setup = xcb_get_setup(connection); auto iter =

Re: Oddness with C binding

2012-05-03 Thread Shahid
I was blocked by Issue 5570 (DMD64), here was the progress I made before giving up https://gist.github.com/1131642

Oddness with C binding

2012-05-02 Thread James Miller
I'm writing bindings to XCB right now, and its mostly going smoothly. However I have encountered a very strange problem. This bit of code segfaults with DMD: auto connection = xcb_connect(null, null); auto setup = xcb_get_setup(connection); auto iter =