Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyjnius doesn't compile with cython 0.24 #219

Closed
inclement opened this issue Apr 19, 2016 · 2 comments
Closed

Pyjnius doesn't compile with cython 0.24 #219

inclement opened this issue Apr 19, 2016 · 2 comments

Comments

@inclement
Copy link
Member

Looks like there's some incorrect typecasting syntax that presumably didn't previously raise a compile error.

Here's a section of the log, there are a lot of similar problems:

jnius/jnius.c:9710:133: error: expected expression before ‘)’ token
 v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"doubleValue"), ((const_char *)"()D"));
                                                                                                                           ^
jnius/jnius.c:9761:102: error: expected expression before ‘)’ token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"shortValue"), ((const_char *
                                                                                                      ^
jnius/jnius.c:9761:132: error: expected expression before ‘)’ token
 _v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"shortValue"), ((const_char *)"()S"));
                                                                                                                           ^
jnius/jnius.c:9812:102: error: expected expression before ‘)’ token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"booleanValue"), ((const_char
                                                                                                      ^
jnius/jnius.c:9812:134: error: expected expression before ‘)’ token
 _retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"booleanValue"), ((const_char *)"()Z"));
@kived
Copy link
Contributor

kived commented Apr 19, 2016

This is already fixed in master. ;)

@kived kived closed this as completed Apr 19, 2016
@inclement
Copy link
Member Author

Oh, jolly good. I did wonder why I never hit it with p4a!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants