Deprecate union wait and remove support from wait functions [BZ #19613]
Florian Weimer
fweimer@redhat.com
Fri Feb 12 16:26:00 GMT 2016
The overloading approach in the macros was incompatible with integer
expressions of a type different from int. Applications using union wait
and these macros will have to migrate to the POSIX-specified int
status type.
This commit also removes the transparent union overloads from the
process wait functions. As a result, application code which uses
union wait will receive compile-time warnings about pointer
compatibility.
This does not have ABI impact. The functionality was deprecated in BSD
in the early 1990s. I plan to remove union wait completely in glibc 2.25.
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Deprecate-union-wait-and-remove-support-from-wait-fu.patch
Type: text/x-patch
Size: 16045 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160212/11e9f016/attachment.bin>
More information about the Libc-alpha
mailing list