You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elmindreda
changed the title
glfw3.h two pairs of defines have the same value. (No big deal because they aren't related,afaik)
Hint value collisions
Jun 21, 2016
Can I ask why you consider it wrong? If those defines are parts of separate namespaces, then overlap in their values is not wrong. Is it?
I agree that using different values might be a good idea because it will help catch potential user errors, where someone could mistakenly use a define for one namespace for a function that expects another, and because there is no type system to catch it, the only other way to catch such a mistake is to avoid reusing same values. Maybe this is what you meant?
These defines in glfw3.h have the same values, I believe this is not how it should be, though it won't cause any issues either (afaik).
The text was updated successfully, but these errors were encountered: