X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-headers%2Fassert.texi;h=785a07aa985602b48da6d0db341e1bbf2c49567e;hb=adff17f337187985ea8c62b961fde5c9544911aa;hp=aa78ee7bc5ea88c8944c9cc17d916198ed9729a3;hpb=8b401988f8558104b56c0ee36a4e75b1230ad371;p=gnulib.git diff --git a/doc/posix-headers/assert.texi b/doc/posix-headers/assert.texi index aa78ee7bc..785a07aa9 100644 --- a/doc/posix-headers/assert.texi +++ b/doc/posix-headers/assert.texi @@ -10,7 +10,7 @@ See also the Gnulib module @code{assert}. Portability problems fixed by Gnulib: @itemize @item -The draft C1X and C++0X @code{static_assert}, and the draft C1X +The C11 and C++11 @code{static_assert}, and the C11 @code{_Static_assert}, are not supported by many platforms. For example, GCC versions before 4.6.0 do not support @code{_Static_assert}, and G++ versions through at least 4.6.0 do not support @code{static_assert}. @@ -19,11 +19,11 @@ and G++ versions through at least 4.6.0 do not support @code{static_assert}. Portability problems not fixed by Gnulib: @itemize @item -Draft C1X @code{_Static_assert} and draft C++0X @code{static_assert} +C11 @code{_Static_assert} and C++11 @code{static_assert} are keywords that can be used without including @code{}. The Gnulib substitutes are macros that require including @code{}. @item -The draft C1X @code{static_assert} and @code{_Static_assert} can also +The C11 @code{static_assert} and @code{_Static_assert} can also be used within a @code{struct} or @code{union} specifier, in place of an ordinary declaration of a member of the struct or union. The Gnulib substitute can be used only as an ordinary declaration.