This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Runtime error: unsigned integer overflow #774
Comments
Could you please list all flags (https://github.com/vurtun/nuklear/blob/master/nuklear.h#L94 ) which you use for the compilation into web-assembly? E.g. the integer overflows are solely dependent on these flags. |
Sure, here's the relevant code:
|
Did you define the following in your C files as well as in your header files?
|
No, I have those in my C file only. There’s nothing about nuklear in the headers. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It looks like on macOS and Web Assembly (but maybe other platforms as well) there are lots of integer overflows happening. Here's a sample from one of my apps:
I'm not familiar with Nuklear's code base but I suppose that it's either because of something done in the wrong way or because of the 64bit platform it's being compiled against. Either way it would be nice to solve those issues as they prevent compiling to web assembly without activating the
clamp
option that actually produces dead slow code.The text was updated successfully, but these errors were encountered: