This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

glibc and gcc3


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]