Mercurial > gnulib
view doc/posix-headers/stdlib.texi @ 17364:7524d97ae56f
stdalign: port to stricter ISO C11
ISO C11 says that _Alignof's operand must be a parenthesized type.
Problem reported by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>.
* doc/posix-headers/stdalign.texi (stdalign.h): Document this.
* m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 29 Mar 2013 19:47:13 -0700 |
parents | 498a2211d839 |
children |
line wrap: on
line source
@node stdlib.h @section @file{stdlib.h} POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html} Gnulib module: stdlib, system-posix Portability problems fixed by the Gnulib module @code{stdlib}: @itemize @item The macros @code{EXIT_SUCCESS} and @code{EXIT_FAILURE} are not defined on some platforms. @item The macro @code{EXIT_FAILURE} is incorrectly defined on Tandem/NSK. @item Some platforms provide a @code{NULL} macro that cannot be used in arbitrary expressions: NetBSD 5.0 @end itemize Portability problems fixed by the Gnulib module @code{system-posix}: @itemize @item The macros @code{WIFSIGNALED}, @code{WIFEXITED}, @code{WIFSTOPPED}, @code{WTERMSIG}, @code{WEXITSTATUS}, @code{WNOHANG}, @code{WUNTRACED}, @code{WSTOPSIG} are not defined in this header file (only in @code{<sys/wait.h>}) on some platforms: MirBSD 10. @end itemize Portability problems not fixed by Gnulib: @itemize @item System status macros such as @code{WEXITSTATUS} require an lvalue argument on some platforms. Mac OS X 10.5. @end itemize