[cfe-dev] MB_LEN_MAX definition
bruce.r.stephens at gmail.com
bruce.r.stephens at gmail.com
Wed Aug 25 10:58:55 PDT 2010
Arthur Loiret <aloiret-8fiUuRrzOP0dnm+yROfE0A at public.gmane.org> writes:
> What do you think of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564610 ?
The trunk looks fine (and 2.7-2 (Debian testing) matches, so maybe it's
been fixed since 2.6-1?): limits.h has
/* System headers include a number of constants from POSIX in <limits.h>. */
#include_next <limits.h>
...
#ifndef MB_LEN_MAX
#define MB_LEN_MAX 1
#endif
and /usr/include/limits.h (from libc6-dev, but eglibc seems to match)
has
/* Maximum length of any multibyte character in any locale.
We define this value here since the gcc header does not define
the correct value. */
#define MB_LEN_MAX 16
More information about the cfe-dev
mailing list