This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10110] New: Separate __STDC_* predefines from features.h
- From: "jsm28 at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Apr 2009 15:16:53 -0000
- Subject: [Bug libc/10110] New: Separate __STDC_* predefines from features.h
- Reply-to: sourceware-bugzilla at sourceware dot org
To support implementing the C99 requirement that the __STDC_* predefined
macros are constant throughout the translation unit (not undefined before
system headers are included and defined afterwards), glibc should put those
such macros it defines in a standalone header included from <features.h>
that is also suitable for the compiler to preinclude by default.
A glibc patch is at <http://sourceware.org/ml/libc-alpha/2009-04/txt00001.txt>
and I'll also attach it to this PR. Note that this patch is very simple and
it should be clear that it is safe; it's the GCC patch included with the same
message <http://sourceware.org/ml/libc-alpha/2009-04/msg00005.html> that's
the more complicated side of implementing this C99 requirement.
--
Summary: Separate __STDC_* predefines from features.h
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: jsm28 at gcc dot gnu dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10110
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.