Open mjy9088 opened 2 years ago
__attribute__((noreturn))
?
__attribute__((noreturn))
?
It's not C standard, so I want to avoid it.
You could use __declspec(noreturn)
, if I remember right there is a gcc flag that lets you compile your program with it.
Describe the bug
Not works with attribute syntax like C++11's, maybe from C23
Erroneous code
result:
Additional infos
Darwin m1jy 21.2.0 Darwin Kernel Version 21.2.0:
...Python 2.7.18
norminette 3.3.51
Additional context
I want to suppress
non-void function does not return a value in all control paths
message from clang which is false positive.