summaryrefslogtreecommitdiff
path: root/grp/.cvsignore
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2016-07-07 17:10:02 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-07-08 13:57:57 -0300
commit58dc3371865ef8e331de33423c57af855f6b6c45 (patch)
tree5e8e53483822a8ffe171d8572091b765ca85de03 /grp/.cvsignore
parentc304e8024e39c68fdbaa2681855f1e0af0a48659 (diff)
downloadglibc-azanella/deprecate-makedev.tar.gz
Deprecate inclusion of <sys/sysmacros.h> by <sys/types.h>azanella/deprecate-makedev
The macros defined by <sys/sysmacros.h> are not part of POSIX nor XSI, and their names have been found frequently to collide with user code; see for instance glibc bug 19239 and Red Hat bug 130601. <stdlib.h> includes <sys/types.h> under _GNU_SOURCE, and C++ code presently cannot avoid being compiled under _GNU_SOURCE, exacerbating the problem. * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated. * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined, define major, minor, and makedev to issue deprecation warnings on use. If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress previously-activated deprecation warnings for these macros and prevent subsequent inclusions of this header from having any effect. * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before including <sys/sysmacros.h>, and undefine it again afterward.
Diffstat (limited to 'grp/.cvsignore')
0 files changed, 0 insertions, 0 deletions