Variadic functions from C libraries require promoting float with c.double() ? #3190
Replies: 1 comment
-
It seems like this quirk has been fixed in 84a7e03 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, after an afternoon of looking around I found out why my ImGUI text widget was displaying 0 instead of the app framerate.
Turns out float variables passed to variadic functions must currently be passed as
c.double(var)
. A quick google search lead me to an LLVM issue that was raised back in 2021.Is there a solution other than using that
c.double()
function that I'm not seeing ?Beta Was this translation helpful? Give feedback.
All reactions