NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 3) C4161

#pragma pragma(pop...) : more pops than pushes

Because your source code contains one more pop than pushes, the stack may not behave as you expect. To avoid the warning, be sure that the number of pops does not exceed the number of pushes. The following example generates C4161:

#pragma pack(push, id)
#pragma pack(pop, id)
#pragma pack(pop, id)   // C4161, an extra pop

void main() {
}