[gme-users] Fixing some "bugs" in GME - BON2

Zoltan Molnar zolmol at isis.vanderbilt.edu
Wed Apr 13 11:31:30 CDT 2005


To BON2 users:

In the next release of GME we will have a BON2 version so that will
compile with the '/Zc:forScope' compiler flag as well. This flag is
responsible for enforcing the standard regarding variables declared in
for scope like:

for( int i = 0; i < n; ++i)
{
	// ...
}

if( i == n) // error: 'i' undeclared identifier
{
	//...
}

Note: the default setting in Visual Studio C++ 7.1 (.Net 2003) is not to
enforce this rule.

The BON2 components will compile from now on with both settings.

Br, Zoli


More information about the gme-users mailing list