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

Dean Long dlong at openjdk.org
Mon Aug 14 21:23:10 UTC 2023


On Thu, 10 Aug 2023 04:04:58 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). 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:
> 
>   Remove negation in os_windows.cpp

I had the same confusion, reading "-permissive-" the same as /permissive, but the trailing "-" means disable.

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

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



More information about the security-dev mailing list