FS#60755 - [glm] Cannot build with C++11 and GLM_FORCE_PURE

Attached to Project: Community Packages
Opened by John Beard (jjbeard) - Friday, 09 November 2018, 12:24 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 19 November 2018, 20:31 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

If a program is built with C++11 and the define GLM_FORCE_PURE, GLM fails to build.

This is, I think, due to commit [1].

A bug is filed upstream [2], but in the meantime, this is breaking KiCad.
The upstream bug has a minimal reproducing project.

Steps to reproduce:

* Build any C++ file including GLM 0.9.9.3 and using C+11 (but not C++14 or higher).
* Build failure

[1]: https://github.com/g-truc/glm/commit/68c7e7e50b934cd265251a0660096f1415647bbb
[2]: https://github.com/g-truc/glm/issues/832
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 19 November 2018, 20:31 GMT
Reason for closing:  Upstream
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 19 November 2018, 20:31 GMT
Doesn't seem like a packaging bug but rather like a random upstream bug. Please try to get upstream to make a release and then I'll update the package.

Loading...