Compiler Warning (level 3) C4645
function declared with __declspec(noreturn) has a return statement
A return statement was found in a function that is marked with the noreturn __declspec
modifier. The return
statement was ignored.
The following sample generates C4645:
// C4645.cpp
// compile with: /W3
void __declspec(noreturn) func() {
return; // C4645, delete this line to resolve
}
int main() {
}
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre