This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17399] New: glibc headers should be cleaned up to depend only on _LIBC, _LIBC_TEST etc.
- From: "will.newton at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 16 Sep 2014 22:22:16 +0000
- Subject: [Bug libc/17399] New: glibc headers should be cleaned up to depend only on _LIBC, _LIBC_TEST etc.
- Auto-submitted: auto-generated
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.