Generated Files and Functions in a JNI Project are all marked as syntax errors

69 Views Asked by At

In a Project combining Java 8 and C, I built a JNI using javac -h [Directory] [.java File] and built the header, then included it in a C File where the native implementation was. I have everything needed for this: JDK, Cygwin, Eclipse that supports both Java and CDT, a Shared Library Project, but the generated functions have an ugly SYNTAX ERROR marked all over them and it's very unsightly, I so far cannot find a way to fix this, anyone have any ideas?

Header for JNI

C Implementation

0

There are 0 best solutions below