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

#pragma no_binary must appear before any declaration or directive in this file; ignored

This warning is issued if #pragma no_binary appears after any declaration or directive in the file. For instance:

// myheader.h - not suitable for binary header

#ifndef MYHEADER
#define MYHEADER

#pragma no_binary   // Yields warning 4330

// ....

#endif

This would be correctly written as:

// myheader.h - not suitable for binary header

#pragma no_binary   // Must be first

#ifndef MYHEADER
#define MYHEADER

// ....

#endif