using DDE with D

2009-12-10 Thread Funog
Can I have some clues on how to use DDE in a D program? Thanks.

TLS definition in curses.o section .tbss mismatches non-TLS reference in /usr/lib/libncurses.a(lib_initscr.o)

2009-12-10 Thread Gareth Charnock
I've been trying to link a d program to a c library (ncurses in this case) on ubuntu 9.10 with dmd v2.036. Converting curses.c to a .d header seemed to go okay when I try to link the files together I get this: dmd -c main.d dmd -c curses.d dmd main.o curses.o -L/usr/lib/libncurses.a

[D2] const vs structs

2009-12-10 Thread Richard Webb
I just tried to build the Juno library with DMD 2.037, and got a bunch or errors like: juno\com\core.d(295): Error: function juno.com.core.GUID.opEquals type signature should be const bool(ref const(GUID)) not bool(GUID other) Which can be replicated with: