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

Florian Weimer fweimer@redhat.com
Mon Apr 25 07:24:00 GMT 2016


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



More information about the Libc-alpha mailing list