RFR: 8295717: Minimize disabled warnings in accessibility native code
Erik Joelsson
erikj at openjdk.org
Thu Oct 20 18:09:16 UTC 2022
On Thu, 20 Oct 2022 10:24:28 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> After JDK-8294281, it is now possible to disable warnings for individual files instead for whole libraries. I used this opportunity to go through all disabled warnings in the accessibility native code.
>
> Any warnings that were only triggered in a few files were removed from the library as a whole, and changed to be only disabled for those files.
make/modules/jdk.accessibility/Launcher.gmk line 46:
> 44: -analyze- -Od -Gd -D_WINDOWS \
> 45: -D_UNICODE -DUNICODE -RTC1 -EHsc, \
> 46: DISABLED_WARNINGS_microsoft_jabswitch.cpp := 4267 4996, \
This lib only has one cpp file, so this change doesn't seem that useful.
-------------
PR: https://git.openjdk.org/jdk/pull/10788
More information about the build-dev
mailing list