null pointer dereference detection in DMD
Iain Buclaw
ibuclaw at gdcproject.org
Sun Jan 12 20:46:23 UTC 2025
On Saturday, 11 January 2025 at 20:39:13 UTC, Walter Bright wrote:
> This led to my original concept of D as having no warnings. We
> should probably revisit our current set of warnings and see if
> they can be made errors.
Previous work on this.
https://github.com/dlang/dmd/pull/15716
https://github.com/dlang/dmd/pull/15718
https://github.com/dlang/dmd/pull/15719
https://github.com/dlang/dmd/pull/15720
https://github.com/dlang/dmd/pull/15721
https://github.com/dlang/dmd/pull/16197
https://github.com/dlang/dmd/pull/16198
Unless new ones have been added, I don't think there are much
left. And the majority that are, I'm not sure what alternate
diagnostic they should be using. For example `#pragma
pack(show)` or all DDoc warnings.
More information about the Digitalmars-d
mailing list