-
Notifications
You must be signed in to change notification settings - Fork 59
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
C++ clang error casting const pointer #309
Comments
Without context it was completly unclear what is going on. What source code for IronOxide? Edit: I am asking, because of CI run all three major C++ compiler: gcc/linux, clang/macos and mcvs/windows. So it should catch such kind of issue. |
So we have something like:
and then
The code generated in that constructor is what is the problem:
If you want to run this yourself you can go over to https://github.com/IronCoreLabs/ironoxide-java - The branch |
There is no branch 'cpp-initial' in https://github.com/IronCoreLabs/ironoxide-java , |
It's on master now.
…On Sun, Apr 19, 2020, 12:48 PM Evgeniy Dushistov ***@***.***> wrote:
@coltfred <https://github.com/coltfred>
There is no branch 'cpp-initial' in
https://github.com/IronCoreLabs/ironoxide-java ,
may be you mean cpp-swig-test?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#309 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEPMN5RPUWWU55CHOQP2J3RNNBQ3ANCNFSM4MKCF24Q>
.
|
After 1835ebd your example should compile just fine. Because of for |
And also there is a lot of problem related to C++ classes dependencies. |
When I generate C++ code g++ seems to compile it fine, but clang on the other hand produces errors that look like this:
The text was updated successfully, but these errors were encountered: