On 11/13/2012 06:19 AM, Paul Eggert wrote:
> I pushed the following further change, to fix it.
Something seems to be not quite correct:
$ make clean all
[...]
CC src/factor.o
src/factor.c:679:1: error: 'WIDE_UINT_BITS' undeclared here (not in a
function)
src/factor.c:679:1: error: expression in static assertion is not an integer
$ head -n4 src/primes.h
/* Generated file -- DO NOT EDIT */
P ( 1, 26, 0xaaaaaaaaaaaaaaabUL, 0x5555555555555555UL) /* 3 */
P ( 2, 26, 0xcccccccccccccccdUL, 0x3333333333333333UL) /* 5 */
$ make src/primes.h
make: `src/primes.h' is up to date.
$ rm src/primes.h
rm: remove write-protected regular file `src/primes.h'? y
$ make src/primes.h
make src/make-prime-list
GEN src/primes.h
$ head -n3 src/primes.h
/* Generated file -- DO NOT EDIT */
#define WIDE_UINT_BITS 128
I'm not sure, but shouldn't the prime list src/primes.h depend
on src/make-prime-list?
Furthermore, shouldn't src/primes.h be included in .gitignore?
Have a nice day,
Berny