X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-headers%2Fstdnoreturn.texi;h=a7dab0fc445806af60ab8263efd9c359334c3df2;hb=adff17f337187985ea8c62b961fde5c9544911aa;hp=f49d66347c5d4f9f09ab4e698796231828e4db81;hpb=9a9dd2c085a29b7837437dd8fbf3ccc96d4e71df;p=gnulib.git diff --git a/doc/posix-headers/stdnoreturn.texi b/doc/posix-headers/stdnoreturn.texi index f49d66347..a7dab0fc4 100644 --- a/doc/posix-headers/stdnoreturn.texi +++ b/doc/posix-headers/stdnoreturn.texi @@ -21,4 +21,12 @@ Portability problems not fixed by Gnulib: @item You cannot assume that @code{_Noreturn} is a reserved word; it might be a macro. +@item +On MSVC 9, @code{noreturn} expands to the empty token sequence, to avoid +problems with standard headers that use @code{__declspec (noreturn)} +directly. Although the resulting code operates correctly, the +compiler is not informed whether @code{noreturn} functions do not +return, so it may generate incorrect warnings at compile-time, or code +that is slightly less optimized. This problem does not occur with +@code{_Noreturn}. @end itemize