This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
glibc and gcc3
- To: libc-alpha@cygnus.com
- Subject: glibc and gcc3
- From: "Joseph S. Myers" <jsm28@cam.ac.uk>
- Date: Tue, 4 May 1999 10:47:20 +0100 (BST)
A few places in glibc 2.1.1pre2 use __GNUC_MINOR__ in a way that will
break if we get gcc 3.0 with __GNUC__ == 3 && __GNUC_MINOR__ == 0.
argp/argp.h:# if defined __GNUC__ && defined __cplusplus && __GNUC_MINOR__ >= 8
assert/assert.h: __GNUC_MINOR__ < (defined __cplusplus ? 6 : 4))
misc/sys/cdefs.h:# if defined __cplusplus && __GNUC_MINOR__ >= 8
posix/sys/types.h:#if !defined __GNUC__ || __GNUC__ < 2 || __GNUC_MINOR__ < 7
All other occurances of __GNUC_MINOR__ in the source tree look OK, except
for a dubious one (only relevant if __NeXT__) in <obstack.h>.
--
Joseph S. Myers
jsm28@cam.ac.uk