Compiler Warning (level 4) C4674 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

'identifier' : the destructor is inaccessible

A user-defined destructor for the specified thrown object is not accessible. The object cannot be destroyed after it is thrown. Check that the destructor has public access.

The following example shows how this situation might occur.

class C
    ~C();    // destructor has private access by default
} c;

void main()
       throw c;
    catch( C )    // warning

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.