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 C2344

align(#) : alignment must be power of two

When using the align keyword, the value you pass must be a power of two.

For example, the following code generates C2344 because 3 is not a power of two:

// compile with cl /c
__declspec(align(3)) int a;