On Mon, Mar 28, 2016 at 04:13:34PM -0400, Igor Schein wrote:
> On Mon, Mar 28, 2016 at 10:43 AM, Bill Allombert <
> $ grep -wn ERR /usr/include/sys/regset.h
> 80:#define ERR 13
>
> Same goes for the other error:
>
> $ make gp
> g++ -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
> -fomit-frame-pointer -o arith2.o ../src/basemath/arith2.c
> In file included from /usr/include/sys/ucontext.h:14:0,
> from /usr/include/sys/signal.h:212,
> from /usr/include/sys/procset.h:17,
> from /usr/include/sys/wait.h:19,
> from /usr/include/stdlib.h:15,
> from ../src/headers/pari.h:18,
> from ../src/basemath/arith2.c:20:
> ../src/basemath/arith2.c:1502:14: error: expected unqualified-id before
> numeric constant
> static ulong DS[] ={
> ^
> ../src/basemath/arith2.c: In function ‘pari_ulong sumdigitsu(pari_ulong)’:
> ../src/basemath/arith2.c:1547:31: error: invalid types ‘int[long unsigned
> int]’ for array subscript
> while (n) { s += DS[n % 1000]; n /= 1000; }
> $ grep -nw DS /usr/include/sys/regset.h
> 90:#define DS 3
>
> Renaming should work.
Done thanks!
This is crazy...
<https://lists.x.org/archives/xorg-devel/2013-November/038808.html>
Cheers,
Bill.