C28021

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

warning C28021: The parameter <param> being annotated with <anno> must be a pointer

This warning is reported when the object being annotated is not a pointer type. This annotation cannot be used with void or integral types.