description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Warning (level 1) C4678 |
Compiler Warning (level 1) C4678 |
11/04/2016 |
|
|
0c588f34-595d-4e5c-9470-8723fca2cc06 |
base class 'base_type' is less accessible than 'derived_type'
A public type derives from a private type. If the public type is instantiated in a referenced assembly, members of the private base type will not be accessible.
C4678 is only reachable using the obsolete compiler option /clr:oldSyntax. It is an error when using /clr, to have a base class that is less accessible that its derived class.