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) C4159

#pragma pragma(pop,...) : has popped previously pushed identifier 'identifier'

Your source code contains a push instruction with an identifier for a pragma followed by a pop instruction without an identifier. As a result, identifier is popped, and subsequent uses of identifier may cause unexpected behavior.

To avoid this warning, give an identifier in the pop instruction. For example:

#pragma pack(push, foo)
#pragma pack(pop) // C4159

// using the identifier resolves the warning
// #pragma pack(pop, foo)