Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 686 Bytes

compiler-warning-level-1-c4678.md

File metadata and controls

15 lines (12 loc) · 686 Bytes
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
C4678
C4678
0c588f34-595d-4e5c-9470-8723fca2cc06

Compiler Warning (level 1) C4678

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.