Top "Noreturn" questions

An attribute in C and C++ that tells the compiler that a function does not return.

What is the point of noreturn?

[dcl.attr.noreturn] provides the following example: [[ noreturn ]] void f() { throw "error"; // OK } but I do not understand what is …

c++ c++11 attributes noreturn
Why does "noreturn" function return?

I read this question about noreturn attribute, which is used for functions that don't return to the caller. Then I …

c assembly c11 function-call noreturn
Tell gcc that a function call will not return

I am using C99 under GCC. I have a function declared static inline in a header that I cannot modify. …

c gcc gcc-warning noreturn