DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75 -C TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools
make: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools'
make -C Source/C
make -C Source/Python
make[1]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C'
make[1]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/Python'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/Python'
Attempting to detect HOST_ARCH from 'uname -m': x86_64
Detected HOST_ARCH of X64 using uname.
mkdir -p .
make -C Common
make -C VfrCompile VfrLexer.h
make[2]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/Common'
make[2]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/VfrCompile'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/Common'
BIN_DIR='.' make -C Pccts/dlg
BIN_DIR='.' make -C Pccts/antlr
make[3]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg'
make[3]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr'
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 bits.c -o bits.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 fset2.c -o fset2.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 fset.c -o fset.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 gen.c -o gen.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 globals.c -o globals.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 lex.c -o lex.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 main.c -o main.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c main.c
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 misc.c -o misc.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 relabel.c -o relabel.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c -o set.o ../support/set/set.c
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 pred.c -o pred.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 automata.c -o automata.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 egman.c -o egman.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 mrhoist.c -o mrhoist.o
aarch64-poky-linux-gcc -mcpu=neoverse-n2 -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/recipe-sysroot -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 fcache.c -o fcache.o
main.c: In function 'ProcessArgs':
main.c:163:42: error: too many arguments to function 'p->process'; expected 0, have 2
163 | (*p->process)( *argv, *(argv+1) );
| ~^~~~~~~~~~~~ ~~~~~
main.c:120:34: note: declared here
120 | WildFunc process;
| ^~~~~~~
main.c:168:42: error: too many arguments to function 'p->process'; expected 0, have 1
168 | (*p->process)( *argv );
| ~^~~~~~~~~~~~ ~~~~~
main.c:120:34: note: declared here
120 | WildFunc process;
| ^~~~~~~
In file included from fset.c:39:
fset.c: In function 'rJunc':
syn.h:173:48: error: too many arguments to function 'fpReach[p->guess_analysis_point->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:230:19: note: in expansion of macro 'REACH'
230 | /* MR14 */ REACH(p->guess_analysis_point, k, rk, a);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->p1->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:232:19: note: in expansion of macro 'REACH'
232 | REACH(p->p1, k, rk, a);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->p2->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:278:8: note: in expansion of macro 'REACH'
278 | REACH(p->p2, k, rk, b);
| ^~~~~
fset.c: In function 'rRuleRef':
syn.h:173:48: error: too many arguments to function 'fpReach[p->next->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:319:17: note: in expansion of macro 'REACH'
319 | REACH(p->next, k, rk_out, a);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[r->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:347:9: note: in expansion of macro 'REACH'
347 | REACH(r, k, &rk, a);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->next->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:352:17: note: in expansion of macro 'REACH'
352 | REACH(p->next, k2, &rk2, b); /* MR11 by changing the value of k */
| ^~~~~
fset.c: In function 'rToken':
syn.h:173:48: error: too many arguments to function 'fpReach[p->next->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:423:9: note: in expansion of macro 'REACH'
423 | REACH(p->next, k-1, rk, a);
| ^~~~~
fset.c: In function 'rAction':
syn.h:173:48: error: too many arguments to function 'fpReach[p->guardNodes->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:448:19: note: in expansion of macro 'REACH'
448 | /* MR11 */ REACH(p->guardNodes,k,rk,a);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->next->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:458:9: note: in expansion of macro 'REACH'
458 | REACH(p->next, k, rk, a); /* ignore actions */
| ^~~~~
In file included from misc.c:53:
misc.c: In function 'pBlk':
syn.h:170:42: error: too many arguments to function 'fpPrint[q->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:966:17: note: in expansion of macro 'PRINT'
966 | PRINT(q->p1);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[alt->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:968:17: note: in expansion of macro 'PRINT'
968 | PRINT(alt->p1);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[alt->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:985:40: note: in expansion of macro 'PRINT'
985 | if ( alt->p1 != NULL ) PRINT(alt->p1);
| ^~~~~
make[3]: *** [makefile:152: main.o] Error 1
make[3]: *** Waiting for unfinished jobs....
misc.c: In function 'pJunc':
syn.h:170:42: error: too many arguments to function 'fpPrint[q->end->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1087:51: note: in expansion of macro 'PRINT'
1087 | if ( q->end->p1 != NULL ) PRINT(q->end->p1);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[q->end->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1106:51: note: in expansion of macro 'PRINT'
1106 | if ( q->end->p1 != NULL ) PRINT(q->end->p1);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[q->end->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1125:51: note: in expansion of macro 'PRINT'
1125 | if ( q->end->p1 != NULL ) PRINT(q->end->p1);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[q->end->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1148:51: note: in expansion of macro 'PRINT'
1148 | if ( q->end->p1 != NULL ) PRINT(q->end->p1);
| ^~~~~
fset.c: In function 'First':
syn.h:170:42: error: too many arguments to function 'fpPrint[q->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1154:25: note: in expansion of macro 'PRINT'
1154 | PRINT(q->p1);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:1498:17: note: in expansion of macro 'REACH'
1498 | REACH(p, k, &rk, alt1->fset[k]);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[q->p2->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1155:46: note: in expansion of macro 'PRINT'
1155 | if ( q->p2 != NULL ) PRINT(q->p2);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[q->p1->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1158:46: note: in expansion of macro 'PRINT'
1158 | if ( q->p1 != NULL ) PRINT(q->p1);
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[q->p2->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1160:46: note: in expansion of macro 'PRINT'
1160 | if ( q->p2 != NULL ) PRINT(q->p2);
| ^~~~~
misc.c: In function 'pRuleRef':
syn.h:170:42: error: too many arguments to function 'fpPrint[p->next->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1182:9: note: in expansion of macro 'PRINT'
1182 | PRINT(p->next);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:1540:41: note: in expansion of macro 'REACH'
1540 | REACH(p, k, &rk, alt1->fset[k]);
| ^~~~~
syn.h:173:48: error: too many arguments to function 'fpReach[q->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:1542:41: note: in expansion of macro 'REACH'
1542 | REACH(q, k, &rk, alt2->fset[k]);
| ^~~~~
misc.c: In function 'pToken':
syn.h:170:42: error: too many arguments to function 'fpPrint[p->next->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1199:9: note: in expansion of macro 'PRINT'
1199 | PRINT(p->next);
| ^~~~~
misc.c: In function 'pAction':
syn.h:170:42: error: too many arguments to function 'fpPrint[p->next->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1214:9: note: in expansion of macro 'PRINT'
1214 | PRINT(p->next);
| ^~~~~
In file included from pred.c:34:
pred.c: In function 'find_predicates':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
pred.c:416:49: note: in expansion of macro 'TRAV'
416 | /* MR11 */ TRAV(p,
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
pred.c:420:57: note: in expansion of macro 'TRAV'
420 | TRAV(p->next,
| ^~~~
syn.h:173:48: error: too many arguments to function 'fpReach[((Junction *)p->next)->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
pred.c:446:57: note: in expansion of macro 'REACH'
446 | REACH((Junction *)p->next,
| ^~~~~
In file included from bits.c:36:
bits.c: In function 'Efirst':
syn.h:173:48: error: too many arguments to function 'fpReach[r->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
bits.c:224:9: note: in expansion of macro 'REACH'
224 | REACH(r, 1, &rk, a);
| ^~~~~
In file included from fset2.c:44:
fset2.c: In function 'tJunc':
pred.c: In function 'complete_context_sets':
syn.h:173:48: error: too many arguments to function 'fpReach[p->next->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
pred.c:629:13: note: in expansion of macro 'REACH'
629 | REACH(p->next, k2, &rk2, b);
| ^~~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->p1->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:573:17: note: in expansion of macro 'TRAV'
573 | TRAV(p->p1, k, rk, tail);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[alt->p1->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:586:44: note: in expansion of macro 'TRAV'
586 | if ( tail==NULL ) {TRAV(alt->p1, k, rk, tail); r->down = tail;}
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[alt->p1->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:593:33: note: in expansion of macro 'TRAV'
593 | TRAV(alt->p1, k, rk, tail->right);
| ^~~~
pred.c: In function 'complete_context_trees':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
pred.c:680:13: note: in expansion of macro 'TRAV'
680 | TRAV(p->next, k2, &rk2, u);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->guess_analysis_point->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:643:28: note: in expansion of macro 'TRAV'
643 | /* M14 */ TRAV(p->guess_analysis_point, k, rk,t);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->p1->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:645:28: note: in expansion of macro 'TRAV'
645 | TRAV(p->p1, k, rk,t);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->guess_analysis_point->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:661:28: note: in expansion of macro 'TRAV'
661 | /* M14 */ TRAV(p->guess_analysis_point, k, rk,t);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->p1->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:663:28: note: in expansion of macro 'TRAV'
663 | TRAV(p->p1, k, rk,t);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->p2->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:670:57: note: in expansion of macro 'TRAV'
670 | if ( p->jtype!=RuleBlk && /* MR14 */ !p->guess) TRAV(p->p2, k, rk, u);
| ^~~~
fset2.c: In function 'tRuleRef':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:700:17: note: in expansion of macro 'TRAV'
700 | TRAV(p->next, k, rk_out, t);/* ignore undefined rules */
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[r->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:714:9: note: in expansion of macro 'TRAV'
714 | TRAV(r, k, &rk, t);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:733:17: note: in expansion of macro 'TRAV'
733 | TRAV(p->next, k2, &rk2, u);
| ^~~~
In file included from mrhoist.c:33:
mrhoist.c: In function 'MR_First':
fset2.c: In function 'tToken':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:833:9: note: in expansion of macro 'TRAV'
833 | TRAV(p->next, k-1, rk, t);
| ^~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
mrhoist.c:865:9: note: in expansion of macro 'REACH'
865 | REACH(p,ck,incomplete,tokensUsed);
| ^~~~~
fset2.c: In function 'tAction':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->guardNodes->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:951:9: note: in expansion of macro 'TRAV'
951 | TRAV(p->guardNodes,k,rk,t);
| ^~~~
mrhoist.c: In function 'MR_complete_set':
syn.h:173:48: error: too many arguments to function 'fpReach[ruleRef->next->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
mrhoist.c:965:9: note: in expansion of macro 'REACH'
965 | REACH(ruleRef->next,k2,&rk2,b);
| ^~~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:986:7: note: in expansion of macro 'TRAV'
986 | TRAV(p->next,k,rk,t);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1006:5: note: in expansion of macro 'TRAV'
1006 | TRAV(p->next,k,rk,t);
| ^~~~
mrhoist.c: In function 'MR_complete_tree':
syn.h:179:53: error: too many arguments to function 'fpTraverse[ruleRef->next->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
mrhoist.c:1035:9: note: in expansion of macro 'TRAV'
1035 | TRAV(ruleRef->next,k2,&rk2,u);
| ^~~~
globals.c:204:9: error: initialization of 'struct _tree * (*)(void)' from incompatible pointer type 'Tree * (*)(Junction *, int, set *)' {aka 'struct _tree * (*)(struct _junct *, int, struct _set *)'} [-Wincompatible-pointer-types]
204 | tJunc,
| ^~~~~
globals.c:204:9: note: (near initialization for 'fpTraverse[1]')
In file included from generic.h:284,
from globals.c:38:
proto.h:337:15: note: 'tJunc' declared here
337 | extern Tree * tJunc( Junction *, int, set * );
| ^~~~~
globals.c:205:9: error: initialization of 'struct _tree * (*)(void)' from incompatible pointer type 'Tree * (*)(RuleRefNode *, int, set *)' {aka 'struct _tree * (*)(struct _rrnode *, int, struct _set *)'} [-Wincompatible-pointer-types]
205 | tRuleRef,
| ^~~~~~~~
globals.c:205:9: note: (near initialization for 'fpTraverse[2]')
proto.h:338:15: note: 'tRuleRef' declared here
338 | extern Tree * tRuleRef( RuleRefNode *, int, set * );
| ^~~~~~~~
globals.c:206:9: error: initialization of 'struct _tree * (*)(void)' from incompatible pointer type 'Tree * (*)(TokNode *, int, set *)' {aka 'struct _tree * (*)(struct _toknode *, int, struct _set *)'} [-Wincompatible-pointer-types]
206 | tToken,
| ^~~~~~
globals.c:206:9: note: (near initialization for 'fpTraverse[3]')
proto.h:339:15: note: 'tToken' declared here
339 | extern Tree * tToken( TokNode *, int, set * );
| ^~~~~~
globals.c:207:9: error: initialization of 'struct _tree * (*)(void)' from incompatible pointer type 'Tree * (*)(ActionNode *, int, set *)' {aka 'struct _tree * (*)(struct _anode *, int, struct _set *)'} [-Wincompatible-pointer-types]
207 | tAction
| ^~~~~~~
globals.c:207:9: note: (near initialization for 'fpTraverse[4]')
proto.h:340:15: note: 'tAction' declared here
340 | extern Tree * tAction( ActionNode *, int, set * );
| ^~~~~~~
globals.c:226:9: error: initialization of 'struct _set (*)(void)' from incompatible pointer type 'set (*)(Junction *, int, set *)' {aka 'struct _set (*)(struct _junct *, int, struct _set *)'} [-Wincompatible-pointer-types]
226 | rJunc,
| ^~~~~
globals.c:226:9: note: (near initialization for 'fpReach[1]')
proto.h:348:12: note: 'rJunc' declared here
348 | extern set rJunc( Junction *, int, set * );
| ^~~~~
globals.c:227:9: error: initialization of 'struct _set (*)(void)' from incompatible pointer type 'set (*)(RuleRefNode *, int, set *)' {aka 'struct _set (*)(struct _rrnode *, int, struct _set *)'} [-Wincompatible-pointer-types]
227 | rRuleRef,
| ^~~~~~~~
globals.c:227:9: note: (near initialization for 'fpReach[2]')
proto.h:349:12: note: 'rRuleRef' declared here
349 | extern set rRuleRef( RuleRefNode *, int, set * );
| ^~~~~~~~
globals.c:228:9: error: initialization of 'struct _set (*)(void)' from incompatible pointer type 'set (*)(TokNode *, int, set *)' {aka 'struct _set (*)(struct _toknode *, int, struct _set *)'} [-Wincompatible-pointer-types]
228 | rToken,
| ^~~~~~
globals.c:228:9: note: (near initialization for 'fpReach[3]')
proto.h:350:12: note: 'rToken' declared here
350 | extern set rToken( TokNode *, int, set * );
| ^~~~~~
globals.c:229:9: error: initialization of 'struct _set (*)(void)' from incompatible pointer type 'set (*)(ActionNode *, int, set *)' {aka 'struct _set (*)(struct _anode *, int, struct _set *)'} [-Wincompatible-pointer-types]
229 | rAction
| ^~~~~~~
globals.c:229:9: note: (near initialization for 'fpReach[4]')
proto.h:351:12: note: 'rAction' declared here
351 | extern set rAction( ActionNode *, int, set * );
| ^~~~~~~
globals.c:245:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
245 | pJunc,
| ^~~~~
globals.c:245:9: note: (near initialization for 'fpPrint[1]')
proto.h:419:13: note: 'pJunc' declared here
419 | extern void pJunc( Junction * );
| ^~~~~
globals.c:246:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(RuleRefNode *)' {aka 'void (*)(struct _rrnode *)'} [-Wincompatible-pointer-types]
246 | pRuleRef,
| ^~~~~~~~
globals.c:246:9: note: (near initialization for 'fpPrint[2]')
proto.h:420:13: note: 'pRuleRef' declared here
420 | extern void pRuleRef( RuleRefNode * );
| ^~~~~~~~
globals.c:247:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(TokNode *)' {aka 'void (*)(struct _toknode *)'} [-Wincompatible-pointer-types]
247 | pToken,
| ^~~~~~
globals.c:247:9: note: (near initialization for 'fpPrint[3]')
proto.h:421:13: note: 'pToken' declared here
421 | extern void pToken( TokNode * );
| ^~~~~~
globals.c:248:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(ActionNode *)' {aka 'void (*)(struct _anode *)'} [-Wincompatible-pointer-types]
248 | pAction
| ^~~~~~~
globals.c:248:9: note: (near initialization for 'fpPrint[4]')
proto.h:422:13: note: 'pAction' declared here
422 | extern void pAction( ActionNode * );
| ^~~~~~~
fset2.c: In function 'VerifyAmbig':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1259:9: note: in expansion of macro 'TRAV'
1259 | TRAV(p, LL_k, &rk, *t);
| ^~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1276:9: note: in expansion of macro 'TRAV'
1276 | TRAV(p, LL_k, &rk, *u);
| ^~~~
gen.c:64:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(RuleRefNode *)' {aka 'void (*)(struct _rrnode *)'} [-Wincompatible-pointer-types]
64 | genRuleRef,
| ^~~~~~~~~~
gen.c:64:9: note: (near initialization for 'C_Trans[2]')
In file included from generic.h:284,
from gen.c:40:
proto.h:356:13: note: 'genRuleRef' declared here
356 | extern void genRuleRef( RuleRefNode * );
| ^~~~~~~~~~
gen.c:65:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(TokNode *)' {aka 'void (*)(struct _toknode *)'} [-Wincompatible-pointer-types]
65 | genToken,
| ^~~~~~~~
gen.c:65:9: note: (near initialization for 'C_Trans[3]')
proto.h:357:13: note: 'genToken' declared here
357 | extern void genToken( TokNode * );
| ^~~~~~~~
gen.c:66:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(ActionNode *)' {aka 'void (*)(struct _anode *)'} [-Wincompatible-pointer-types]
66 | genAction
| ^~~~~~~~~
gen.c:66:9: note: (near initialization for 'C_Trans[4]')
proto.h:355:13: note: 'genAction' declared here
355 | extern void genAction( ActionNode * );
| ^~~~~~~~~
gen.c:89:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
89 | genSubBlk,
| ^~~~~~~~~
gen.c:89:9: note: (near initialization for 'C_JTrans[1]')
proto.h:362:13: note: 'genSubBlk' declared here
362 | extern void genSubBlk( Junction * );
| ^~~~~~~~~
gen.c:90:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
90 | genOptBlk,
| ^~~~~~~~~
gen.c:90:9: note: (near initialization for 'C_JTrans[2]')
proto.h:358:13: note: 'genOptBlk' declared here
358 | extern void genOptBlk( Junction * );
| ^~~~~~~~~
gen.c:91:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *, Junction *, Junction *, int)' {aka 'void (*)(struct _junct *, struct _junct *, struct _junct *, int)'} [-Wincompatible-pointer-types]
91 | genLoopBlk,
| ^~~~~~~~~~
gen.c:91:9: note: (near initialization for 'C_JTrans[3]')
proto.h:359:13: note: 'genLoopBlk' declared here
359 | extern void genLoopBlk( Junction *, Junction *, Junction *, int );
| ^~~~~~~~~~
gen.c:92:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
92 | genEndBlk,
| ^~~~~~~~~
gen.c:92:9: note: (near initialization for 'C_JTrans[4]')
proto.h:365:13: note: 'genEndBlk' declared here
365 | extern void genEndBlk( Junction * );
| ^~~~~~~~~
gen.c:93:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
93 | genRule,
| ^~~~~~~
gen.c:93:9: note: (near initialization for 'C_JTrans[5]')
proto.h:363:13: note: 'genRule' declared here
363 | extern void genRule( Junction * );
| ^~~~~~~
gen.c:94:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
94 | genJunction,
| ^~~~~~~~~~~
gen.c:94:9: note: (near initialization for 'C_JTrans[6]')
proto.h:364:13: note: 'genJunction' declared here
364 | extern void genJunction( Junction * );
| ^~~~~~~~~~~
gen.c:95:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
95 | genEndRule,
| ^~~~~~~~~~
gen.c:95:9: note: (near initialization for 'C_JTrans[7]')
proto.h:366:13: note: 'genEndRule' declared here
366 | extern void genEndRule( Junction * );
| ^~~~~~~~~~
gen.c:96:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
96 | genPlusBlk,
| ^~~~~~~~~~
gen.c:96:9: note: (near initialization for 'C_JTrans[8]')
proto.h:361:13: note: 'genPlusBlk' declared here
361 | extern void genPlusBlk( Junction * );
| ^~~~~~~~~~
gen.c:97:9: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Junction *)' {aka 'void (*)(struct _junct *)'} [-Wincompatible-pointer-types]
97 | genLoopBegin
| ^~~~~~~~~~~~
gen.c:97:9: note: (near initialization for 'C_JTrans[9]')
proto.h:360:13: note: 'genLoopBegin' declared here
360 | extern void genLoopBegin( Junction * );
| ^~~~~~~~~~~~
make[3]: *** [makefile:208: fset.o] Error 1
make[3]: *** Waiting for unfinished jobs....
fset2.c: In function 'computePredFromContextGuard':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1625:17: note: in expansion of macro 'TRAV'
1625 | TRAV(p, hmax, &rk, t); /* MR10 was LL_k */
| ^~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1640:17: note: in expansion of macro 'REACH'
1640 | REACH(p, 1, &rk, scontext);
| ^~~~~
fset2.c: In function 'recomputeContextGuard':
syn.h:179:53: error: too many arguments to function 'fpTraverse[p->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1685:17: note: in expansion of macro 'TRAV'
1685 | TRAV(p, pred->k, &rk, t);
| ^~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1696:17: note: in expansion of macro 'REACH'
1696 | REACH(p, 1, &rk, scontext);
| ^~~~~
fset2.c: In function 'MR_traceAmbSourceKclient':
syn.h:179:53: error: too many arguments to function 'fpTraverse[MR_AmbSourceSearchJ[i]->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
fset2.c:1772:5: note: in expansion of macro 'TRAV'
1772 | TRAV(MR_AmbSourceSearchJ[i],maxk,&incomplete,t);
| ^~~~
main.c:563:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
563 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"},
| ^~~
main.c:563:17: note: (near initialization for 'options[2].process')
main.c:189:1: note: 'pCk' declared here
189 | pCk( char *s, char *t )
| ^~~
main.c:567:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
567 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */
| ^~~~~~~~~
main.c:567:17: note: (near initialization for 'options[6].process')
main.c:126:1: note: 'pFileList' declared here
126 | pFileList( char *s, char *t )
| ^~~~~~~~~
main.c:568:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
568 | { "-fe", 1, pFe, "Rename err.c"},
| ^~~
main.c:568:17: note: (near initialization for 'options[7].process')
main.c:303:13: note: 'pFe' declared here
303 | static void pFe(char *s, char *t) {ErrFileName = t;}
| ^~~
main.c:569:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
569 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"},
| ^~~~~
main.c:569:17: note: (near initialization for 'options[8].process')
main.c:324:13: note: 'pFHdr' declared here
324 | static void pFHdr(char *s, char *t) { stdpccts = t; pGHdr(); }
| ^~~~~
main.c:570:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
570 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"},
| ^~~
main.c:570:17: note: (near initialization for 'options[9].process')
main.c:304:13: note: 'pFl' declared here
304 | static void pFl(char *s, char *t) {DlgFileName = t;}
| ^~~
main.c:571:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
571 | { "-fm", 1, pFm, "Rename mode.h"},
| ^~~
main.c:571:17: note: (near initialization for 'options[10].process')
main.c:305:13: note: 'pFm' declared here
305 | static void pFm(char *s, char *t) {ModeFileName = t;}
| ^~~
main.c:572:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
572 | { "-fr", 1, pFr, "Rename remap.h"},
| ^~~
main.c:572:17: note: (near initialization for 'options[11].process')
main.c:302:13: note: 'pFr' declared here
302 | static void pFr(char *s, char *t) {RemapFileName = t;}
| ^~~
main.c:573:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
573 | { "-ft", 1, pFt, "Rename tokens.h"},
| ^~~
main.c:573:17: note: (near initialization for 'options[12].process')
main.c:306:13: note: 'pFt' declared here
306 | static void pFt(char *s, char *t) {DefFileName = t;}
| ^~~
main.c:582:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
582 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"},
| ^~~~
main.c:582:17: note: (near initialization for 'options[21].process')
main.c:384:1: note: 'pPre' declared here
384 | pPre( char *s, char *t )
| ^~~~
main.c:587:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
587 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"},
| ^~~~
main.c:587:17: note: (near initialization for 'options[26].process')
main.c:173:1: note: 'pLLK' declared here
173 | pLLK( char *s, char *t )
| ^~~~
main.c:588:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
588 | { "-o", 1, pOut, OutputDirectoryOption},
| ^~~~
main.c:588:17: note: (near initialization for 'options[27].process')
main.c:396:1: note: 'pOut' declared here
396 | pOut( char *s, char *t )
| ^~~~
main.c:592:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
592 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"},
| ^~~~~~~~
main.c:592:18: note: (near initialization for 'options[31].process')
main.c:424:1: note: 'pPredCtx' declared here
424 | pPredCtx( char *s, char *t )
| ^~~~~~~~
main.c:593:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
593 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"},
| ^~~~~
main.c:593:17: note: (near initialization for 'options[32].process')
main.c:480:1: note: 'pTRes' declared here
480 | pTRes( char *s, char *t )
| ^~~~~
main.c:595:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
595 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */
| ^~~~
main.c:595:18: note: (near initialization for 'options[34].process')
make[3]: *** [makefile:208: misc.o] Error 1
fset2.c: In function 'MR_traceAmbSource':
main.c:205:1: note: 'pTab' declared here
205 | pTab( char *s, char *t ) /* MR6 */
| ^~~~
syn.h:173:48: error: too many arguments to function 'fpReach[p[i]->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset2.c:2020:13: note: in expansion of macro 'REACH'
2020 | REACH(p[i],depth,&incomplete,tokensUsed);
| ^~~~~
main.c:598:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
598 | { "-mrhoist",1,pMRhoist, /* MR9 */
| ^~~~~~~~
main.c:598:20: note: (near initialization for 'options[37].process')
main.c:442:1: note: 'pMRhoist' declared here
442 | pMRhoist( char *s, char *t )
| ^~~~~~~~
main.c:600:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
600 | { "-mrhoistk",1,pMRhoistk, /* MR13 */
| ^~~~~~~~~
main.c:600:21: note: (near initialization for 'options[38].process')
main.c:462:1: note: 'pMRhoistk' declared here
462 | pMRhoistk( char *s, char *t )
| ^~~~~~~~~
main.c:602:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
602 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */
| ^~~
main.c:602:17: note: (near initialization for 'options[39].process')
main.c:321:13: note: 'pAA' declared here
321 | static void pAA(char *s,char *t) {MR_AmbAidRule = t;} /* MR11 */
| ^~~
main.c:603:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *)' [-Wincompatible-pointer-types]
603 | { "-aam" ,0,pAAm,
| ^~~~
main.c:603:17: note: (near initialization for 'options[40].process')
main.c:322:13: note: 'pAAm' declared here
322 | static void pAAm(char *s){MR_AmbAidMultiple = 1;} /* MR11 */
| ^~~~
main.c:605:17: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
605 | { "-aad" ,1,pAAd,
| ^~~~
main.c:605:17: note: (near initialization for 'options[41].process')
main.c:223:1: note: 'pAAd' declared here
223 | pAAd( char *s, char *t ) /* MR11 */
| ^~~~
main.c:607:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
607 | { "-info",1,pInfo,
| ^~~~~
main.c:607:21: note: (near initialization for 'options[42].process')
main.c:258:13: note: 'pInfo' declared here
258 | static void pInfo(char *s, char *t) /* MR10 */
| ^~~~~
main.c:609:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *, char *)' [-Wincompatible-pointer-types]
609 | { "-treport",1,pTreport,
| ^~~~~~~~
main.c:609:20: note: (near initialization for 'options[43].process')
make[3]: *** [makefile:208: pred.o] Error 1
main.c:236:1: note: 'pTreport' declared here
236 | pTreport( char *s, char *t ) /* MR11 */
| ^~~~~~~~
main.c:622:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *)' [-Wincompatible-pointer-types]
622 | { "*", 0, pFile, "" }, /* anything else is a file */
| ^~~~~
main.c:622:21: note: (near initialization for 'options[50].process')
main.c:101:1: note: 'pFile' declared here
101 | pFile( char *s )
| ^~~~~
make[3]: *** [makefile:208: globals.o] Error 1
mrhoist.c: In function 'MR_suppressK_client':
In file included from stdpccts.h:22,
from main.c:37:
main.c: In function 'main':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)SynDiag->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:821:25: note: in expansion of macro 'TRANS'
821 | TRANS(SynDiag); /* Translate to the target language */
| ^~~~~
syn.h:179:53: error: too many arguments to function 'fpTraverse[suppressNode->ntype]'; expected 0, have 3
179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
mrhoist.c:2733:3: note: in expansion of macro 'TRAV'
2733 | TRAV(suppressNode,maxk,&incomplete,t);
| ^~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)SynDiag->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
main.c:821:25: note: in expansion of macro 'TRANS'
821 | TRANS(SynDiag); /* Translate to the target language */
| ^~~~~
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)SynDiag->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:855:25: note: in expansion of macro 'TRANS'
855 | TRANS(SynDiag); /* Translate to the target language */
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)SynDiag->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
main.c:855:25: note: in expansion of macro 'TRANS'
855 | TRANS(SynDiag); /* Translate to the target language */
| ^~~~~
syn.h:170:42: error: too many arguments to function 'fpPrint[SynDiag->ntype]'; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
main.c:886:22: note: in expansion of macro 'PRINT'
886 | else PRINT(SynDiag);
| ^~~~~
In file included from gen.c:38:
gen.c: In function 'genBlk':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:1570:17: note: in expansion of macro 'TRANS'
1570 | TRANS(q->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:1570:17: note: in expansion of macro 'TRANS'
1570 | TRANS(q->p1);
| ^~~~~
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)alt->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:1655:17: note: in expansion of macro 'TRANS'
1655 | TRANS(alt->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)alt->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:1655:17: note: in expansion of macro 'TRANS'
1655 | TRANS(alt->p1);
| ^~~~~
main.c: In function 'ProcessArgs':
main.c:1408:42: error: too many arguments to function 'p->process'; expected 0, have 2
1408 | (*p->process)( *argv, *(argv+1) );
| ~^~~~~~~~~~~~ ~~~~~
main.c:56:32: note: declared here
56 | void (*process)();
| ^~~~~~~
main.c:1416:42: error: too many arguments to function 'p->process'; expected 0, have 1
1416 | (*p->process)( *argv );
| ~^~~~~~~~~~~~ ~~~~~
main.c:56:32: note: declared here
56 | void (*process)();
| ^~~~~~~
make[3]: *** [makefile:208: bits.o] Error 1
gen.c: In function 'genAction':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:1989:9: note: in expansion of macro 'TRANS'
1989 | TRANS(p->next)
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:1989:9: note: in expansion of macro 'TRANS'
1989 | TRANS(p->next)
| ^~~~~
gen.c: In function 'genRuleRef':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:2236:9: note: in expansion of macro 'TRANS'
2236 | TRANS(p->next)
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:2236:9: note: in expansion of macro 'TRANS'
2236 | TRANS(p->next)
| ^~~~~
gen.c: In function 'genToken':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)a->next)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:2674:25: note: in expansion of macro 'TRANS'
2674 | TRANS( a->next ); /* MR30 */
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)a->next->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:2674:25: note: in expansion of macro 'TRANS'
2674 | TRANS( a->next ); /* MR30 */
| ^~~~~
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:2677:25: note: in expansion of macro 'TRANS'
2677 | TRANS( p->next ); /* MR30 */
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:2677:25: note: in expansion of macro 'TRANS'
2677 | TRANS( p->next ); /* MR30 */
| ^~~~~
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:2697:17: note: in expansion of macro 'TRANS'
2697 | TRANS(p->next);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:2697:17: note: in expansion of macro 'TRANS'
2697 | TRANS(p->next);
| ^~~~~
gen.c: In function 'genOptBlk':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:2775:33: note: in expansion of macro 'TRANS'
2775 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:2775:33: note: in expansion of macro 'TRANS'
2775 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
gen.c: In function 'genLoopBlk':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:2844:17: note: in expansion of macro 'TRANS'
2844 | TRANS(q->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:2844:17: note: in expansion of macro 'TRANS'
2844 | TRANS(q->p1);
| ^~~~~
gen.c: In function 'genLoopBegin':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:3014:33: note: in expansion of macro 'TRANS'
3014 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3014:33: note: in expansion of macro 'TRANS'
3014 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
gen.c: In function 'genPlusBlk':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:3109:17: note: in expansion of macro 'TRANS'
3109 | TRANS(q->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3109:17: note: in expansion of macro 'TRANS'
3109 | TRANS(q->p1);
| ^~~~~
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:3150:41: note: in expansion of macro 'TRANS'
3150 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3150:41: note: in expansion of macro 'TRANS'
3150 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:3223:33: note: in expansion of macro 'TRANS'
3223 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3223:33: note: in expansion of macro 'TRANS'
3223 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
gen.c: In function 'genSubBlk':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:3319:33: note: in expansion of macro 'TRANS'
3319 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3319:33: note: in expansion of macro 'TRANS'
3319 | if (q->end->p1 != NULL) TRANS(q->end->p1);
| ^~~~~
gen.c: In function 'genRule':
syn.h:173:48: error: too many arguments to function 'fpReach[q->end->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3563:17: note: in expansion of macro 'REACH'
3563 | REACH(q->end, 1, &rk, follow);
| ^~~~~
make[3]: *** [makefile:208: fset2.o] Error 1
gen.c: In function 'genJunction':
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:3824:30: note: in expansion of macro 'TRANS'
3824 | if ( q->p1 != NULL ) TRANS(q->p1);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3824:30: note: in expansion of macro 'TRANS'
3824 | if ( q->p1 != NULL ) TRANS(q->p1);
| ^~~~~
syn.h:166:73: error: too many arguments to function '*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p2)->jtype * 8))'; expected 0, have 1
166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c:3825:30: note: in expansion of macro 'TRANS'
3825 | if ( q->p2 != NULL ) TRANS(q->p2);
| ^~~~~
syn.h:167:47: error: too many arguments to function '*(fpTrans + (sizetype)((long unsigned int)q->p2->ntype * 8))'; expected 0, have 1
167 | else (*(fpTrans[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:3825:30: note: in expansion of macro 'TRANS'
3825 | if ( q->p2 != NULL ) TRANS(q->p2);
| ^~~~~
make[3]: *** [makefile:208: main.o] Error 1
make[3]: *** [makefile:208: mrhoist.o] Error 1
gen.c: In function 'ComputeErrorSet':
syn.h:173:48: error: too many arguments to function 'fpReach[alt1->p1->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:4340:17: note: in expansion of macro 'REACH'
4340 | REACH(alt1->p1, k, &rk, a);
| ^~~~~
gen.c: In function 'tokenFollowSet':
syn.h:173:48: error: too many arguments to function 'fpReach[p->next->ntype]'; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
gen.c:4362:5: note: in expansion of macro 'REACH'
4362 | REACH(p->next, 1, &rk, a);
| ^~~~~
make[3]: *** [makefile:208: gen.o] Error 1
make[3]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg'
make[2]: *** [GNUmakefile:61: Pccts/dlg/dlg] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr'
make[2]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C/VfrCompile'
make[2]: *** [GNUmakefile:58: Pccts/antlr/antlr] Error 2
make[1]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools/Source/C'
make[1]: *** [GNUmakefile:86: VfrCompile/VfrLexer.h] Error 2
make: *** [GNUmakefile:19: Source/C] Error 2
make: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/edk2/BaseTools'
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/temp/run.do_compile.1018337:198 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/temp/run.do_compile.1018337, line 198
#2: die, TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/temp/run.do_compile.1018337, line 182
#3: oe_runmake, TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/temp/run.do_compile.1018337, line 177
#4: do_compile, TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/temp/run.do_compile.1018337, line 162
#5: main, TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/temp/run.do_compile.1018337, line 211