Jump to content
  • Advertisement
Sign in to follow this  
polyfrag

VS2012

This topic is 478 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey this compiles:

#if 0 lalala

#endif

But causes a problem in XCode. I got into the VS mindset and didn't notice before. I didn't even notice the back/forward buttons until I found them in CodeBlocks, only to find they were broken in VS. 

 

Share this post


Link to post
Share on other sites
Advertisement

VS probably determines that since the condition is zero, therefore false, it does not output "lalala" and thus the block produces an empty string.

Edited by Nik02

Share this post


Link to post
Share on other sites

Another thing I noticed:

 

const char* AXNAME[HYP_DIMS] = 
{
"x",
"y",
//"/",
//"tc",
"z",	//<-- valid in vc9
//"/",
//"/",
//"Vd",
//"t"
};

Is valid in vc9, but complains in gcc. I think that's how I noticed it, I don't remember, or maybe I ported it to linux and remembered that it should be wrong.

Share this post


Link to post
Share on other sites

This also compiles on MSVC2012 on Windows XP:

 

	ovaldown |= ( (((HASHINT)case10)<<backbin) ,1);
	//ovaldown &= HASHCROP( ~HASHROTR( (((HASHINT)case8)<<bin) ,1) );
	ovaldown &= HASHCROP( ~( (((HASHINT)case8)<<backbin) ,1) );

But not on Mac XCode.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!