parsing ext2fs.h attempts to create a type 'int'
ochafik opened this issue · comments
From @shevek on December 19, 2014 0:54
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5372: error: <identifier> expected
public static class int extends PointerType {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5372: error: illegal start of type
public static class int extends PointerType {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5372: error: ';' expected
public static class int extends PointerType {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5373: error: illegal start of expression
public int(Pointer address) {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5373: error: not a statement
public int(Pointer address) {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5373: error: ';' expected
public int(Pointer address) {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5373: error: ';' expected
public int(Pointer address) {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5376: error: illegal start of expression
public int() {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5376: error: not a statement
public int() {
^
/home/shevek/java/udev4j/ext2fs/build/generated-sources/jnaerator/org/anarres/device/ext2fs/generated/Ext2fsLibrary.java:5376: error: ';' expected
public int() {
Copied from original issue: nativelibs4java/nativelibs4java#543
From @shevek on December 19, 2014 0:55
Test case: https://github.com/shevek/udev4j
branch multilib
run ./gradlew :ext2fs:jar