Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1022 Bytes

compiler-warning-c4956.md

File metadata and controls

29 lines (21 loc) · 1022 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning C4956
Compiler Warning C4956
11/04/2016
C4956
C4956
9154f2d1-d49f-4e07-90d2-0e9bc028011a

Compiler Warning C4956

'type' : this type is not verifiable

Remarks

This warning is generated when /clr:safe is specified and your code contains a type that is not verifiable. The /clr:safe compiler option is deprecated in Visual Studio 2015 and unsupported in Visual Studio 2017.

For more information, see Pure and Verifiable Code (C++/CLI).

This warning is issued as an error and can be disabled with the warning pragma or the /wd compiler option.

Example

The following sample generates C4956:

// C4956.cpp
// compile with: /clr:safe
int* p;   // C4956