C28312

 

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

warning 28312: The <annotation_name> annotation on the repeated declaration of <function> <parameter> is an obsolescent version of SAL.

The annotation is an old version and should be updated to the equivalent SAL2. This warning is not emitted if a prior inconsistent annotation warning has been emitted, and is reported only once per declaration. Inspect the rest of the declaration for more obsolete SAL.

Using SAL Annotations to Reduce C/C++ Code Defects

Show: