I got the error message below when compiling the z3 source code (37c9a31 commit) for Java binding on Mac.
The OS X I am using is El Capitan and the Java version is 1.8.0_91. Does anyone know how to fix it?
Another question: Is String currently supported in z3 Java binding compiled from the source? The latest release version(4.4.1) does not seem to support String.
"/usr/bin/javac" ../src/api/java/enumerations/*.java -d api/java/classes
"/usr/bin/javac" -cp api/java/classes ../src/api/java/*.java -d api/java/classes
../src/api/java/Sort.java:134: error: an enum switch case label must be the unqualified name of an enumeration constant
case Z3_SEQ_SORT:
^
../src/api/java/Sort.java:136: error: an enum switch case label must be the unqualified name of an enumeration constant
case Z3_RE_SORT:
^
../src/api/java/Expr.java:2179: error: an enum switch case label must be the unqualified name of an enumeration constant
case Z3_SEQ_SORT:
^
../src/api/java/Expr.java:2181: error: an enum switch case label must be the unqualified name of an enumeration constant
case Z3_RE_SORT:
^
4 errors
make: *** [com.microsoft.z3.jar] Error 1