Project

General

Profile

Actions

Defect #743

closed

Linux call to external dynamic library does not pass/return REAL32/64 correctly

Added by Runar Tenfjord 20 days ago. Updated 18 days ago.

Status:
Rejected
Priority:
Normal
Category:
AMD64 Back-End
Target version:
-
% Done:

0%


Description

While working with wrappers of the SDL3 library I discovered
that passing/return of REAL argument does not work as expected
on Linux 64bit platform:

uname -a
Linux archlinux 6.18.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Mon, 09 Feb 2026 17:16:33 +0000 x86_64 GNU/Linux

Windows 10 64bit was also tested with same result.

Attached files with a simple tests where the sin function
does not pass/return the correct values.


Files

sdl3linux.cpp (179 Bytes) sdl3linux.cpp Expect linuxlib.hpp to be in the path Runar Tenfjord, 27 February 2026 17:38
testsdl3.mod (249 Bytes) testsdl3.mod simple test Runar Tenfjord, 27 February 2026 17:39
Actions #1

Updated by Florian Negele 18 days ago

  • Status changed from New to Rejected

Sorry, generating wrappers for functions with floating-point parameters is not supported at the moment. You have to resort to writing wrapper functions manually. Thanks for reporting and sorry for the inconveniences.

Actions

Also available in: Atom PDF