This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] Deprecate inclusion of sys/sysmacros.h by sys/types.h.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]