FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling with dmd 1.010 fails

 
Post new topic   Reply to topic     Forum Index -> Yage
View previous topic :: View next topic  
Author Message
simhau



Joined: 06 Feb 2007
Posts: 55

PostPosted: Thu Apr 05, 2007 7:30 am    Post subject: Compiling with dmd 1.010 fails Reply with quote

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
View user's profile Send private message
JoeCoder



Joined: 29 Oct 2005
Posts: 294

PostPosted: Thu Apr 05, 2007 11:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
JoeCoder



Joined: 29 Oct 2005
Posts: 294

PostPosted: Tue Apr 10, 2007 6:32 pm    Post subject: Reply with quote

Fixed. Yage now compiles and runs correctly on dmd 1.010
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Yage All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group