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

Compilation error icpc 14.0.3 #354

Closed
mikeoconnor0308 opened this issue Jul 9, 2015 · 1 comment
Closed

Compilation error icpc 14.0.3 #354

mikeoconnor0308 opened this issue Jul 9, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@mikeoconnor0308
Copy link

Trying to compile on a unix system with icpc 14.0.3 (gcc version 4.8.1 compatibility).

Seems to dislike this line in setup.hpp

#elif GLM_COMPILER & (GLM_COMPILER_LLVM | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_INTEL)
#   define GLM_HAS_CXX11_STL __has_include("__config")
$ icpc core_type_vec3.cpp
In file included from glm/detail/func_exponential.hpp(132),
                 from glm/detail/func_geometric.inl(33),
                 from glm/detail/func_geometric.hpp(142),
                 from glm/geometric.hpp(35),
                 from core_type_vec3.cpp(34):
glm/detail/func_exponential.inl(42): error: function call is not allowed in a constant expression
  # if GLM_HAS_CXX11_STL
       ^

In file included from glm/detail/func_exponential.hpp(132),
                 from glm/detail/func_geometric.inl(33),
                 from glm/detail/func_geometric.hpp(142),
                 from glm/geometric.hpp(35),
                 from core_type_vec3.cpp(34):
glm/detail/func_exponential.inl(42): error: expression must have integral or enum type
  # if GLM_HAS_CXX11_STL
       ^
.....

Any thoughts?

@Groovounet Groovounet added the bug label Jul 19, 2015
@Groovounet Groovounet added this to the GLM 0.9.7 milestone Jul 19, 2015
@Groovounet Groovounet self-assigned this Jul 19, 2015
@Groovounet
Copy link
Member

This issue is fixed in master branch for GLM 0.9.7 release.

Thanks,
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