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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for