fatal error C1506: unrecoverable block scoping error

S

Stormy

when I compile my program I get "fatal error C1506: unrecoverable block
scoping error". Can anyone tell me why? Thank you very much in advance.


namespace unManaged
{
template<class L>
class Mytemplate : public myUnManagedClassA
{
};
__nogc class A : public OD_myUnManagedClassB
{
};
__nogc class B : public ODN_Mytemplate<A>
{
};
}
 
S

Stormy

Sorry, following is my code......
namespace unManaged
{
template<class L>
class Mytemplate : public myUnManagedClassA
{
};
__nogc class A : public myUnManagedClassB
{
};
__nogc class B : public Mytemplate<A>
{
}
}
 
I

ismailp

there is no semicolon after B's declaration.

this should work fine. what about myUnmanagedClassA and
myUnmanagedClassB? are they proper?

Ismail
 

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