type Void is not supported

Adrian Trapletti a.trapletti at ustermetrics.com
Sat Jul 20 21:06:03 UTC 2024


Hi,

The reason for the warnings seem to be
https://github.com/oxfordcontrol/Clarabel.cpp/blob/main/include%2Fc%2FDefaultSolver.h#L17-L24

Otherwise the generated bindings look good.

Maybe a nice to have would be that jextract prints the line number that is
responsible for a warning together with the warning?

Thanks and best regards,
Adrian

Dr. Adrian Trapletti
CEO

Uster Metrics GmbH
Steinstrasse 9b
8610 Uster, Switzerland

P +41 32 512 83 63
M +41 79 103 71 31

a.trapletti at ustermetrics.com
www.ustermetrics.com

This email message including any attachments is confidential and may be
privileged. It is intended solely for the use of the individual or entity
named on this message. It is provided for informational purposes only and
does not constitute an offer or invitation to subscribe for or purchase any
services or products. Any form of disclosure, copying, modification or
distribution is unauthorized. If you are not the intended recipient, you
are requested to please notify the sender immediately and delete the
message including any attachments from your computer system network. Email
transmission cannot be guaranteed to be secure or error free as information
could be modified. We therefore do not accept responsibility or liability
as to the completeness or accuracy of the information contained in this
message or any attachments.

On Sat, Jul 20, 2024, 19:12 Adrian Trapletti <a.trapletti at ustermetrics.com>
wrote:

> Hi,
>
> I am trying to generate bindings for
> https://github.com/oxfordcontrol/Clarabel.cpp/blob/main/include/Clarabel.h
>
> Jextract issues the following warnings
>
> WARNING: Skipping ClarabelDefaultSolver_f64 (type Void is not supported)
> WARNING: Skipping ClarabelDefaultSolver_f32 (type Void is not supported)
> WARNING: Skipping ClarabelDefaultSolver (type Void is not supported)
>
> For me it seems that the returned void pointer is not supported
> https://github.com/oxfordcontrol/Clarabel.cpp/blob/main/include/c/DefaultSolver.h#L29
>
> Is this a known issue? Is there a workaround?
>
> Thank you and best regards
> Adrian
>
> *Dr. Adrian Trapletti*
> CEO
>
> *Uster Metrics GmbH  *|  Steinstrasse 9b, 8610 Uster, Switzerland
> P +41 32 512 83 63  |  M +41 79 103 71 31
> a.trapletti at ustermetrics.com  |  www.ustermetrics.com
>
>
> This email message including any attachments is confidential and may be
> privileged. It is intended solely for the use of the individual or entity
> named on this message. It is provided for informational purposes only and
> does not constitute an offer or invitation to subscribe for or purchase
> any services or products. Any form of disclosure, copying, modification
> or distribution is unauthorized. If you are not the intended recipient,
> you are requested to please notify the sender immediately and delete the
> message including any attachments from your computer system network. Email
> transmission cannot be guaranteed to be secure or error free as information
> could be modified. We therefore do not accept responsibility or liability
> as to the completeness or accuracy of the information contained in this
> message or any attachments.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20240720/29c4bb57/attachment-0001.htm>


More information about the jextract-dev mailing list