Changing -W to -Wextra for Linux builds
David Hill
David.Hill at Oracle.com
Wed Jun 17 17:31:50 UTC 2015
https://bugs.openjdk.java.net/browse/JDK-8088200
patch is attached to the bug, same fix multiple times:
diff -r 132033191951 buildSrc/armv5sf.gradle
--- a/buildSrc/armv5sf.gradle Fri May 29 17:09:06 2015 -0400
+++ b/buildSrc/armv5sf.gradle Fri May 29 20:39:07 2015 -0400
@@ -96,7 +96,7 @@
def commonFlags = [
"-fno-strict-aliasing", "-fPIC", "-fno-omit-frame-pointer", // optimization flags
- "-W", "-Wall", "-Wno-unused", "-Wno-parentheses", "-Werror=implicit-function-declaration"] // warning flags
+ "-Wextra", "-Wall", "-Wno-unused", "-Wno-parentheses", "-Werror=implicit-function-declaration"] // warning flags
// Specify the compilation parameters and link parameters
def ccFlags = [
commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/$jniPlatform", "-c",
--
David Hill<David.Hill at Oracle.com>
Java Embedded Development
"A man's feet should be planted in his country, but his eyes should survey the world."
-- George Santayana (1863 - 1952)
More information about the openjfx-dev
mailing list