RFR: 8375738: Fix -Wzero-as-null-pointer-constant warnings in MacOSX/bsd code
Kim Barrett
kbarrett at openjdk.org
Wed Jan 21 06:02:34 UTC 2026
On Wed, 21 Jan 2026 05:14:49 GMT, David Holmes <dholmes at openjdk.org> wrote:
> If we don't already have the warning disabled, why are these occurrences not already causing warnings (and thus errors) in clang builds??
Because we aren't currently enabling the warning. I have a build change to enable the warning ready to propose once
the warnings that would be triggered by it have been addressed. That's what I'm using to find these. Note that when
I started working on this there were thousands of warnings.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29329#issuecomment-3776345311
More information about the hotspot-runtime-dev
mailing list