Sign in to follow this  
j3p

for -loop with empty expression not executed

Recommended Posts

Hi,

Just upgraded to the latest revision 1264 and noticed that for(;;) is not executed anymore, is there a reason for this?
Adding an always-true expression (like for(; true;)) seems to be working though. Not a big deal I guess, but I've got for(x;;)'s all over the place [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img].

Share this post


Link to post
Share on other sites
This must be a bug that worked itself into the code when I changed the way the for-loop is generated to avoid one of the jumps in each iteration.

I'll look into this and provide a fix as soon as possible.

Regards,
Andreas

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this