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

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?
 
C

Carl Daniel [VC++ MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top