Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
cannot change alignment in a managed or WinRT type
Remarks
Alignment of variables in managed or Windows Runtime types is controlled by the CLR or Windows Runtime and cannot be modified with align.
Example
The following example generates C3839:
// C3839a.cpp
// compile with: /clr
ref class C
{
public:
__declspec(align(32)) int m_j; // C3839
};
int main()
{
}