Hello,

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsuggest-attribute_003d
 says for -Wsuggest-attribute=noreturn:

> The compiler only warns for functions visible in other compilation units.

Why?  clang -Wmissing-noreturn does warn even for static functions.

Greetings
  Дилян

Reply via email to