Compiler Error C2714
Visual Studio 2005
Error Message
__alignof(void) is not allowedAn invalid value was passed to an operator.
See __alignof Operator for more information.
Example
The following sample generates C2714.
// C2714.cpp
int main() {
return __alignof(void); // C2714
return __alignof(char); // OK
}