View previous topic :: View next topic |
Author |
Message |
simhau
Joined: 06 Feb 2007 Posts: 55
|
Posted: Thu Apr 05, 2007 7:30 am Post subject: Compiling with dmd 1.010 fails |
|
|
In matrix.d line 168 you have v[0]==v[5]== etc...
I don't know what compiler you are using, but this wont compile with 1.010. |
|
Back to top |
|
|
JoeCoder
Joined: 29 Oct 2005 Posts: 294
|
Posted: Thu Apr 05, 2007 11:14 pm Post subject: |
|
|
Those unit tests last worked with DMD 0.177. Something in the floating point code generation has changed and caused NaN's to propagate through what should be valid code. I once tried to reduce it to a test case, but it came to the point where changing completely unrelated code would cause the results of the matrix operations to change.
I'm at a loss on this one. You can comment out the unit tests and I don't think the (rare?) mathematical errors will cause anything noticeable. It's been a while since I've looked into this issue though, since my previous attempts were so futile.
Edit
Looks like I completely misread your post. I believe Walter changed how the comparison operators work and I'll fix that in the next svn commit. |
|
Back to top |
|
|
JoeCoder
Joined: 29 Oct 2005 Posts: 294
|
Posted: Tue Apr 10, 2007 6:32 pm Post subject: |
|
|
Fixed. Yage now compiles and runs correctly on dmd 1.010 |
|
Back to top |
|
|
|