Local struct causes Internal Compiler Error (VC++ 7.1)

  • Thread starter Thread starter Jaroslav Gresula
  • Start date Start date
J

Jaroslav Gresula

struct A
{
};

void fn()
{
for( int i=3; i--; )
{
struct Local
{
Local( const A& a) {}
};
}
}

BTW, is this group the proper place where to report VC++ related bugs?
 
Jaroslav said:
struct A
{
};

void fn()
{
for( int i=3; i--; )
{
struct Local
{
Local( const A& a) {}
};
}
}

BTW, is this group the proper place where to report VC++ related bugs?

Yep, that's a bug, and this is a fine place for reporting such bugs.

This particular bug appears to be fixed in the Whidbey alpha (aka VC8).

-cd
 
Back
Top