No subject

Paulo Feodrippe pfeodrippe at gmail.com
Thu Apr 18 11:05:28 UTC 2024


Thank you very much, Maurizio, appreciate it :D

Great project you have here

Paulo Rafael Feodrippe,
Desenvolvedor


On Thu, Apr 18, 2024 at 6:01 AM Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> wrote:

> Thanks for the report.
>
> I've filed this: https://bugs.openjdk.org/browse/CODETOOLS-7903715
> On 18/04/2024 01:54, Paulo Feodrippe wrote:
>
> Hi,
>
> I'm using Build 22-jextract+3-13 and, while I'm able to jextract the
> flecs.c file in https://github.com/SanderMertens/flecs, it generates a
> param with the same name as one of the original params (allocator).
>
> ./src-java/org/vybe/flecs_2.java:7946: error: variable allocator is
> already defined in method
> ecs_vec_copy(java.lang.foreign.SegmentAllocator,java.lang.foreign.MemorySegment,java.lang.foreign.MemorySegment,int)
>     public static MemorySegment ecs_vec_copy(SegmentAllocator allocator,
> MemorySegment allocator, MemorySegment vec, int size) {
>
>              ^
> ./src-java/org/vybe/flecs_2.java:7995: error: variable allocator is
> already defined in method
> ecs_vec_copy_shrink(java.lang.foreign.SegmentAllocator,java.lang.foreign.MemorySegment,java.lang.foreign.MemorySegment,int)
>     public static MemorySegment ecs_vec_copy_shrink(SegmentAllocator
> allocator, MemorySegment allocator, MemorySegment vec, int size) {
>
> Thanks
>
> --
> Paulo Rafael Feodrippe,
> Desenvolvedor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20240418/c7a05c7d/attachment-0001.htm>


More information about the jextract-dev mailing list