This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

MB_LEN_MAX conflict between gcc's limits.h and newlib's sys/config.h


gcc.dg/bitfld-4.c gets a macro redefinition warning for MB_LEN_MAX,
because first gcc's limits.h is included, which defines MB_LEN_MAX to 1,
and then newlib's stdio.h is included, which includes _ansi.h, which
in turn includes sys/config.h, which defines MB_LEN_MAX to 8.
-- 
--------------------------
SuperH (UK) Ltd.
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330


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