Dav1dde / gl3n

OpenGL Maths for D (not glm for D).
http://dav1dde.github.com/gl3n/
Other
103 stars 49 forks source link

Broke in dmd 2.068.0 #65

Closed WebFreak001 closed 9 years ago

WebFreak001 commented 9 years ago

Every time I want to compile something with gl3n as dependency now it spams the console with dub\packages\gl3n-1.1.0\gl3n\linalg.d(425): Warning: int /= real is performing truncating conversion and then stops compilation.

Tested on windows (gl3n 1.0.1 and 1.1.0) and on linux (1.0.1)

kiith-sa commented 9 years ago

Also happens to me (linux) - it seems DMD crashes? - the warnings may or may not be related to that.

Tail of a verbose DMD log:

../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
../../../../.dub/packages/gl3n-1.1.0/gl3n/linalg.d(425): Warning: int /= real is performing truncating conversion
semantic3 math
semantic3 plane
semantic3 util
Dav1dde commented 9 years ago

Sorry I can't currently investigate this due to a broken PSU. But this wouldn't be the first DMD regression.

ColdenCullen commented 9 years ago

It looks like this was fixed in 13f0c61816c86b656fca2bc217ba7d7762e04a21, can we get a new release with this commit please?

Dav1dde commented 9 years ago

Created tag 1.2.0 and updated the dub repository. Please comment if it isn't fixed (works locally).

kiith-sa commented 9 years ago

Seems to work.