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

glm 0.9.5 does not detect vector instruction sets on clang #158

Closed
branan opened this issue Jan 14, 2014 · 2 comments
Closed

glm 0.9.5 does not detect vector instruction sets on clang #158

branan opened this issue Jan 14, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@branan
Copy link

branan commented Jan 14, 2014

Pretty much exactly what the subject says. When clang is the compiler, I need to use GLM_FORCE_SSE2 to generate SSE code. Without the force set, I get the following output from GLM_MESSAGES:

/Users/branan/personal/sense/vendor/glm/glm/detail/setup.hpp:87:11: warning: GLM: Apple platform detected
      [-W#pragma-messages]
#               pragma message("GLM: Apple platform detected")
                       ^
/Users/branan/personal/sense/vendor/glm/glm/detail/setup.hpp:328:11: warning: GLM: Clang compiler detected
      [-W#pragma-messages]
#               pragma message("GLM: Clang compiler detected")
                       ^
/Users/branan/personal/sense/vendor/glm/glm/detail/setup.hpp:368:11: warning: GLM: 64 bits model [-W#pragma-messages]
#               pragma message("GLM: 64 bits model")
                       ^
/Users/branan/personal/sense/vendor/glm/glm/detail/setup.hpp:469:11: warning: GLM: C++11 [-W#pragma-messages]
#               pragma message("GLM: C++11")
                       ^
/Users/branan/personal/sense/vendor/glm/glm/detail/setup.hpp:479:10: warning: GLM: #define GLM_FORCE_CXX98,
      GLM_FORCE_CXX03, GLM_LANG_CXX11 or GLM_FORCE_CXX1Y to force using a specific version of the C++ language
      [-W#pragma-messages]
#       pragma message("GLM: #define GLM_FORCE_CXX98, GLM_FORCE_CXX03, GLM_LANG_CXX11 or GLM_FORCE_CXX1Y to forc...
               ^
/Users/branan/personal/sense/vendor/glm/glm/detail/setup.hpp:647:11: warning: GLM: Platform independent
      [-W#pragma-messages]
#               pragma message("GLM: Platform independent")
@Groovounet Groovounet self-assigned this Feb 6, 2014
@Groovounet Groovounet added the bug label Jun 11, 2014
@Groovounet Groovounet added this to the GLM 0.9.5 milestone Jun 11, 2014
@Groovounet
Copy link
Member

This issue is resolved in GLM 0.9.5 branch for GLM 0.9.5.4 release.

Thanks for contributing,
Christophe

@CreatorMetaSky
Copy link

i think you remove dummy.cpp all the warning dismiss,ok?

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

3 participants