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

tcd.cpp>:1617:33: error: assigning to 'OPJ_INT32 *' (aka 'int *') from incompatible type 'void *' #1021

Closed
bommo1 opened this issue Sep 19, 2017 · 2 comments

Comments

@bommo1
Copy link

bommo1 commented Sep 19, 2017

latest commit.
Compilation fails with AppleClang 8.1.0.8020042 if compiled with c++:

tcd.cpp>:1617:33: error: assigning to 'OPJ_INT32 *' (aka 'int *') from incompatible type 'void *'
tilec->data_win = opj_image_data_alloc(l_data_size);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@rouault
Copy link
Collaborator

rouault commented Sep 19, 2017

OK, I fixed the issues, but note this is not a supported configuration.

@rouault rouault closed this as completed Sep 19, 2017
@bommo1
Copy link
Author

bommo1 commented Sep 19, 2017

thank you!
I understand. I'll submit a PR next time and you can merge it if you find it appropriate.

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