შენიშვნა
ამ გვერდზე წვდომა მოითხოვს ავტორიზაციას. შეგიძლიათ სცადოთ შესვლა ან შეცვალოთ დირექტორიები.
ამ გვერდზე წვდომა მოითხოვს ავტორიზაციას. შეგიძლიათ სცადოთ დირექტორიების შეცვლა.
pragmas 'managed' and 'unmanaged' are meaningful only when compiled with '/clr[:option]'
Remarks
The compiler ignores the managed and unmanaged pragmas if the source code is not compiled with /clr. This warning is informational.
Example
The following example generates C4949:
// C4949.cpp
// compile with: /LD /W1
#pragma managed // C4949
When #pragma unmanaged is used without /clr, C4949 is a level 4 warning.
The following example generates C4949:
// C4949b.cpp
// compile with: /LD /W4
#pragma unmanaged // C4949