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

Strict aliasing warning #370

Closed
preet opened this issue Jul 27, 2015 · 1 comment
Closed

Strict aliasing warning #370

preet opened this issue Jul 27, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@preet
Copy link

preet commented Jul 27, 2015

Hi, I get several warnings like:

.../thirdparty/glm/detail/func_packing.inl:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return reinterpret_cast<uint const &>(Topack);
^
When compiling with glm (gcc 5.2). I'm using release 0.9.6.3. I noticed that there were a couple of similar issues before that were closed with a fix in the 0.9.5.x releases but they seem to have popped up again.

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

This issue should be fixed in master branch for GLM 0.9.7.1 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