RFR: 8307160: Fix AWT/2D/A11Y to support the permissive- flag on the Microsoft Visual C compiler [v26]

Phil Race prr at openjdk.org
Tue Nov 14 20:41:50 UTC 2023


On Fri, 10 Nov 2023 10:17:30 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> We should set the -permissive- flag for the Microsoft Visual C compiler, as was requested by the now backed out [JDK-8241499](https://bugs.openjdk.org/browse/JDK-8241499). Doing so makes the Visual C compiler much less accepting of ill formed code, which will improve code quality on Windows in the future.
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Comment awt_DnDDS.cpp

I don't think we should introduce any std:: library support to resolve this.
I'm also fairly sure you can't static link those libraries any more.
The pattern I showed is much cleaner and that's what I want to see here.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15096#issuecomment-1811232844


More information about the client-libs-dev mailing list