On 2 November 2013 13:53, Jacob Carlborg <doob@me.com> wrote:
On 2013-11-02 13:54, Steve Teale wrote:

Thanks Jacob. My next linking problem is that I have lots of undefined
externals relating to libpthread. I suspect this may be a CodeBlocks
configuration error. I've tried every whichway but have not found a way
round this yet. Most frustrating.

How are you compiling? DMD automatically links with libpthread. You can pass the -v (verbose) flag to DMD to see what command it uses for linking. Otherwise you could try and explicitly link with libpthread:

dmd main.d -L-lpthread


Really?  I thought that was dmd.conf telling the compiler to do that....


--
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';