Export (0) Print
Expand All
Expand Minimize

Compiler Error C2719

'parameter': formal parameter with __declspec(align('#')) won't be aligned

The align __declspec modifier is not permitted on function parameters.

The following sample generates C2719:

// C2719.cpp
void func(int __declspec(align(32)) i);   // C2719
// try the following line instead
// void func(int i);
Show:
© 2014 Microsoft