[Bug libc/17399] New: glibc headers should be cleaned up to depend only on _LIBC, _LIBC_TEST etc.
will.newton at gmail dot com
sourceware-bugzilla@sourceware.org
Tue Sep 16 22:22:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=17399
Bug ID: 17399
Summary: glibc headers should be cleaned up to depend only on
_LIBC, _LIBC_TEST etc.
Product: glibc
Version: 2.20
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: will.newton at gmail dot com
CC: drepper.fsp at gmail dot com
glibc headers should only depend on a small number of defines to enable
internal behaviour, for example _LIBC and _LIBC_TEST, rather than depending on
internal include guard symbols or similar, for example in:
sysdeps/powerpc/bits/hwcap.h:
#if !defined(_SYS_AUXV_H) && !defined(_SYSDEPS_SYSDEP_H)
# error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
#endif
sysdep.h is an internal header in this case.
This issue was discussed here:
https://sourceware.org/ml/libc-alpha/2014-09/msg00405.html
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list