Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.02 KB

compiler-warning-level-1-c4376.md

File metadata and controls

31 lines (25 loc) · 1.02 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4376
Compiler Warning (level 1) C4376
11/04/2016
C4376
C4376
5f202c74-9489-48fe-b36f-19cd882b1589

Compiler Warning (level 1) C4376

access specifier 'old_specifier:' is no longer supported: please use 'new_specifier:' instead

For more information on specifying type and member accessibility in metadata, see Type visibility and Member visibility in How to: Define and Consume Classes and Structs (C++/CLI).

Example

The following sample generates C4376.

// C4376.cpp
// compile with: /clr /W1 /c
public ref class G {
public public:   // C4376
   void m2();
};

public ref class H {
public:   // OK
   void m2();
};