Integrated: 8296115: Allow for compiling the JDK with strict standards conformance
Julian Waters
jwaters at openjdk.org
Wed Nov 2 17:05:59 UTC 2022
On Mon, 31 Oct 2022 03:22:32 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> [JDK-8241499](https://bugs.openjdk.org/browse/JDK-8241499) proposes to set the -permissive- flag for the Microsoft Visual C++ compiler, to enforce strict standards conformance during compilation, making native code behave more strictly. While adding it to default builds is likely not practical given how much testing is required, as an option it can prove helpful in finding areas of native code that are not conformant to the standard. Instead of applying this to just one compiler, we can also include this for every compiler that has support for such a strict mode, which this change does.
This pull request has now been integrated.
Changeset: a124d8e0
Author: Julian Waters <jwaters at openjdk.org>
Committer: Erik Joelsson <erikj at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a124d8e0479f4c59d27c69c6b580542b394fd02f
Stats: 41 lines in 4 files changed: 39 ins; 0 del; 2 mod
8296115: Allow for compiling the JDK with strict standards conformance
8241499: Enable new "permissive-" for standard C++ compliance on Visual Studio if possible
Reviewed-by: erikj, ihse
-------------
PR: https://git.openjdk.org/jdk/pull/10912
More information about the build-dev
mailing list