|
From: | Paul Eggert |
Subject: | Re: Building: alloc.c:766:1: error: negative width in bit-field `_gl_verify_error_if_negative' |
Date: | Sun, 12 Feb 2012 13:31:28 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 |
On 02/12/2012 03:02 AM, Alan Mackenzie wrote: > alloc.c:766:1: error: negative width in bit-field > `_gl_verify_error_if_negative' I am not seeing this problem (trunk bzr 107261) on Fedora 15 x86-64 with GCC 4.6.2. That diagnostic is because the following static assertion is failing: verify (INT_MAX <= PTRDIFF_MAX); which suggests that your compilation environment is misconfigured somehow -- I don't know of any platforms where INT_MAX is greater than PTRDIFF_MAX. I suggest running 'make distclean; ./autogen.sh; ./configure; make', or if that fails a fresh checkout.
[Prev in Thread] | Current Thread | [Next in Thread] |