P
Param
Hi ,
I have faced a strange problem. I have a code something like this...
while(!a)
{
if( condition )
{
continue; // 1
}
try
{
if ( condition )
{
if( some more condition )
{
a = 1;
continue; // 2
}
else
{
continue; // 3
}
}
else
{
}
}// end try
catch(...)
{
} // end catch
}// end while
In this piece of code with the continue keyword used i expect it to go back to the outer while... This happens in all the if statements for e.g. with the continue 1.
But the presence of continue keyword in the try block gave me an INTERNAL COMPILER ERROR . This got solved when i gave a preprocessor option called /Gx. This was prompted to me as a warnig by the compiler which solved this problem.
Now i have not understood why was this an error and how does /Gx option help in that .
Thanks
Param
I have faced a strange problem. I have a code something like this...
while(!a)
{
if( condition )
{
continue; // 1
}
try
{
if ( condition )
{
if( some more condition )
{
a = 1;
continue; // 2
}
else
{
continue; // 3
}
}
else
{
}
}// end try
catch(...)
{
} // end catch
}// end while
In this piece of code with the continue keyword used i expect it to go back to the outer while... This happens in all the if statements for e.g. with the continue 1.
But the presence of continue keyword in the try block gave me an INTERNAL COMPILER ERROR . This got solved when i gave a preprocessor option called /Gx. This was prompted to me as a warnig by the compiler which solved this problem.
Now i have not understood why was this an error and how does /Gx option help in that .
Thanks
Param