This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] Deprecate inclusion of sys/sysmacros.h by sys/types.h.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 25 Apr 2016 09:24:44 +0200
- Subject: Re: [PATCH 2/2] Deprecate inclusion of sys/sysmacros.h by sys/types.h.
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1461444595 dot git dot zackw at panix dot com> <361004a869a7731e6f8161be9fe5da9c5446dc99 dot 1461444595 dot git dot zackw at panix dot com>
On 11/19/2015 05:11 AM, Zack Weinberg wrote:
* misc/Versions [GLIBC_2.24]: Add gnu_dev_major, gnu_dev_minor,
and gnu_dev_makedev.
Why do we need these new functions? Recent GCC has support for emitting
warnings from macros, if that's what you need.
* misc/sys/cdefs.h: Add __attribute_deprecated_msg__, wrapping
GCC >=4.5's ability to specify a detailed deprecation message.
That should probably go into a separate patch.
Florian