<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Thanks for the report.</p>
<p>I've filed this:
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/CODETOOLS-7903715">https://bugs.openjdk.org/browse/CODETOOLS-7903715</a><br>
</p>
<div class="moz-cite-prefix">On 18/04/2024 01:54, Paulo Feodrippe
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CANDKcwDZaWLsj69ksKF6MnLhq=XzvSg8k74AhGsU385mCW3+6Q@mail.gmail.com">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm using Build 22-jextract+3-13 and, while I'm able to
jextract the flecs.c file in <a href="https://github.com/SanderMertens/flecs" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/SanderMertens/flecs</a>,
it generates a param with the same name as one of the original
params (allocator). </div>
<div><br>
</div>
<font face="monospace">./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)<br>
public static MemorySegment ecs_vec_copy(SegmentAllocator
allocator, MemorySegment allocator, MemorySegment vec, int
size) {<br>
^<br>
./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)<br>
</font>
<div><font face="monospace"> public static MemorySegment
ecs_vec_copy_shrink(SegmentAllocator allocator,
MemorySegment allocator, MemorySegment vec, int size) {</font></div>
<div>
<div>
<div><br>
</div>
<div>Thanks<br clear="all">
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><font color="#cccccc"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(136,136,136);background-color:rgb(255,255,255)"><font color="#CCCCCC">Paulo Rafael Feodrippe,</font></span></span></font>
<div><font color="#cccccc"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Desenvolvedor</span></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>