Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 12:48:30 -0600
From:      Francisco Solsona <solsona@acm.org>
To:        freebsd-current@freebsd.org
Subject:   MB_LEN_MAX undeclared (scan.c)
Message-ID:  <86of4hyc1t.fsf@admin.fciencias.unam.mx>

next in thread | raw e-mail | index | archive | help
Hi all,

I just cvsup updated my tree (this is FreeBSD CURRENT, 5.0), and make
buildworld breaks with:

...
cc -O -pipe -I. -I/usr/src/usr.bin/xlint/lint1 -I/usr/src/usr.bin/xlint/lint1/../arch/i386 -I/usr/src/usr.bin/xlint/lint1/../common    -c /usr/src/usr.bin/xlint/lint1/tree.c
cc -O -pipe -I. -I/usr/src/usr.bin/xlint/lint1 -I/usr/src/usr.bin/xlint/lint1/../arch/i386 -I/usr/src/usr.bin/xlint/lint1/../common    -c /usr/src/usr.bin/xlint/lint1/func.c
cc -O -pipe -I. -I/usr/src/usr.bin/xlint/lint1 -I/usr/src/usr.bin/xlint/lint1/../arch/i386 -I/usr/src/usr.bin/xlint/lint1/../common    -c scan.c
/usr/src/usr.bin/xlint/lint1/scan.l: In function `wccon':
/usr/src/usr.bin/xlint/lint1/scan.l:769: `MB_LEN_MAX' undeclared (first use in this function)
/usr/src/usr.bin/xlint/lint1/scan.l:769: (Each undeclared identifier is reported only once
/usr/src/usr.bin/xlint/lint1/scan.l:769: for each function it appears in.)
/usr/src/usr.bin/xlint/lint1/scan.l:769: storage size of `buf' isn't known
...

shouldn't MB_LEN_MAX be defined in <machine>/limits.h?

I couldn't find anything in UPDATING, or in the current mailing list
archive, but please feel free to point me to the appropriate doc.

Just in case: this is a SONY Vaio PCG-GRX626, P4 @ 1.7MHz.

TIA,
--Francisco


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86of4hyc1t.fsf>