Peter N Lewis wrote:
I downloaded the GPC build from Adriaan, applied [...] gpc.diff-gale1
and did a configure, make bootstrap and got the following error:
/Users/peter/unix/gpc/gpc-3.3d6-sources/gpc-20030507/gcc/p/rts/filename.pas:159: error: cannot evaluate this expression from a global declaration /Users/peter/unix/gpc/gpc-3.3d6-sources/gpc-20030507/gcc/p/rts/filename.pas:159: error: cannot call routine from a global declaration make[3]: *** [filename.o] Error 1 make[2]: *** [pascal.rts] Error 2 make[1]: *** [stage2_build] Error 2 make: *** [bootstrap] Error 2
Oh yeah, this "set different in a constant" problem again, in another form.
Until we can fix it better, just undo the changes in expressions.c and declarations.c in the gale1 patch. (They would be useful checks, but are too aggressive here, and leaving them out shouldn't make things worse than they were before, and the actual fix for gale1.pas still works.)
Frank