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!

Fatal Error C1018

unexpected #elif

The #elif directive appears outside an #if, #ifdef, or #ifndef construct. Use #elif only within one of these constructs. The following sample generates C1018:

// uncomment the line below to resolve the error
// #if 1   
#elif   // C1018
#endif

void main() {
}