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

Fix code for compilation with C++ compiler #621

Closed
wants to merge 2 commits into from

Conversation

stweil
Copy link
Contributor

@stweil stweil commented Oct 7, 2015

It was tested with g++ (and still works with gcc and clang).
Issue #619 is fixed by these patches.

stweil added 2 commits October 7, 2015 12:00
Signed-off-by: Stefan Weil <sw@weilnetz.de>
g++ complains about invalid conversions like these ones:

error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
error: invalid conversion from ‘void*’ to ‘opj_precision* {aka opj_prec*}’ [-fpermissive]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
@stweil
Copy link
Contributor Author

stweil commented Oct 7, 2015

The first patch is no longer valid because the enum type was removed.
The second patch still applies and is now available in pull request #623.

@stweil stweil closed this Oct 7, 2015
@mayeut mayeut mentioned this pull request Oct 7, 2015
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

Successfully merging this pull request may close these issues.

1 participant