The gtest build code contains some errors (e.g. sending -w to all compilers, which cause a warning for cl.exe), and some non-standard handling of warnings. Bug: https://bugs.openjdk.java.net/browse/JDK-8248563 WebRev: http://cr.openjdk.java.net/~ihse/JDK-8248563-fix-gtest-cflags/webrev.01 /Magnus