Skip to content

Fix code for compilation with C++ compiler#621

Closed
stweil wants to merge 2 commits intouclouvain:masterfrom
stweil:master
Closed

Fix code for compilation with C++ compiler#621
stweil wants to merge 2 commits intouclouvain:masterfrom
stweil:master

Conversation

@stweil
Copy link
Copy Markdown
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
Copy Markdown
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