g-truc / glm

OpenGL Mathematics (GLM)

Home Page:https://glm.g-truc.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to compile for emscripten since 27/Jan/2024

WillisMedwell opened this issue · comments

Since the latest push to Vcpkg on the 27/Jan/2024, glm is failing to compile. This is due to the added warnings "-Werror -Weverything" I think.

The history of vcpkg changes for glm can be found here.
There's a warning being set off from a union array access in "\glm\detail\func_packing.inl"

More info about the issue has been logged here.

For anyone else facing this issue, just switch to an older commit of vcpkg in the meantime. (The one below is the 20/Jan/2024)

C:\apps\vcpkg\vcpkg>git checkout a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6

Since the latest push to Vcpkg on the 27/Jan/2024, glm is failing to compile. This is due to the added warnings "-Werror -Weverything" I think.

The history of vcpkg changes for glm can be found here. There's a warning being set off from a union array access in "\glm\detail\func_packing.inl"

More info about the issue has been logged here.

For anyone else facing this issue, just switch to an older commit of vcpkg in the meantime. (The one below is the 20/Jan/2024)

C:\apps\vcpkg\vcpkg>git checkout a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6

Correct me if I am wrong, but I believe this is resolved on master branch and I'll release a 1.0.1 revision soon.
GLM only uses "-Werror -Weverything" for testing now.