This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: build message: errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 21 May 2015 16:14:39 +0000
- Subject: Re: build message: errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)
- Authentication-results: sourceware.org; auth=none
- References: <555E037E dot 3020808 at arm dot com>
On Thu, 21 May 2015, Szabolcs Nagy wrote:
> why do i get
>
> *** errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)
>
> build error message?
>
> sysdeps/unix/sysv/linux/Versions seems to hardcode 135 errlist size
> while the largest number in kernel asm-generic/errno.h is 133
>
> is there a reason for the difference?
As I said in <https://sourceware.org/ml/libc-ports/2009-11/msg00065.html>,
my assumption is that it's for future expansion (it needs to be at least 1
more than the largest errno value, and is 2 larger).
--
Joseph S. Myers
joseph@codesourcery.com