This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
MB_LEN_MAX conflict between gcc's limits.h and newlib's sys/config.h
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: gcc at gcc dot gnu dot org, newlib at sources dot redhat dot com
- Date: Fri, 06 Sep 2002 15:27:17 +0100
- Subject: MB_LEN_MAX conflict between gcc's limits.h and newlib's sys/config.h
- Organization: SuperH UK Ltd.
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