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 Error C2008

'character' : unexpected in macro definition

The character appears immediately following the macro name. To resolve the error, there must be a space after the macro name. The following sample generates C2008:

#define TEST1"mytest1"   // C2008
#define TEST2 "mytest2"   // ok

void main() {
}