Skip to content
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

half epsilon() error using MinGW #14

Closed
miroandel opened this issue Dec 6, 2012 · 1 comment
Closed

half epsilon() error using MinGW #14

miroandel opened this issue Dec 6, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@miroandel
Copy link

I got some compilation error using MinGW:

In file included from ....\include/glm/gtc/constants.hpp:184:0,
from D:\src\sgct\src\sgct\Engine.cpp:26:
....\include/glm/gtc/constants.inl: In function 'constexpr T glm::epsilon() [with T = glm::detail::half]':
....\include/glm/gtc/constants.inl:38:40: error: invalid return type 'glm::half {aka glm::detail::half}' of constexpr function 'constexpr T glm::epsilon() [with T = glm::detail::half]'

....\include/glm/./core/type_half.hpp:42:8: note: 'glm::detail::half' is not literal because:
....\include/glm/./core/type_half.hpp:42:8: note: 'glm::detail::half' is not an aggregate, does not have a trivial default constructor, and has no constexpr constructor that is not a copy or move constructor

Best Regards,

Miro

@ghost ghost assigned Groovounet Dec 13, 2012
Groovounet pushed a commit that referenced this issue Dec 13, 2012
@Groovounet
Copy link
Member

Thanks for reporting this issue. This bug has been fixed in branch 0.9.4.

Christophe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants