=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/sgb", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for sgb-20070328nb1 make gb_flip.c if test -r gb_flip.ch; then /opt/pkg/bin/ctangle gb_flip.w gb_flip.ch; else /opt/pkg/bin/ctangle gb_flip.w; fi This is CTANGLE, Version 4.12.2 (TeX Live 2026/pkgsrc) *1*4*8*12*14 Writing the output files: (gb_flip.c) (test_flip.c) (gb_flip.h) Done. (No errors were found.) make gb_flip.o /tmp/work/devel/sgb/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c gb_flip.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -c gb_flip.c -fPIC -DPIC -o .libs/gb_flip.o gb_flip.w: In function 'gb_init_rand': gb_flip.w:159:6: warning: old-style function definition [-Wold-style-definition] 159 | void gb_init_rand(seed) | ^~~~~~~~~~~~ gb_flip.w: In function 'gb_unif_rand': gb_flip.w:252:6: warning: old-style function definition [-Wold-style-definition] 252 | long gb_unif_rand(m) | ^~~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -c gb_flip.c -o gb_flip.o >/dev/null 2>&1 make gb_graph.c if test -r gb_graph.ch; then /opt/pkg/bin/ctangle gb_graph.w gb_graph.ch; else /opt/pkg/bin/ctangle gb_graph.w; fi This is CTANGLE, Version 4.12.2 (TeX Live 2026/pkgsrc) *1*8*11*20*42*49 Writing the output files: (gb_graph.c)... (test_graph.c) (gb_graph.h). Done. (No errors were found.) make gb_graph.o /tmp/work/devel/sgb/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c gb_graph.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -c gb_graph.c -fPIC -DPIC -o .libs/gb_graph.o gb_graph.w: In function 'gb_alloc': gb_graph.w:268:6: warning: old-style function definition [-Wold-style-definition] 268 | char *gb_alloc(n,s) | ^~~~~~~~ gb_graph.w: In function 'gb_free': gb_graph.w:299:6: warning: old-style function definition [-Wold-style-definition] 299 | void gb_free(s) | ^~~~~~~ gb_graph.w: In function 'gb_nugraph': gb_graph.w:53:22: warning: old-style function definition [-Wold-style-definition] 53 | @@; | ^~~~~~ gb_graph.w:444:7: note: in expansion of macro 'gb_new_graph' 444 | Graph *gb_new_graph(n) | ^~~~~~~~~~~~ gb_graph.w: In function 'make_compound_id': gb_graph.w:487:6: warning: old-style function definition [-Wold-style-definition] 487 | void make_compound_id(g,s1,gg,s2) /* |sprintf(g->id,"%s%s%s",s1,gg->id,s2)| */ | ^~~~~~~~~~~~~~~~ gb_graph.w: In function 'make_double_compound_id': gb_graph.w:500:6: warning: old-style function definition [-Wold-style-definition] 500 | void make_double_compound_id(g,s1,gg,s2,ggg,s3) | ^~~~~~~~~~~~~~~~~~~~~~~ gb_graph.w: In function 'gb_nuarc': gb_graph.w:54:20: warning: old-style function definition [-Wold-style-definition] 54 | @ | ^~~ gb_graph.w:583:6: note: in expansion of macro 'gb_new_arc' 583 | void gb_new_arc(u,v,len) | ^~~~~~~~~~ gb_graph.w: In function 'gb_nuedge': gb_graph.w:55:21: warning: old-style function definition [-Wold-style-definition] 55 | | ^ gb_graph.w:628:6: note: in expansion of macro 'gb_new_edge' 628 | void gb_new_edge(u,v,len) | ^~~~~~~~~~~ gb_graph.w: In function 'gb_save_string': gb_graph.w:691:6: warning: old-style function definition [-Wold-style-definition] 691 | char *gb_save_string(s) | ^~~~~~~~~~~~~~ gb_graph.w: In function 'switch_to_graph': gb_graph.w:774:6: warning: old-style function definition [-Wold-style-definition] 774 | void switch_to_graph(g) | ^~~~~~~~~~~~~~~ gb_graph.w: In function 'gb_recycle': gb_graph.w:792:6: warning: old-style function definition [-Wold-style-definition] 792 | void gb_recycle(g) | ^~~~~~~~~~ gb_graph.w: In function 'hash_in': gb_graph.w:857:6: warning: old-style function definition [-Wold-style-definition] 857 | void hash_in(v) | ^~~~~~~ gb_graph.w: In function 'hash_out': gb_graph.w:900:8: warning: old-style function definition [-Wold-style-definition] 900 | Vertex* hash_out(s) | ^~~~~~~~ gb_graph.w: In function 'hash_setup': gb_graph.w:911:6: warning: old-style function definition [-Wold-style-definition] 911 | void hash_setup(g) | ^~~~~~~~~~ gb_graph.w: In function 'hash_lookup': gb_graph.w:926:8: warning: old-style function definition [-Wold-style-definition] 926 | Vertex* hash_lookup(s,g) | ^~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -c gb_graph.c -o gb_graph.o >/dev/null 2>&1 if test -r gb_io.ch; then /opt/pkg/bin/ctangle gb_io.w gb_io.ch; else /opt/pkg/bin/ctangle gb_io.w; fi This is CTANGLE, Version 4.12.2 (TeX Live 2026/pkgsrc) *1*8*10*21*28*38*43 Writing the output files: (gb_io.c).. (test_io.c) (gb_io.h) Done. (No errors were found.) /tmp/work/devel/sgb/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDATA_DIRECTORY=\"/opt/pkg/share/sgb/data/\" -c gb_io.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -DDATA_DIRECTORY=\"/opt/pkg/share/sgb/data/\" -c gb_io.c -fPIC -DPIC -o .libs/gb_io.o gb_io.w: In function 'imap_chr': gb_io.w:191:6: warning: old-style function definition [-Wold-style-definition] 191 | char imap_chr(d) | ^~~~~~~~ gb_io.w: In function 'imap_ord': gb_io.w:197:6: warning: old-style function definition [-Wold-style-definition] 197 | long imap_ord(c) | ^~~~~~~~ gb_io.w: In function 'new_checksum': gb_io.w:232:6: warning: old-style function definition [-Wold-style-definition] 232 | long new_checksum(s,old_checksum) | ^~~~~~~~~~~~ gb_io.w: In function 'gb_digit': gb_io.w:315:6: warning: old-style function definition [-Wold-style-definition] 315 | long gb_digit(d) | ^~~~~~~~ gb_io.w: In function 'gb_number': gb_io.w:323:15: warning: old-style function definition [-Wold-style-definition] 323 | unsigned long gb_number(d) | ^~~~~~~~~ gb_io.w: In function 'gb_string': gb_io.w:361:6: warning: old-style function definition [-Wold-style-definition] 361 | char *gb_string(p,c) | ^~~~~~~~~ gb_io.w: In function 'gb_r_open': gb_io.w:85:21: warning: old-style function definition [-Wold-style-definition] 85 | @ @(gb_io.h@>= | ^ gb_io.w:432:6: note: in expansion of macro 'gb_raw_open' 432 | void gb_raw_open(f) | ^~~~~~~~~~~ gb_io.w: In function 'gb_open': gb_io.w:464:6: warning: old-style function definition [-Wold-style-definition] 464 | long gb_open(f) | ^~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -DDATA_DIRECTORY=\"/opt/pkg/share/sgb/data/\" -c gb_io.c -o gb_io.o >/dev/null 2>&1 make gb_sort.c if test -r gb_sort.ch; then /opt/pkg/bin/ctangle gb_sort.w gb_sort.ch; else /opt/pkg/bin/ctangle gb_sort.w; fi This is CTANGLE, Version 4.12.2 (TeX Live 2026/pkgsrc) *1*12 Writing the output files: (gb_sort.c) (gb_sort.h) Done. (No errors were found.) make gb_sort.o /tmp/work/devel/sgb/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c gb_sort.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -c gb_sort.c -fPIC -DPIC -o .libs/gb_sort.o gb_sort.w: In function 'gb_linksort': gb_sort.w:95:6: warning: old-style function definition [-Wold-style-definition] 95 | void gb_linksort(l) | ^~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -c gb_sort.c -o gb_sort.o >/dev/null 2>&1 make gb_basic.c if test -r gb_basic.ch; then /opt/pkg/bin/ctangle gb_basic.w gb_basic.ch; else /opt/pkg/bin/ctangle gb_basic.w; fi This is CTANGLE, Version 4.12.2 (TeX Live 2026/pkgsrc) *1*6*24*36*41*54*63*73*77*87*94*100*115 Writing the output files: (gb_basic.c).....500.....1000.....1500. (gb_basic.h) Done. (No errors were found.) make gb_basic.o /tmp/work/devel/sgb/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c gb_basic.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/devel/sgb/work/.buildlink/include -c gb_basic.c -fPIC -DPIC -o .libs/gb_basic.o gb_basic.w: In function 'board': gb_basic.w:176:7: warning: old-style function definition [-Wold-style-definition] 176 | Graph *board(n1,n2,n3,n4,piece,wrap,directed) | ^~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:256:13: note: in expansion of macro 'panic' 256 | if (d>MAX_D) panic(bad_specs); /* too many dimensions */ | ^~~~~ In file included from gb_basic.w:33: gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:269:17: note: in expansion of macro 'panic' 269 | if (nnn>MAX_NNN) panic(very_bad_specs); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:272:12: note: in expansion of macro 'gb_new_graph' 272 | new_graph=gb_new_graph(n); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:274:1: note: in expansion of macro 'panic' 274 | panic(no_room); /* out of memory before we're even started */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:304:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 304 | v->name=gb_save_string(&buffer[1]); /* omit |buffer[0]|, which is |'.'| */ | ^~~~~~~~~~~~~~ ~~~~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:419:13: note: in expansion of macro 'gb_new_arc' 419 | if (directed) gb_new_arc(v,new_graph->vertices+j,l); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:420:6: note: in expansion of macro 'gb_new_edge' 420 | else gb_new_edge(v,new_graph->vertices+j,l); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:189:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 189 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:190:1: note: in expansion of macro 'panic' 190 | panic(alloc_fault); /* alas, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'simplex': gb_basic.w:493:7: warning: old-style function definition [-Wold-style-definition] 493 | Graph *simplex(n,n0,n1,n2,n3,n4,directed) | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:256:13: note: in expansion of macro 'panic' 256 | if (d>MAX_D) panic(bad_specs); /* too many dimensions */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:315:20: error: too many arguments to function 'gb_alloc'; expected 0, have 2 315 | @[(t*)@]gb_alloc((long)((n)*@[sizeof@](t)),s)@] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ gb_basic.w:551:21: note: in expansion of macro 'gb_typed_alloc' 551 | register long *coef=gb_typed_alloc(n+1,long,working_storage); | ^~~~~~~~~~~~~~ gb_graph.w:313:13: note: declared here 313 | extern char *gb_alloc(); /* allocate another block for an area */ | ^~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:552:20: note: in expansion of macro 'panic' 552 | if (gb_trouble_code) panic(no_room+1); /* can't allocate |coef| array */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:577:18: note: in expansion of macro 'panic' 577 | if (s>1000000000) panic(very_bad_specs); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:558:1: error: too many arguments to function 'gb_free'; expected 0, have 1 558 | gb_free(working_storage); /* recycle the |coef| array */ | ^ ~~~~~ ~~~~~~~~~~~~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:559:12: note: in expansion of macro 'gb_new_graph' 559 | new_graph=gb_new_graph(nverts); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:561:1: note: in expansion of macro 'panic' 561 | panic(no_room); /* out of memory before we're even started */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:625:9: note: in expansion of macro 'panic' 625 | if (s!=0) panic(impossible+1) /* can't happen */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:652:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 652 | v->name=gb_save_string(&buffer[1]); /* omit |buffer[0]|, which is |'.'| */ | ^~~~~~~~~~~~~~ ~~~~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:608:1: error: too many arguments to function 'hash_in'; expected 0, have 1 608 | hash_in(v); /* enter |v->name| into the hash table | ^ ~~~ ~ gb_graph.w:841:13: note: declared here 841 | extern void hash_in(); /* input a name to the hash table of current graph */ | ^~~~~~~ gb_basic.w:672:4: error: too many arguments to function 'hash_out'; expected 0, have 1 672 | u=hash_out(&buffer[1]); | ^ ~~~ ~~~~~~~~~~ gb_graph.w:842:15: note: declared here 842 | extern Vertex* hash_out(); /* find a name in hash table of current graph */ | ^~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:673:12: note: in expansion of macro 'panic' 673 | if (u==NULL) panic(impossible+2); /* can't happen */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:674:13: note: in expansion of macro 'gb_new_arc' 674 | if (directed) gb_new_arc(u,v,1L); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:675:6: note: in expansion of macro 'gb_new_edge' 675 | else gb_new_edge(u,v,1L); | ^ ~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:617:1: note: in expansion of macro 'panic' 617 | panic(impossible); /* can't happen */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:502:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 502 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:503:1: note: in expansion of macro 'panic' 503 | panic(alloc_fault); /* darn, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'subsets': gb_basic.w:732:7: warning: old-style function definition [-Wold-style-definition] 732 | Graph *subsets(n,n0,n1,n2,n3,n4,size_bits,directed) | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:256:13: note: in expansion of macro 'panic' 256 | if (d>MAX_D) panic(bad_specs); /* too many dimensions */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:315:20: error: too many arguments to function 'gb_alloc'; expected 0, have 2 315 | @[(t*)@]gb_alloc((long)((n)*@[sizeof@](t)),s)@] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ gb_basic.w:551:21: note: in expansion of macro 'gb_typed_alloc' 551 | register long *coef=gb_typed_alloc(n+1,long,working_storage); | ^~~~~~~~~~~~~~ gb_graph.w:313:13: note: declared here 313 | extern char *gb_alloc(); /* allocate another block for an area */ | ^~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:552:20: note: in expansion of macro 'panic' 552 | if (gb_trouble_code) panic(no_room+1); /* can't allocate |coef| array */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:577:18: note: in expansion of macro 'panic' 577 | if (s>1000000000) panic(very_bad_specs); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:558:1: error: too many arguments to function 'gb_free'; expected 0, have 1 558 | gb_free(working_storage); /* recycle the |coef| array */ | ^ ~~~~~ ~~~~~~~~~~~~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:559:12: note: in expansion of macro 'gb_new_graph' 559 | new_graph=gb_new_graph(nverts); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:561:1: note: in expansion of macro 'panic' 561 | panic(no_room); /* out of memory before we're even started */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:625:9: note: in expansion of macro 'panic' 625 | if (s!=0) panic(impossible+1) /* can't happen */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:652:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 652 | v->name=gb_save_string(&buffer[1]); /* omit |buffer[0]|, which is |'.'| */ | ^~~~~~~~~~~~~~ ~~~~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:797:13: note: in expansion of macro 'gb_new_arc' 797 | if (directed) gb_new_arc(u,v,1L); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:798:6: note: in expansion of macro 'gb_new_edge' 798 | else gb_new_edge(u,v,1L); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:774:1: note: in expansion of macro 'panic' 774 | panic(impossible); /* can't happen */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:742:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 742 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:743:1: note: in expansion of macro 'panic' 743 | panic(alloc_fault); /* rats, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'perms': gb_basic.w:886:7: warning: old-style function definition [-Wold-style-definition] 886 | Graph *perms(n0,n1,n2,n3,n4,max_inv,directed) | ^~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:256:13: note: in expansion of macro 'panic' 256 | if (d>MAX_D) panic(bad_specs); /* too many dimensions */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:916:20: note: in expansion of macro 'panic' 916 | if (nn[k]>=BUF_SIZE) panic(bad_specs); | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:918:16: note: in expansion of macro 'panic' 918 | if (s>=BUF_SIZE) panic(bad_specs+1); /* too many elements in the multiset */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:315:20: error: too many arguments to function 'gb_alloc'; expected 0, have 2 315 | @[(t*)@]gb_alloc((long)((n)*@[sizeof@](t)),s)@] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ gb_basic.w:933:21: note: in expansion of macro 'gb_typed_alloc' 933 | register long *coef=gb_typed_alloc(max_inv+1,long,working_storage); | ^~~~~~~~~~~~~~ gb_graph.w:313:13: note: declared here 313 | extern char *gb_alloc(); /* allocate another block for an area */ | ^~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:934:20: note: in expansion of macro 'panic' 934 | if (gb_trouble_code) panic(no_room+1); /* can't allocate |coef| array */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:962:24: note: in expansion of macro 'panic' 962 | if (coef[i]>1000000000) panic(very_bad_specs+1); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:941:23: note: in expansion of macro 'panic' 941 | if (nverts>1000000000) panic(very_bad_specs); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:943:1: error: too many arguments to function 'gb_free'; expected 0, have 1 943 | gb_free(working_storage); /* recycle the |coef| array */ | ^ ~~~~~ ~~~~~~~~~~~~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:944:12: note: in expansion of macro 'gb_new_graph' 944 | new_graph=gb_new_graph(nverts); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:946:1: note: in expansion of macro 'panic' 946 | panic(no_room); /* out of memory before we're even started */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:315:20: error: too many arguments to function 'gb_alloc'; expected 0, have 2 315 | @[(t*)@]gb_alloc((long)((n)*@[sizeof@](t)),s)@] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ gb_basic.w:996:7: note: in expansion of macro 'gb_typed_alloc' 996 | xtab=gb_typed_alloc(3*n+3,long,working_storage); | ^~~~~~~~~~~~~~ gb_graph.w:313:13: note: declared here 313 | extern char *gb_alloc(); /* allocate another block for an area */ | ^~~~~~~~ gb_basic.w:998:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 998 | gb_recycle(new_graph);@+panic(no_room+2);@+} | ^~~~~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:998:23: note: in expansion of macro 'panic' 998 | gb_recycle(new_graph);@+panic(no_room+2);@+} | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1043:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 1043 | v->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:1044:1: error: too many arguments to function 'hash_in'; expected 0, have 1 1044 | hash_in(v); /* enter |v->name| into the hash table | ^ ~~~~~ ~ gb_graph.w:841:13: note: declared here 841 | extern void hash_in(); /* input a name to the hash table of current graph */ | ^~~~~~~ gb_basic.w:1058:4: error: too many arguments to function 'hash_out'; expected 0, have 1 1058 | u=hash_out(buffer); | ^~~~~~~~ ~~~~~~ gb_graph.w:842:15: note: declared here 842 | extern Vertex* hash_out(); /* find a name in hash table of current graph */ | ^~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1059:12: note: in expansion of macro 'panic' 1059 | if (u==NULL) panic(impossible+2); /* can't happen */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1060:13: note: in expansion of macro 'gb_new_arc' 1060 | if (directed) gb_new_arc(u,v,1L); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1061:6: note: in expansion of macro 'gb_new_edge' 1061 | else gb_new_edge(u,v,1L); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:991:1: note: in expansion of macro 'panic' 991 | panic(impossible); /* can't happen */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:992:1: error: too many arguments to function 'gb_free'; expected 0, have 1 992 | gb_free(working_storage); | ^ ~~~~~ ~~~~~~~~~~~~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:896:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 896 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:897:1: note: in expansion of macro 'panic' 897 | panic(alloc_fault); /* shucks, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'parts': gb_basic.w:1098:7: warning: old-style function definition [-Wold-style-definition] 1098 | Graph *parts(n,max_parts,max_size,directed) | ^~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1106:21: note: in expansion of macro 'panic' 1106 | if (max_parts>MAX_D) panic(bad_specs); /* too many parts allowed */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:315:20: error: too many arguments to function 'gb_alloc'; expected 0, have 2 315 | @[(t*)@]gb_alloc((long)((n)*@[sizeof@](t)),s)@] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ gb_basic.w:1123:21: note: in expansion of macro 'gb_typed_alloc' 1123 | register long *coef=gb_typed_alloc(n+1,long,working_storage); | ^~~~~~~~~~~~~~ gb_graph.w:313:13: note: declared here 313 | extern char *gb_alloc(); /* allocate another block for an area */ | ^~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1124:20: note: in expansion of macro 'panic' 1124 | if (gb_trouble_code) panic(no_room+1); /* can't allocate |coef| array */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1130:24: note: in expansion of macro 'panic' 1130 | if (coef[j]>1000000000) panic(very_bad_specs); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1134:1: error: too many arguments to function 'gb_free'; expected 0, have 1 1134 | gb_free(working_storage); /* recycle the |coef| array */ | ^ ~~~~~ ~~~~~~~~~~~~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:1135:12: note: in expansion of macro 'gb_new_graph' 1135 | new_graph=gb_new_graph(nverts); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1137:1: note: in expansion of macro 'panic' 1137 | panic(no_room); /* out of memory before we're even started */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1194:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 1194 | v->name=gb_save_string(&buffer[1]); /* omit |buffer[0]|, which is |'+'| */ | ^~~~~~~~~~~~~~ ~~~~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:1195:1: error: too many arguments to function 'hash_in'; expected 0, have 1 1195 | hash_in(v); /* enter |v->name| into the hash table | ^ ~~~~~ ~ gb_graph.w:841:13: note: declared here 841 | extern void hash_in(); /* input a name to the hash table of current graph */ | ^~~~~~~ gb_basic.w:1236:4: error: too many arguments to function 'hash_out'; expected 0, have 1 1236 | u=hash_out(&buffer[1]); | ^~~~~~~~ ~~~~~~~~~~ gb_graph.w:842:15: note: declared here 842 | extern Vertex* hash_out(); /* find a name in hash table of current graph */ | ^~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1237:12: note: in expansion of macro 'panic' 1237 | if (u==NULL) panic(impossible+2); /* can't happen */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1238:13: note: in expansion of macro 'gb_new_arc' 1238 | if (directed) gb_new_arc(v,u,1L); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1239:6: note: in expansion of macro 'gb_new_edge' 1239 | else gb_new_edge(v,u,1L); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1167:1: note: in expansion of macro 'panic' 1167 | panic(impossible); /* can't happen */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1110:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1110 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1111:1: note: in expansion of macro 'panic' 1111 | panic(alloc_fault); | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'binary': gb_basic.w:1290:7: warning: old-style function definition [-Wold-style-definition] 1290 | Graph *binary(n,max_height,directed) | ^~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1295:20: note: in expansion of macro 'panic' 1295 | if (2*n+2>BUF_SIZE) panic(bad_specs); /* |n| is too huge for us */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1297:19: note: in expansion of macro 'panic' 1297 | if (max_height>30) panic(very_bad_specs); /* more than a billion vertices */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1350:9: note: in expansion of macro 'panic' 1350 | if (d>8) panic(bad_specs+1); /* too many vertices */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1358:16: note: in expansion of macro 'panic' 1358 | if (ss>MAX_NNN) panic(very_bad_specs+1); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:1335:12: note: in expansion of macro 'gb_new_graph' 1335 | new_graph=gb_new_graph(nverts); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1337:1: note: in expansion of macro 'panic' 1337 | panic(no_room); /* out of memory before we're even started */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:315:20: error: too many arguments to function 'gb_alloc'; expected 0, have 2 315 | @[(t*)@]gb_alloc((long)((n)*@[sizeof@](t)),s)@] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ gb_basic.w:1429:7: note: in expansion of macro 'gb_typed_alloc' 1429 | xtab=gb_typed_alloc(8*n+4,long,working_storage); | ^~~~~~~~~~~~~~ gb_graph.w:313:13: note: declared here 313 | extern char *gb_alloc(); /* allocate another block for an area */ | ^~~~~~~~ gb_basic.w:1431:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1431 | gb_recycle(new_graph);@+panic(no_room+2);@+} | ^ ~~~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1431:23: note: in expansion of macro 'panic' 1431 | gb_recycle(new_graph);@+panic(no_room+2);@+} | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1479:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 1479 | v->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:1480:1: error: too many arguments to function 'hash_in'; expected 0, have 1 1480 | hash_in(v); /* enter |v->name| into the hash table | ^ ~~~~~ ~ gb_graph.w:841:13: note: declared here 841 | extern void hash_in(); /* input a name to the hash table of current graph */ | ^~~~~~~ gb_basic.w:1500:4: error: too many arguments to function 'hash_out'; expected 0, have 1 1500 | u=hash_out(buffer); | ^ ~~~~~ ~~~~~~ gb_graph.w:842:15: note: declared here 842 | extern Vertex* hash_out(); /* find a name in hash table of current graph */ | ^~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1502:13: note: in expansion of macro 'gb_new_arc' 1502 | if (directed) gb_new_arc(v,u,1L); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1503:6: note: in expansion of macro 'gb_new_edge' 1503 | else gb_new_edge(v,u,1L); | ^ ~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1425:1: note: in expansion of macro 'panic' 1425 | panic(impossible); /* can't happen */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1426:1: error: too many arguments to function 'gb_free'; expected 0, have 1 1426 | gb_free(working_storage); | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1301:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1301 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1302:1: note: in expansion of macro 'panic' 1302 | panic(alloc_fault); /* uff da, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'complement': gb_basic.w:1545:7: warning: old-style function definition [-Wold-style-definition] 1545 | Graph *complement(g,copy,self,directed) | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1554:12: note: in expansion of macro 'panic' 1554 | if (g==NULL) panic(missing_operand); /* where's |g|? */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:1577:12: note: in expansion of macro 'gb_new_graph' 1577 | new_graph=gb_new_graph(n); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1579:1: note: in expansion of macro 'panic' 1579 | panic(no_room); /* out of memory before we're even started */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1582:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 1582 | u->name=gb_save_string(v->name); | ^~~~~~~~~~~~~~ ~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:1557:1: error: too many arguments to function 'make_compound_id'; expected 0, have 4 1557 | make_compound_id(new_graph,"complement(",g,buffer); | ^ ~~~~~~~~~~~~~~ ~~~~~~~~~ gb_graph.w:478:13: note: declared here 478 | extern void make_compound_id(); | ^~~~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1600:16: note: in expansion of macro 'gb_new_arc' 1600 | if (vv!=u || self) gb_new_arc(u,vv,1L); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1604:1: note: in expansion of macro 'gb_new_edge' 1604 | gb_new_edge(u,vv,1L); | ^ ~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:1560:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1560 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1561:1: note: in expansion of macro 'panic' 1561 | panic(alloc_fault); | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'gunion': gb_basic.w:1642:7: warning: old-style function definition [-Wold-style-definition] 1642 | Graph *gunion(g,gg,multi,directed) | ^~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1650:22: note: in expansion of macro 'panic' 1650 | if (g==NULL || gg==NULL) panic(missing_operand); | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:1577:12: note: in expansion of macro 'gb_new_graph' 1577 | new_graph=gb_new_graph(n); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1579:1: note: in expansion of macro 'panic' 1579 | panic(no_room); /* out of memory before we're even started */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1582:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 1582 | u->name=gb_save_string(v->name); | ^~~~~~~~~~~~~~ ~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:1654:1: error: too many arguments to function 'make_double_compound_id'; expected 0, have 6 1654 | make_double_compound_id(new_graph,"gunion(",g,",",gg,buffer); | ^ ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ gb_graph.w:480:13: note: declared here 480 | extern void make_double_compound_id(); /* ditto, but from two others */ | ^~~~~~~~~~~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1703:22: note: in expansion of macro 'gb_new_arc' 1703 | if (multi || u->tmp!=vv) gb_new_arc(vv,u,a->len); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1711:22: note: in expansion of macro 'gb_new_edge' 1711 | if (multi || u->tmp!=vv) gb_new_edge(vv,u,a->len); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1703:22: note: in expansion of macro 'gb_new_arc' 1703 | if (multi || u->tmp!=vv) gb_new_arc(vv,u,a->len); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1711:22: note: in expansion of macro 'gb_new_edge' 1711 | if (multi || u->tmp!=vv) gb_new_edge(vv,u,a->len); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:1659:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1659 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1660:1: note: in expansion of macro 'panic' 1660 | panic(alloc_fault); /* uh oh, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'intersection': gb_basic.w:1723:7: warning: old-style function definition [-Wold-style-definition] 1723 | Graph *intersection(g,gg,multi,directed) | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1731:22: note: in expansion of macro 'panic' 1731 | if (g==NULL || gg==NULL) panic(missing_operand); /* where are |g| and |gg|? */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:1577:12: note: in expansion of macro 'gb_new_graph' 1577 | new_graph=gb_new_graph(n); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1579:1: note: in expansion of macro 'panic' 1579 | panic(no_room); /* out of memory before we're even started */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1582:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 1582 | u->name=gb_save_string(v->name); | ^~~~~~~~~~~~~~ ~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:1734:1: error: too many arguments to function 'make_double_compound_id'; expected 0, have 6 1734 | make_double_compound_id(new_graph,"intersection(",g,",",gg,buffer); | ^ ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ gb_graph.w:480:13: note: declared here 480 | extern void make_double_compound_id(); /* ditto, but from two others */ | ^~~~~~~~~~~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1773:13: note: in expansion of macro 'gb_new_arc' 1773 | if (directed) gb_new_arc(vv,u,l); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1775:10: note: in expansion of macro 'gb_new_edge' 1775 | if (vv<=u) gb_new_edge(vv,u,l); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:1739:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1739 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1740:1: note: in expansion of macro 'panic' 1740 | panic(alloc_fault); /* whoops, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'lines': gb_basic.w:1836:7: warning: old-style function definition [-Wold-style-definition] 1836 | Graph *lines(g,directed) | ^~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1842:12: note: in expansion of macro 'panic' 1842 | if (g==NULL) panic(missing_operand); /* where is |g|? */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:1892:12: note: in expansion of macro 'gb_new_graph' 1892 | new_graph=gb_new_graph(m); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1894:1: note: in expansion of macro 'panic' 1894 | panic(no_room); /* out of memory before we're even started */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1895:1: error: too many arguments to function 'make_compound_id'; expected 0, have 4 1895 | make_compound_id(new_graph,"lines(",g,directed? ",1)": ",0)"); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ gb_graph.w:478:13: note: declared here 478 | extern void make_compound_id(); | ^~~~~~~~~~~~~~~~ gb_basic.w:1940:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 1940 | u->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:1947:4: note: in expansion of macro 'gb_new_arc' 1947 | do@+{gb_new_arc(u,v,1L); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1965:26: note: in expansion of macro 'gb_new_edge' 1965 | for (vv=v->map;vv=new_graph->vertices) gb_new_edge(u,vv,1L); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:1973:32: note: in expansion of macro 'gb_new_edge' 1973 | for (vv=v->map;vv->u.V==v;vv++) gb_new_edge(u,vv,1L); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:1848:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1848 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1849:1: note: in expansion of macro 'panic' 1849 | panic(alloc_fault); /* (sigh) we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:1920:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 1920 | gb_recycle(new_graph); | ^~~~~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:1921:1: note: in expansion of macro 'panic' 1921 | panic(invalid_operand); | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'product': gb_basic.w:2010:7: warning: old-style function definition [-Wold-style-definition] 2010 | Graph *product(g,gg,type,directed) | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2017:22: note: in expansion of macro 'panic' 2017 | if (g==NULL || gg==NULL) panic(missing_operand); /* where are |g| and |gg|? */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2038:26: note: in expansion of macro 'panic' 2038 | if (test_product>MAX_NNN) panic(very_bad_specs); /* way too many vertices */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:2041:12: note: in expansion of macro 'gb_new_graph' 2041 | new_graph=gb_new_graph(n); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2043:1: note: in expansion of macro 'panic' 2043 | panic(no_room); /* out of memory before we're even started */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:2047:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 2047 | u->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:2051:1: error: too many arguments to function 'make_double_compound_id'; expected 0, have 6 2051 | make_double_compound_id(new_graph,"product(",g,",",gg,buffer); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ gb_graph.w:480:13: note: declared here 480 | extern void make_double_compound_id(); /* ditto, but from two others */ | ^~~~~~~~~~~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:2067:13: note: in expansion of macro 'gb_new_arc' 2067 | if (directed) gb_new_arc(uu,vv,a->len); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:2068:6: note: in expansion of macro 'gb_new_edge' 2068 | else gb_new_edge(uu,vv,a->len); | ^ ~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:2084:13: note: in expansion of macro 'gb_new_arc' 2084 | if (directed) gb_new_arc(uuu,vv,a->len); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:2085:6: note: in expansion of macro 'gb_new_edge' 2085 | else gb_new_edge(uuu,vv,a->len); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:2107:1: note: in expansion of macro 'gb_new_arc' 2107 | gb_new_arc(vert_offset(u,delta),vert_offset(v,ddelta),length); | ^ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:2108:6: note: in expansion of macro 'gb_new_edge' 2108 | else gb_new_edge(vert_offset(u,delta), | ^ ~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:2022:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 2022 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2023:1: note: in expansion of macro 'panic' 2023 | panic(alloc_fault); | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'induced': gb_basic.w:2248:7: warning: old-style function definition [-Wold-style-definition] 2248 | Graph *induced(g,description,self,multi,directed) | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2258:12: note: in expansion of macro 'panic' 2258 | if (g==NULL) panic(missing_operand); /* where is |g|? */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2282:17: note: in expansion of macro 'panic' 2282 | if (n>IND_GRAPH) panic(very_bad_specs); /* way too big */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2284:19: note: in expansion of macro 'panic' 2284 | if (v->subst==NULL) panic(missing_operand+1); | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2289:32: note: in expansion of macro 'panic' 2289 | if (n>IND_GRAPH || nn>IND_GRAPH) panic(very_bad_specs+1); /* gigantic */ | ^~~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_graph.w:803:22: error: too many arguments to function 'gb_nugraph'; expected 0, have 1 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_basic.w:2271:12: note: in expansion of macro 'gb_new_graph' 2271 | new_graph=gb_new_graph(n); | ^~~~~~~~~~~~ gb_graph.w:803:22: note: declared here 803 | #define gb_new_graph gb_nugraph /* abbreviations for external linkage */ | ^~~~~~~~~~ gb_graph.w:806:14: note: in expansion of macro 'gb_new_graph' 806 | extern Graph*gb_new_graph(); /* create a new graph structure */ | ^~~~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2273:1: note: in expansion of macro 'panic' 2273 | panic(no_room); /* out of memory before we're even started */ | ^ ~~~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w:2310:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 2310 | u->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:2318:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 2318 | u->name=gb_save_string(v->name); | ^~~~~~~~~~~~~~ ~~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:2322:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 2322 | u->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:2428:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 2428 | u->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:2436:1: note: in expansion of macro 'gb_new_edge' 2436 | gb_new_edge(u,uu,a->len); | ^ ~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:2437:7: note: in expansion of macro 'gb_new_arc' 2437 | }@+else gb_new_arc(u,uu,a->len); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_basic.w:2328:10: error: too many arguments to function 'gb_save_string'; expected 0, have 1 2328 | u->name=gb_save_string(buffer); | ^~~~~~~~~~~~~~ ~~~~~~ gb_graph.w:810:13: note: declared here 810 | extern char*gb_save_string(); /* store a string in the current graph */ | ^~~~~~~~~~~~~~ gb_basic.w:2277:1: error: too many arguments to function 'make_compound_id'; expected 0, have 4 2277 | make_compound_id(new_graph,"induced(",g,buffer); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ gb_graph.w:478:13: note: declared here 478 | extern void make_compound_id(); | ^~~~~~~~~~~~~~~~ gb_graph.w:804:20: error: too many arguments to function 'gb_nuarc'; expected 0, have 3 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_basic.w:2403:13: note: in expansion of macro 'gb_new_arc' 2403 | if (directed) gb_new_arc(u,uu,a->len); | ^~~~~~~~~~ gb_graph.w:804:20: note: declared here 804 | #define gb_new_arc gb_nuarc | ^~~~~~~~ gb_graph.w:807:13: note: in expansion of macro 'gb_new_arc' 807 | extern void gb_new_arc(); /* append an arc to the current graph */ | ^~~~~~~~~~ gb_graph.w:805:21: error: too many arguments to function 'gb_nuedge'; expected 0, have 3 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_basic.w:2404:6: note: in expansion of macro 'gb_new_edge' 2404 | else gb_new_edge(u,uu,a->len); | ^~~~~~~~~~~ gb_graph.w:805:21: note: declared here 805 | #define gb_new_edge gb_nuedge | ^~~~~~~~~ gb_graph.w:809:13: note: in expansion of macro 'gb_new_edge' 809 | extern void gb_new_edge(); /* append an edge (two arcs) to the current graph */ | ^~~~~~~~~~~ gb_basic.w:2263:1: error: too many arguments to function 'gb_recycle'; expected 0, have 1 2263 | gb_recycle(new_graph); | ^ ~~~~~~ ~~~~~~~~~ gb_graph.w:812:13: note: declared here 812 | extern void gb_recycle(); /* delete a graph structure */ | ^~~~~~~~~~ gb_basic.w:36:1: error: too many arguments to function 'gb_free'; expected 0, have 1 36 | @@; | ^~~~~~~ ~~~~~~~~~~~~~~~ gb_basic.w:2264:1: note: in expansion of macro 'panic' 2264 | panic(alloc_fault); /* aargh, we ran out of memory somewhere back there */ | ^ ~ gb_graph.w:316:13: note: declared here 316 | extern void gb_free(); /* deallocate all blocks for an area */ | ^~~~~~~ gb_basic.w: In function 'bi_complete': gb_basic.w:2170:7: warning: old-style function definition [-Wold-style-definition] 2170 | Graph *bi_complete(n1,n2,directed) | ^~~~~~~~~~~ gb_basic.w: In function 'wheel': gb_basic.w:2223:7: warning: old-style function definition [-Wold-style-definition] 2223 | Graph *wheel(n,n1,directed) | ^~~~~ *** Error code 1 Stop. make[1]: stopped making "gb_basic.o" in /tmp/work/devel/sgb/work *** Error code 1 Stop. bmake: stopped making "lib doc" in /tmp/work/devel/sgb/work *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/sgb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/sgb