If I compile this wrong program:
import core.stdc.stdio: printf;
void main() {
double d = 1.5;
printf("%d", d);
}
Using:
ldc2 -check-printf-calls test.d
I see no errors, despite that switch is supposed to "Validate
printf call format strings against arguments". Is that feature
not yet implemented?
Bye,
bearophile