Compiler Error C2337

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2337.

attribute name' : attribute not found

You have used an attribute that is not supported in this version of Visual C++.

The following sample generates C2337:

// C2337.cpp  
// compile with: /c  
[emitidl];  
[module(name="x")];  
[grasshopper]   // C2337, not a supported attribute  
class a{};  

Show: