Robert Clipsham <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Robert Clipsham <> 2010-06-06 
17:59:33 BST ---
I don't think this bug is valid, something does need to be done about it
though. The following works:
alias extern(C) void delegate() cdg;
extern (C)
void c_func(void delegate() dg);
void d_func(cdg dg) { c_func(dg); }
So the problem is the linkage of the delegates doesn't match, there's no way to
get around it without an alias though, you can't have extern(C) in the function
parameters. Either the error needs improving, or there needs to be a way to
specify the linkage in the function args.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to