C28351

 

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 C28351.

warning C28351: The annotation <annotation> describes where a dynamic value (a variable) cannot be used in the condition.

This warning is reported when an annotation is applied where the C/C++ type is being inspected.

The expression in the _When_ should evaluate to a constant. The _When_ is ignored.

Show: