Integrated: 8301308: Remove version conditionalization for gcc/clang PRAGMA_DIAG_PUSH/POP

Julian Waters jwaters at openjdk.org
Wed Mar 15 13:38:45 UTC 2023


On Tue, 14 Mar 2023 17:51:12 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> As of now we at minimum require clang 3.5 and gcc 6 to compile the Java Platform, the version checks for gcc/clang here are for whether clang is either version 4 and above, or has a minor version higher than 3.1, and for gcc either a major version higher than 4 or minor version above 4.6. Now these will always pass, so they can be removed. Also changes the macro definition location to match Visual C++ and look neater

This pull request has now been integrated.

Changeset: 3d77e217
Author:    Julian Waters <jwaters at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3d77e217b2b97d2c290c50c4dc55987ecc13eb79
Stats:     13 lines in 1 file changed: 3 ins; 10 del; 0 mod

8301308: Remove version conditionalization for gcc/clang PRAGMA_DIAG_PUSH/POP

Reviewed-by: kbarrett, dholmes

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

PR: https://git.openjdk.org/jdk/pull/13025


More information about the hotspot-dev mailing list