Should we warn if we detect null derefernces or void value uses ?

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 5 00:13:13 PST 2016


On Monday, 5 December 2016 at 05:03:36 UTC, Stefan Koch wrote:
> A warning will not halt the compilation.

it will: all my projects are built in "-Werror" mode (the only 
warning i made explicitly switchable in dmd is "statement 
unreachable" -- it is completely useless for me).

i'd prefer to have `pragma(warning/info, msg);` instead, so i can 
issue informational messages when i want to.


More information about the Digitalmars-d mailing list