Fixing More Warnings in DMD?
bearophile via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 29 13:49:03 PDT 2014
Dicebot:
> unused variables are job for dscanner
Unused variables/labels/arguments and unused last assignments are
often flags for code problems (but the ones in the function/class
you are writing now). I like how such tests are done by the
GCC/Clang compilers.
> signed-unsigned comparison should be an error, not warning
I don't know if Rust does this. But isn't it a little late for D?
And aren't such errors going to introduce even more dangerous
casts?
Bye,
bearophile
More information about the Digitalmars-d
mailing list