RedlineResearch / elephant-tracks

0 stars 1 forks source link

Calling JNIENV.NewObjectA with a const jvalue * leads to compilation failure under -Werror #12

Closed greatmazinger closed 8 years ago

greatmazinger commented 8 years ago

In the function instNewObjectA, we call JNIENV.NewObjectA with a const jvalue * which leads to compilation failure under the -Werror flag. This necessitates the -fpermissive flag.

greatmazinger commented 8 years ago

Fixed in commit 01a2c76e2265fac36fe5dc0374b8526cd2df1b28 Remove the const declaration of the jvalue * parameter in InstNewObjectA.