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 1) C4177

pragma pragma should be at global scope

The pragma should not be used within a local scope. The pragma will not be valid until global scope is encountered after the current scope. The following sample generates C4177:

// #pragma bss_seg("global")   // OK

void main() {
   #pragma bss_seg("local")   // C4177
}