October 06, 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
1 2 3
Next ›   Last »