fatal error C1506: unrecoverable block scoping error

  • Thread starter Thread starter Stormy
  • Start date Start date
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>
{
};
}
 
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>
{
}
}
 
there is no semicolon after B's declaration.

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

Ismail
 
Back
Top