This documentation is archived and is not being maintained.



The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at C28226.

Warning C28226: Annotation cannot also be a PrimOp (in current declaration)

This warning indicates that the named annotation is being declared as a PrimOp, and also was previously declared as a normal annotation. This should not be possible if the standard macros are being used for annotations; this warning is not expected to be seen in normal use.