Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Compiler Warning (level 1) C4376

Error Message

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 and Member Visibility.


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();

Community Additions

© 2015 Microsoft