On Sat, 09 Jun 2007 05:47:05 -0400 Freddie Witherden <[EMAIL PROTECTED]> wrote: >Hi. > >> MSVC only supports C89 style variable declarations. >> This means: Var decls are allowed at the beginning of the block >only. > >You're joking right? I am sure that when I used MSVC a while back >it >supported them, but I may have accidently been compiling as C++. I >am >positive though that it supports '//' comments, which are not in >C89. >Strange, very strange. > >Regards, Freddie. > If all files were .cpp, then this no issue, it can handle most C99 ok. Since .c, then MSVC is strict about most rules for C89, excep comments that begin with //.
Too bad hundreds more errors appear if change all files to .cpp and try to compile. -- Click here to save up to 70% on life insurance. http://tagline.hushmail.com/fc/CAaCXv1QSYKP3Y7zMG2wDRA81MXVGDXE/ _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
