On Saturday, 23 March 2013 at 14:42:06 UTC, 1100110 wrote:
On 03/23/2013 05:01 AM, Moritz Maxeiner wrote:
[snip]
No problem at all. There is an example quoted in the README
and how to
compile it, so without further information form your side I
don't know
what the problem is. To get the example from the README
working:
- Download/Clone the github repo into a folder (let's say
llvm-d)
- cd into that folder
- execute rdmd -L-ldl sample/multithreaded.d
The need for the -dl flag is only for POSIX platforms and will
be gone
with the next commit as I have included a lib pragma.
If the above doesn't help could you please tell me what
exactly you have
done and at which point you have the problems?
-- Moritz
...And its fixed.
TY
No problem, I discovered that using "struct XYZ;" instead of
"struct XYZ {};" will lead to forward referencing errors (which I
did not expect) and changed all the structs accordingly. I'll
have another sample up later today to show a more complex
use-case.