Using D libs in C

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Jan 16 15:24:19 PST 2011


I've just realized I didn't even prototype the function in the C
module. DMC doesn't warn about this, it seems. Not even with the -A
(ANSI C) flag. It won't even warn me when I prototype the function and
pass doubles instead of ints. Maybe I didn't enable all warnings?
(I've used: dmc -wc -v2 -A).


More information about the Digitalmars-d-learn mailing list