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_FORCE_UNRESTRICTED_GENTYPE binary incompatibility #619

Closed
Philip-Trettner opened this issue Apr 3, 2017 · 1 comment
Closed

GLM_FORCE_UNRESTRICTED_GENTYPE binary incompatibility #619

Philip-Trettner opened this issue Apr 3, 2017 · 1 comment
Assignees
Milestone

Comments

@Philip-Trettner
Copy link

I have an executable built with GLM_FORCE_UNRESTRICTED_GENTYPE. This executable uses a static library that does NOT have this flag set.
The resulting code is incompatible, it does compile but crashes (the compiler generates different calling conventions).

Is this behavior by design?
Is there a way to generate a warning?
I thought this was only a diagnostic define, why does it alter the code?

@Groovounet Groovounet self-assigned this Jun 4, 2017
@Groovounet Groovounet added this to the GLM 0.9.9 milestone Jun 4, 2017
Groovounet added a commit that referenced this issue Jun 4, 2017
… GLM_FORCE_IGNORE_VERSION to ignore error caused by including different version of GLM #619
@Groovounet
Copy link
Member

I must say I have no idea why this is happening... I agree it's just a a diagnostic define.

To help detecting these scenarios where different version of GLM are included, I add a system to check whether GLM was already included. Unfortunately that system requires versions GLM that supports this system... to I guess it's just for future use.

Thanks,
Christophe

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

No branches or pull requests

2 participants