[antlr-interest] MSVC 6.0 Compiler accuracy?

Sohail Somani sohail at taggedtype.net
Mon May 22 09:45:48 PDT 2006


Before I forget, you also want to use the /Za switch otherwise the
wonderful VC++ 6 behaviour will persist.

On Mon, 2006-05-22 at 09:08 -0700, Sohail Somani wrote:
> The standards compatible mode is upgrade to 7.1 or later. VC6 is
> prestandard.
> 
> On Mon, 2006-05-22 at 11:23 -0400, Andy Tripp wrote:
> > According to the ISO/IEC 14882:1998 C++ standard, all those
> > declarations inside conditions are, in fact, legal. So if MSVC++ doesn't 
> > accept them,
> > it's a problem with MSVC++ - perhaps there's a "standards compatible 
> > mode" option?
> > Yes, each of these statements opens a new scope, the variable is 
> > declared once, and
> > its scope is what is should be :)




More information about the antlr-interest mailing list