diff options
Diffstat (limited to 'patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch')
-rw-r--r-- | patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch b/patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch new file mode 100644 index 00000000..896dd7e9 --- /dev/null +++ b/patches/classpath/classpath-0.99.gcc7-fall-through-fix.patch @@ -0,0 +1,11 @@ +--- classpath-0.99.orig/native/jni/java-math/gnu_java_math_GMP.c 2008-06-22 04:05:39.000000000 +0200 ++++ classpath-0.99/native/jni/java-math/gnu_java_math_GMP.c 2018-06-07 16:26:12.407213673 +0200 +@@ -1131,7 +1131,7 @@ + res = 0; + break; + case 1: +- res = mpz_popcount (_this); ++ res = mpz_popcount (_this); /* Falls through. */ + default: + JCL_ThrowException (env, "java/lang/Error", + "Unexpected sign value for a native MPI"); |