Upraviť

Zdieľať cez


Compiler Error C2345

align(value) : illegal alignment value

You passed a value to the align keyword that is outside the allowable range.

The following sample generates C2345:

// C2345.cpp
// compile with: /c
__declspec(align(8)) int a;   // OK
__declspec(align(16384)) int b;   // C2345