-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"float64 size isn't 8 bytes on this platform", can I ignore? #627
Comments
Hi |
The compiler is GCC 4.7.3 although it's patched for the Dreamcast. I'm guessing that double is the same size as float on this platform. |
Can you confirm that sizeof(double) is 4 on your Dreamcast? |
Yes confirmed. Double and float are the same size - 4 bytes (it's compiled with --m4-single-only) |
This has been implement using the define GLM_FORCE_SINGLE_ONLY. When defined before including GLM, all requirements for 64-bits float is released. This feature is implemented in master branch for GLM 0.9.9 release. Thanks for reporting, |
I'm trying to compile a library of mine (which uses GLM) for the Sega Dreamcast, and because I'm compiling to an SH4 CPU, I hit this error here:
My question is, am I OK to ignore this / comment out the assertion? Does GLM rely on this being 8 bytes elsewhere? I should be OK if I just don't use float64 right?
Thanks!
The text was updated successfully, but these errors were encountered: