Paul Eggert <egg...@cs.ucla.edu> skribis:

> A better solution, if you want to be portable to
> MSVC, is to use _Noreturn instead of noreturn.
> This is for reasons described in stdnoreturn.in.h.
>
> '_Noreturn' is a bit ugly; if you don't care about
> MSVC, then __attribute__((__noreturn__)) is
> a good way to go.

Not sure what you mean by “ugly”, but ‘_Noreturn’ has the huge advantage
of being a reserved identifier per POSIX (info "(libc) Reserved Names"),
while ‘noreturn’ is not.

What would you think of sticking to the standard and less problematic
‘_Noreturn’ identifier in Gnulib?

(I also agree that it’s better for Guile’s public headers to use
‘__noreturn__’, but using ‘noreturn’ was not completely silly either.)

Thanks,
Ludo’.

Reply via email to