View Single Post
  #31  
Old March 28th, 2004, 01:09 AM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: Best (CD Bootable?) Linux Distro for Dominions?

Quote:
Originally posted by Cainehill:
Oh, another reason for not declaring them inside the if or for is that Microsoft's compilers don't give the proper lifetime/scope with the default compiler switches; with the switches set to force proper behavior, you can no longer compile Microsoft's header files. (This may be fixed with the latest .Net compilers.)
MSVC6 has that problem with for, but it would not compile declaratin in if. gcc 2.95.2 can't compile such if either. That's why I was wondering if it's legal or not.
Reply With Quote