RFR: JDK-8218480 Automatically add -Werror in FLAGS_COMPILER_CHECK_ARGUMENTS

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Feb 5 11:03:53 UTC 2020


When calling FLAGS_COMPILER_CHECK_ARGUMENTS or any of its variants, we 
almost always need to add -Werror to the set of arguments to check as 
otherwise we would not get a failure for unsupported arguments. This 
should be added automatically by the macro instead.

Bug: https://bugs.openjdk.java.net/browse/JDK-8218480
WebRev: 
http://cr.openjdk.java.net/~ihse/JDK-8218480-fix-FLAGS_COMPILER_CHECK_ARGUMENTS/webrev.01

/Magnus



More information about the build-dev mailing list