Share via


컴파일러 경고(수준 3) C4645

__declspec(noreturn)으로 선언된 함수에 return 문이 있습니다.

A return 문이 noreturn__declspec 한정자로 표시된 함수에 있습니다. return 문이 무시되었습니다.

다음 샘플에서는 C4645를 생성합니다.

// C4645.cpp
// compile with:  /W3
void __declspec(noreturn) func() {
   return;   // C4645, delete this line to resolve
}

int main() {
}