Untested return values.
Anders F Björklund
afb at algonet.se
Thu Oct 5 23:56:36 PDT 2006
Lionello Lunesu wrote:
>> A warning message with an ability to turn it off? Or as I would
>> prefer, a warning with an ability turn it on (it's off by default)?
>
> In D, warnings are off by default. You explicitly ask for warnings using
> -w.
Also, in D *all* warnings are errors. So the "-w" flag to DMD is the
same as passing "-Wall -Werror" to GCC when compiling C/C++ sources.
--anders
More information about the Digitalmars-d
mailing list