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

dmd rocks!

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



Joined: 06 Feb 2007
Posts: 55

PostPosted: Fri Jan 18, 2008 2:11 pm    Post subject: dmd rocks! Reply with quote

When compiling with -O, it crashes with the error "Internal error: ..\ztc\blockopt.c 609"

When compiling with -inline, minid fails to load minid modules: "Attempting to index a value of type 'null'"

And it's not the first time compilerbugs has bitten me in the ass...

... Perhaps its time to switch to gdc / mingw ...
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Fri Jan 18, 2008 8:32 pm    Post subject: Reply with quote

Rolling Eyes

I should probably put somewhere that using -inline with MiniD is not really recommended. Sometimes it works, sometimes not. I've never had issues with -O, though, maybe something happens when larger codebases start interacting.

And yes, DMD tends to suck at inlining and optimizing, not to mention profiling and coverage. All cool things, all incredibly buggy, all of which can only be fixed by one overworked man because it's closed source yaay!
Back to top
View user's profile Send private message
simhau



Joined: 06 Feb 2007
Posts: 55

PostPosted: Sat Jan 19, 2008 9:48 am    Post subject: Reply with quote

The problem isn't with larger codebases, as mine still is very small.

Too bad dmd has many bugs. I just tried gdc, but rebuild gives me an error. I'll see if I can work around that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD 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