Ambil perhatian
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba log masuk atau menukar direktori.
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
function declared with __declspec(noreturn) has a return statement
Remarks
A return statement was found in a function that is marked with the noreturn __declspec modifier. The return statement was ignored.
Example
The following example generates C4645:
// C4645.cpp
// compile with: /W3
void __declspec(noreturn) func() {
return; // C4645, delete this line to resolve
}
int main() {
}