=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for rdp-1.5nb1 gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c rdp.c rdp.c:42:1: warning: string length '810' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'|'\0" "'}'\0" ; ^~~~~~~ rdp.c: In function 'item_inl': rdp.c:1025:49: warning: overflow in implicit constant conversion [-Woverflow] result->contains_null = 1; \ ^ rdp.c:1105:47: warning: overflow in implicit constant conversion [-Woverflow] if (result->lo == 0) result->contains_null = 1; \ ^ rdp.c:1198:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp.c:1216:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp.c: In function 'rule': rdp.c:1584:36: warning: overflow in implicit constant conversion [-Woverflow] result->parameterised = 1; ^ rdp.c:1723:61: warning: overflow in implicit constant conversion [-Woverflow] result->been_defined = 1; \ ^ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c rdp_aux.c rdp_aux.c: In function 'rdp_order_tokens': rdp_aux.c:224:26: warning: overflow in implicit constant conversion [-Woverflow] temp->first_done = 1; ^ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c rdp_gram.c rdp_gram.c: In function 'rdp_first': rdp_gram.c:110:27: warning: overflow in implicit constant conversion [-Woverflow] prod->ll1_violation = 1; ^ rdp_gram.c:118:20: warning: overflow in implicit constant conversion [-Woverflow] prod->in_use = 1; /* mark this production as being processed */ ^ rdp_gram.c:122:29: warning: overflow in implicit constant conversion [-Woverflow] prod->contains_null = 1; /* set up list flag */ ^ rdp_gram.c:145:24: warning: overflow in implicit constant conversion [-Woverflow] prod->first_done = 1; /* first set is now complete */ ^ rdp_gram.c: In function 'rdp_check_empties': rdp_gram.c:278:47: warning: overflow in implicit constant conversion [-Woverflow] list->production->code_terminator = 1; ^ rdp_gram.c:280:52: warning: overflow in implicit constant conversion [-Woverflow] list->next->production->code_successor = 1; /* next one is code successor */ ^ rdp_gram.c:282:47: warning: overflow in implicit constant conversion [-Woverflow] list->production->code_terminator = 1; /* this one is code terminator */ ^ rdp_gram.c:276:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (list->production->kind == K_CODE) /* check code position */ ^ rdp_gram.c:297:31: warning: overflow in implicit constant conversion [-Woverflow] temp->ll1_violation = 1; ^ rdp_gram.c:301:27: warning: overflow in implicit constant conversion [-Woverflow] temp->code_only = 1; ^ rdp_gram.c:315:25: warning: overflow in implicit constant conversion [-Woverflow] temp->code_only = 1; ^ rdp_gram.c: In function 'rdp_check_nested_nullable': rdp_gram.c:354:33: warning: overflow in implicit constant conversion [-Woverflow] temp->ll1_violation = 1; ^ rdp_gram.c:355:46: warning: overflow in implicit constant conversion [-Woverflow] inner->production->ll1_violation = 1; ^ rdp_gram.c: In function 'rdp_check_disjoint': rdp_gram.c:392:47: warning: overflow in implicit constant conversion [-Woverflow] left->production->ll1_violation = 1; ^ rdp_gram.c:393:48: warning: overflow in implicit constant conversion [-Woverflow] right->production->ll1_violation = 1; ^ rdp_gram.c:410:47: warning: overflow in implicit constant conversion [-Woverflow] left->production->ll1_violation = 1; ^ rdp_gram.c:411:48: warning: overflow in implicit constant conversion [-Woverflow] right->production->ll1_violation = 1; ^ rdp_gram.c: In function 'rdp_check_nullable': rdp_gram.c:445:31: warning: overflow in implicit constant conversion [-Woverflow] temp->ll1_violation = 1; ^ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c rdp_prnt.c rdp_prnt.c: In function 'rdp_print_parser': rdp_prnt.c:1282:5: warning: string length '630' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] ); ^ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/arg.c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/graph.c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/memalloc.c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/scan.c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/scanner.c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/set.c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/symbol.c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ./rdp_supp/textio.c gcc -o ./rdp rdp.o rdp_*.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./rdp -F -omini_syn mini_syn gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c mini_syn.c gcc -o ./mini_syn mini_syn.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./mini_syn testcalc ./rdp -F -ominicalc minicalc gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c minicalc.c gcc -o ./minicalc minicalc.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./minicalc testcalc a is 7 b is 14, -b is -14 7 cubed is 343 ./rdp -F -ominicond minicond ******: Error - LL(1) violation - rule rdp_statement_2 ::= [ 'else' _and_not statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c minicond.c gcc -o ./minicond minicond.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./minicond testcond a is 7 b is 14, -b is -14 7 cubed is 343 z equals a z does not equal a ./rdp -F -ominiloop miniloop ******: Error - LL(1) violation - rule rdp_statement_2 ::= [ 'else' statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c miniloop.c miniloop.c:43:16: warning: no previous prototype for 'rdp_add_child' [-Wmissing-prototypes] rdp_tree_data* rdp_add_child(char* id, rdp_tree_data* rdp_tree) ^~~~~~~~~~~~~ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c ml_aux.c gcc -o ./miniloop miniloop.o ml_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./rdp -F -omvmasm mvmasm gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c mvmasm.c mvmasm.c: In function 'directive': mvmasm.c:1008:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (*str!=0) emit1(*str++); emit1(0); ^~~~~ mvmasm.c:1008:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while (*str!=0) emit1(*str++); emit1(0); ^~~~~ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c mvm_aux.c gcc -o ./mvmasm mvmasm.o mvm_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c mvmsim.c gcc -o ./mvmsim mvmsim.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./miniloop -otestloop.mvm testloop ./mvmasm -otestloop.sim testloop ******: Transfer address 00001000 ./mvmsim testloop.sim a is 7 b is 14, -b is -14 7 cubed is 343 z equals a z does not equal a a is 3 a is 2 a is 1 -- Halted -- ./rdp -F -ominitree minitree ******: Error - LL(1) violation - rule rdp_statement_2 ::= [ 'else' statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c minitree.c minitree.c:44:16: warning: no previous prototype for 'rdp_add_child' [-Wmissing-prototypes] rdp_tree_data* rdp_add_child(char* id, rdp_tree_data* rdp_tree) ^~~~~~~~~~~~~ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c mt_aux.c mt_aux.c:20:8: warning: no previous prototype for 'expression_walk' [-Wmissing-prototypes] char * expression_walk(rdp_tree_data * root) ^~~~~~~~~~~~~~~ mt_aux.c:78:6: warning: no previous prototype for 'tree_walk' [-Wmissing-prototypes] void tree_walk(rdp_tree_data * root) ^~~~~~~~~ gcc -o ./minitree minitree.o m*_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./minitree -otesttree.mvm testtree ./mvmasm -otesttree.sim testtree ******: Transfer address 00001000 ./mvmsim testtree.sim a is 7 b is 14, -b is -14 7 cubed is 343 z equals a z does not equal a a is 3 a is 2 a is 1 -- Halted -- ./rdp -opascal -F pascal ******: Error - LL(1) violation - rule rdp_statement_9 ::= [ 'else' statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c pascal.c pascal.c:38:1: warning: string length '528' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'var'\0" "'while'\0" "'with'\0" "'{'\0" ; ^~~~~~~~~ pascal.c:44:16: warning: no previous prototype for 'rdp_add_child' [-Wmissing-prototypes] rdp_tree_data* rdp_add_child(char* id, rdp_tree_data* rdp_tree) ^~~~~~~~~~~~~ gcc -o ./pascal pascal.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./pascal test ./rdp -opretty_c pretty_c gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c pretty_c.c pretty_c.c:42:1: warning: string length '643' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'}'\0" "'~'\0" ; ^~~~~~~ gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c pr_c_aux.c pr_c_aux.c: In function 'pretty_print': pr_c_aux.c:113:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!((column == 1)&&(kind == K_COMMENT))) /* Don't indent comments that start in column 1 */ ^ gcc -o ./pretty_c pretty_c.o pr_c_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./pretty_c test test.c,2133,12267,5.75 diff -s test.c test.bak Files test.c and test.bak are identical rm test.bak ./rdp -F -ordp1 rdp gcc -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g -c rdp1.c rdp1.c:42:1: warning: string length '810' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'|'\0" "'}'\0" ; ^~~~~~~ rdp1.c: In function 'item_inl': rdp1.c:1025:49: warning: overflow in implicit constant conversion [-Woverflow] result->contains_null = 1; \ ^ rdp1.c:1105:47: warning: overflow in implicit constant conversion [-Woverflow] if (result->lo == 0) result->contains_null = 1; \ ^ rdp1.c:1198:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp1.c:1216:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp1.c: In function 'rule': rdp1.c:1584:36: warning: overflow in implicit constant conversion [-Woverflow] result->parameterised = 1; ^ rdp1.c:1723:61: warning: overflow in implicit constant conversion [-Woverflow] result->been_defined = 1; \ ^ gcc -o ./rdp1 rdp1.o rdp_*.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o cp rdp1.c rdp2.c ./rdp1 -F -ordp1 rdp diff -s rdp1.c rdp2.c Files rdp1.c and rdp2.c are identical