commmunity/glm: Fixed constexpr with GCC #6742
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
community/gource and community/logstalgia fail to build, generating errors of type:
/usr/include/glm/detail/type_vec2.hpp:90:40: error: 'constexpr const T& glm::vec<2, T, Q>::operator[](glm::vec<2, T, Q>::GLM_FUNC_DECL GLM_CONSTEXPR T const& operator[](length_type i) const;
As discussed in glm issue: g-truc/glm#832
a fix has been committed into glm master branch: g-truc/glm@68c7e7e
Until glm version 0.9.9.4 is released this patch can be backported onto 0.9.9.3 to allow gource and logstaligia packages to build.