Jeroen Demeyer on Fri, 10 Jul 2015 10:21:36 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: gp2c segfault


There is another issue: the GP code

global(x);
global(x);

generates C code containing

static void x;
static GEN x;

which is obviously not correct.


I know that one normally doesn't declare the same global twice, but it can occur when concatenating several GP scripts, each declaring the same variable global.