הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
function declared with __declspec(noreturn) has non-void return type
Remarks
A function marked with the noreturn __declspec modifier should have a void return type.
Example
The following example generates C4646:
// C4646.cpp
// compile with: /W3 /WX
int __declspec(noreturn) TestFunction()
{ // C4646 make return type void
}