On 6/15/07, michael.a <[EMAIL PROTECTED]> wrote:
I do believe GCC supports the standard "for loop scope" extension
Actually that was not really really an extension before the standard come out. The rules changed with the standardization. Really most of GCC extensions to the C++ langauge that exist now (except for a few new ones dealing with the C++0x standard) are all legacy extensions before there was a standard. Really it sounds like MS added this extension to their C++ compiler before there was a standard. I really think you should learn more about this extension and give a fully documented specifications on how it works. Right now that is really the current problem with the extensions in GCC, is that they are not fully documented on how they work so people get confused when the behavior changes slightly. -- Pinski