Compiler Error C3646

'specifier' : unknown override specifier


The compiler found a token in the position where it expected to find an override specifier, but the token was not recognized by the compiler.

For example, if the unrecognized specifier is _NOEXCEPT, replace it with the keyword noexcept.

For more information, see Override Specifiers.


The following sample generates C3646 and shows a way to fix it:

// C3646.cpp
// compile with: /clr /c
ref class C {
   void f() unknown;   // C3646
   // try the following line instead
   // virtual void f() abstract;