编译器警告(等级 4)C4690

[ emitidl( pop ) ]: 出栈的比入栈的多

备注

emitidl 特性的出栈次数比入栈次数多一次。

示例

下面的示例生成 C4690。 若要解决此问题,请确保弹出属性的次数与推送的次数完全相同。

// C4690.cpp
// compile with: /c /W4
[emitidl(pop)];   // C4690
class x {};