RFR: 8307160: [REDO] Enable the permissive- flag on the Microsoft Visual C compiler [v4]

Julian Waters jwaters at openjdk.org
Mon Aug 21 08:16:32 UTC 2023


On Thu, 17 Aug 2023 08:38:01 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. It can be done with some effort, given that the significantly stricter gcc can now compile an experimental Windows JDK as of 2023, and will serve to significantly cut down on monstrosities in ancient Windows code
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Document changes in awt_DnDDS.cpp

Bumping

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

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


More information about the security-dev mailing list