$CASE/gen/ver_12/sjaganat/makegenv12onsaturn.050506 -------------------------------------------------- New make of $CASE/gen/ver_12/sjaganat/alpha/chgen: (after ~ 400 lines of warnings from gcc). (This chgen crashes with a core dump- RJL050506) ------------------------------------------ Script started on Fri May 6 01:15:23 2005 ... [saturn.cs.uml.edu1](1)> pwd /nfs/earth/misc/proj3/case/gen/ver_12/sjaganat/src [saturn.cs.uml.edu1](2)> rm *.o rm: No match. [saturn.cs.uml.edu1](3)> make gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c add_pc_cp_entries.c add_pc_cp_entries.c: In function `add_pc_cp_entries': add_pc_cp_entries.c:52: warning: subscript has type `char' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c change_file_exten.c change_file_exten.c: In function `change_file_exten': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c chgen.c In file included from chgen_define.h:39, from chgen.c:105: metaschema.h:406: warning: missing braces around initializer metaschema.h:406: warning: (near initialization for `hcg_table_seq_list[0]') chgen.c:120: warning: return-type defaults to `int' chgen.c: In function `main': chgen.c:187: warning: int format, different type arg (arg 2) chgen.c:246: warning: int format, pointer arg (arg 2) chgen.c:259: warning: int format, pointer arg (arg 2) gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c chgen_global_vars.c metaschema.h:969: warning: `hcg_tbl_abbr' defined but not used chgen_global_vars.c:128: warning: `rcsId' defined but not used gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c chgen_release_date.c gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c close_files.c close_files.c: In function `close_files': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_c_files.c gen_c_files.c: In function `gen_c_files': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_defines.c gen_defines.c: In function `gen_defines': gen_defines.c:284: warning: too many arguments for format gen_defines.c:731: warning: too many arguments for format gen_defines.c:733: warning: too many arguments for format gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_load_data.c gen_load_data.c: In function `gen_load_data': gen_load_data.c: In function `gen_pr_parse': gen_load_data.c:182: warning: implicit declaration of function `lut_insert_element' gen_load_data.c:154: warning: unused variable `parent_pkey' gen_load_data.c:153: warning: unused variable `i' gen_load_data.c:153: warning: unused variable `foundnum' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_macros.c gen_macros.c: In function `gen_macros': gen_macros.c:64: warning: implicit declaration of function `strncpy_null' gen_macros.c:39: warning: unused variable `n' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_path.c gen_path.c: In function `gen_path': gen_path.c:73: warning: implicit declaration of function `strncpy_null' gen_path.c:96: warning: implicit declaration of function `lut_insert_element' gen_path.c:105: warning: implicit declaration of function `store_into_matrix' gen_path.c:67: warning: unused variable `j' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_add.c gen_pr_add.c: warning: 1 trigraph(s) encountered gen_pr_add.c: In function `gen_pr_add': gen_pr_add.c:62: warning: implicit declaration of function `gen_pr_link_macros' gen_pr_add.c:64: warning: implicit declaration of function `gen_pr_create' gen_pr_add.c:65: warning: implicit declaration of function `gen_pr_add_macros' gen_pr_add.c:68: warning: implicit declaration of function `gen_pr_add_log' gen_pr_add.c:196: warning: implicit declaration of function `lut_insert_element' gen_pr_add.c:210: warning: implicit declaration of function `pr_get_cp_entry' gen_pr_add.c:58: warning: unused variable `unpad' gen_pr_add.c:57: warning: unused variable `parent_pkey' gen_pr_add.c:56: warning: unused variable `i' gen_pr_add.c:56: warning: unused variable `foundnum' gen_pr_add.c:55: warning: unused variable `rcsid' gen_pr_add.c: At top level: gen_pr_add.c:278: warning: return-type defaults to `int' gen_pr_add.c: In function `gen_pr_link_macros': gen_pr_add.c:699: warning: control reaches end of non-void function gen_pr_add.c: In function `gen_pr_link': gen_pr_add.c:745: warning: implicit declaration of function `pr_get_pc_entry' gen_pr_add.c: At top level: gen_pr_add.c:802: warning: return-type defaults to `int' gen_pr_add.c: In function `pr_get_pc_entry': gen_pr_add.c:814: warning: implicit declaration of function `strncpy_null' gen_pr_add.c:823: warning: subscript has type `char' gen_pr_add.c: At top level: gen_pr_add.c:834: warning: return-type defaults to `int' gen_pr_add.c: In function `pr_get_cp_entry': gen_pr_add.c:855: warning: subscript has type `char' gen_pr_add.c: At top level: gen_pr_add.c:867: warning: return-type defaults to `int' gen_pr_add.c: In function `gen_pr_create': gen_pr_add.c:883: warning: control reaches end of non-void function gen_pr_add.c: At top level: gen_pr_add.c:886: warning: return-type defaults to `int' gen_pr_add.c: In function `gen_pr_add_macros': gen_pr_add.c:983: warning: control reaches end of non-void function gen_pr_add.c: At top level: gen_pr_add.c:992: warning: return-type defaults to `int' gen_pr_add.c: In function `gen_pr_add_log': gen_pr_add.c:1085: warning: control reaches end of non-void function gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_delete.c gen_pr_delete.c: In function `gen_pr_delete': gen_pr_delete.c:65: warning: implicit declaration of function `gen_pr_unlink_macros' gen_pr_delete.c:94: warning: implicit declaration of function `lut_insert_element' gen_pr_delete.c:109: warning: implicit declaration of function `strncpy_null' gen_pr_delete.c:118: warning: subscript has type `char' gen_pr_delete.c:164: warning: subscript has type `char' gen_pr_delete.c:213: warning: implicit declaration of function `gen_pr_del_bt' gen_pr_delete.c:46: warning: unused variable `rcsid' gen_pr_delete.c: At top level: gen_pr_delete.c:220: warning: return-type defaults to `int' gen_pr_delete.c: In function `gen_pr_unlink_macros': gen_pr_delete.c:290: warning: too many arguments for format gen_pr_delete.c:330: warning: too many arguments for format gen_pr_delete.c:397: warning: control reaches end of non-void function gen_pr_delete.c: At top level: gen_pr_delete.c:406: warning: return-type defaults to `int' gen_pr_delete.c: In function `gen_pr_del_bt': gen_pr_delete.c:559: warning: control reaches end of non-void function gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_dump.c gen_pr_dump.c: In function `gen_pr_dump': gen_pr_dump.c:145: warning: implicit declaration of function `lut_insert_element' gen_pr_dump.c:211: warning: implicit declaration of function `strncpy_null' metaschema.h:969: warning: `hcg_tbl_abbr' defined but not used gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_free.c gen_pr_free.c: In function `gen_pr_free': gen_pr_free.c:52: warning: implicit declaration of function `gen_pr_free_macros' gen_pr_free.c: At top level: gen_pr_free.c:89: warning: return-type defaults to `int' gen_pr_free.c: In function `gen_pr_free_macros': gen_pr_free.c:107: warning: control reaches end of non-void function gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_init.c gen_pr_init.c: In function `gen_pr_init': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_load.c gen_pr_load.c:192: warning: `/*' within comment gen_pr_load.c: In function `gen_pr_load': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_stats.c gen_pr_stats.c:9: warning: return-type defaults to `int' gen_pr_stats.c: In function `gen_pr_stats': gen_pr_stats.c:82: warning: implicit declaration of function `lut_insert_element' gen_pr_stats.c:11: warning: unused variable `line_len' gen_pr_stats.c:105: warning: control reaches end of non-void function gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_utils.c gen_pr_utils.c: In function `gen_pr_utils': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_rr_matrix.c gen_rr_matrix.c: In function `gen_rr_matrix': gen_rr_matrix.c:61: warning: implicit declaration of function `strncpy_null' gen_rr_matrix.c:65: warning: implicit declaration of function `lut_insert_element' gen_rr_matrix.c:70: warning: implicit declaration of function `store_into_matrix' gen_rr_matrix.c:72: warning: implicit declaration of function `gen_path' gen_rr_matrix.c:40: warning: unused variable `k' gen_rr_matrix.c:39: warning: unused variable `obj_ptr' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_structures.c gen_structures.c: In function `gen_structures': gen_structures.c:45: warning: unused variable `index' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c make_cptr.c make_cptr.c: In function `make_cptr': make_cptr.c:45: warning: implicit declaration of function `strncpy_null' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c make_pptr.c make_pptr.c: In function `make_pptr': make_pptr.c:47: warning: implicit declaration of function `strncpy_null' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c open_files.c open_files.c: In function `open_files': open_files.c:42: warning: unsigned int format, pointer arg (arg 2) open_files.c:42: warning: too few arguments for format open_files.c:48: warning: too few arguments for format open_files.c:53: warning: too few arguments for format open_files.c:59: warning: too few arguments for format open_files.c:65: warning: too few arguments for format open_files.c:71: warning: too few arguments for format open_files.c:79: warning: too few arguments for format gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c parse_schema.c parse_schema.c: In function `parse_schema': parse_schema.c:130: warning: unused variable `rcsid' parse_schema.c: In function `parse_schema_chgen': parse_schema.c:195: warning: subscript has type `char' parse_schema.c:221: warning: subscript has type `char' parse_schema.c:221: warning: subscript has type `char' parse_schema.c:290: warning: subscript has type `char' parse_schema.c:388: warning: subscript has type `char' parse_schema.c:388: warning: subscript has type `char' parse_schema.c:141: warning: unused variable `obj_ptr' parse_schema.c: In function `create_primary_key': parse_schema.c:498: warning: subscript has type `char' parse_schema.c:498: warning: subscript has type `char' parse_schema.c: In function `parse_schema_gendb': parse_schema.c:648: warning: subscript has type `char' parse_schema.c:674: warning: subscript has type `char' parse_schema.c:674: warning: subscript has type `char' parse_schema.c:868: warning: subscript has type `char' parse_schema.c:868: warning: subscript has type `char' parse_schema.c:567: warning: unused variable `obj_ptr' parse_schema.c: In function `Output_MetaSchema': parse_schema.c:1039: warning: too few arguments for format parse_schema.c: In function `parse_schema_dat': parse_schema.c:1093: warning: implicit declaration of function `pr_init' parse_schema.c:1094: warning: implicit declaration of function `pr_load' parse_schema.c:1096: warning: implicit declaration of function `pr_dump' parse_schema.c: In function `TT_to_tt': parse_schema.c:1104: warning: unused variable `i' parse_schema.c:1102: warning: unused variable `parse_state' parse_schema.c: In function `dump_tt_ta_data': parse_schema.c:1226: warning: long int format, pointer arg (arg 2) parse_schema.c:1227: warning: long int format, pointer arg (arg 2) parse_schema.c:1232: warning: long int format, pointer arg (arg 2) parse_schema.c:1239: warning: long int format, pointer arg (arg 2) gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c pr_delete.c pr_delete.c: In function `pr_del': pr_delete.c:179: warning: implicit declaration of function `lut_insert_element' pr_delete.c:188: warning: implicit declaration of function `pr_del_bt' pr_delete.c:188: warning: implicit declaration of function `free' pr_delete.c: At top level: pr_delete.c:240: warning: return-type defaults to `int' pr_delete.c: In function `pr_del_bt': pr_delete.c:244: warning: unused variable `result' pr_delete.c:243: warning: unused variable `finish' pr_delete.c:251: warning: control reaches end of non-void function gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c pr_dump.c pr_dump.c: In function `pr_dump': pr_dump.c:34: warning: implicit declaration of function `find_view_idx' pr_dump.c:45: warning: array subscript has type `char' pr_dump.c:47: warning: implicit declaration of function `lut_insert_element' pr_dump.c:50: warning: implicit declaration of function `meets_view' pr_dump.c:26: warning: unused variable `outkey' pr_dump.c: In function `dump_row': pr_dump.c:124: warning: implicit declaration of function `hcg_update_version' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c pr_free.c pr_free.c: In function `pr_free': pr_free.c:32: warning: implicit declaration of function `free' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c pr_load.c pr_load.c:605: warning: `/*' within comment pr_load.c: In function `mystrcpy': pr_load.c:40: warning: statement with no effect pr_load.c: In function `dup_row_warning': pr_load.c:142: warning: unsigned int format, different type arg (arg 2) pr_load.c: In function `forward_ref_warning': pr_load.c:156: warning: unsigned int format, different type arg (arg 2) pr_load.c:158: warning: unsigned int format, different type arg (arg 2) pr_load.c: In function `hcg_update_version': pr_load.c:227: warning: unsigned int format, different type arg (arg 2) pr_load.c: In function `lut_insert_element': pr_load.c:478: warning: implicit declaration of function `btree_does_node_exist' pr_load.c:499: warning: implicit declaration of function `btree_insert_node' pr_load.c:398: warning: unused variable `abbr_size' pr_load.c: In function `lut_delete_element': pr_load.c:558: warning: implicit declaration of function `btree_destroy' pr_load.c:562: warning: implicit declaration of function `btree_create' pr_load.c:535: warning: unused variable `idx' pr_load.c: In function `lut_get_name': pr_load.c:634: warning: unused variable `p_ch' pr_load.c: In function `btree_insert_node': pr_load.c:918: warning: implicit declaration of function `btree_wt' pr_load.c:865: warning: unused variable `loop' pr_load.c: In function `btree_create': pr_load.c:946: warning: unused variable `ret_stat' pr_load.c: In function `ver_decode': pr_load.c:1228: warning: unused variable `rval' pr_load.c: In function `encode': pr_load.c:1360: warning: subscript has type `char' pr_load.c:1360: warning: subscript has type `char' pr_load.c: In function `key_compare': pr_load.c:1468: warning: control reaches end of non-void function pr_load.c: In function `set_version': pr_load.c:1516: warning: unused variable `vri' pr_load.c: In function `pr_init': pr_load.c:1634: warning: int format, different type arg (arg 2) pr_load.c:1666: warning: implicit declaration of function `close' pr_load.c:1773: warning: implicit declaration of function `btree_initialized' pr_load.c:1593: warning: unused variable `filevar' pr_load.c:1588: warning: unused variable `rcsid' pr_load.c: At top level: pr_load.c:1785: warning: return-type defaults to `int' pr_load.c: In function `btree_initialized': pr_load.c:1795: warning: control reaches end of non-void function pr_load.c: In function `pr_add': pr_load.c:2165: warning: array subscript has type `char' pr_load.c:2166: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2167: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2168: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2169: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2170: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2171: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2177: warning: array subscript has type `char' pr_load.c:2178: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2179: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2180: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2181: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2187: warning: array subscript has type `char' pr_load.c:2188: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2189: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2190: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2191: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2192: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2193: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2199: warning: array subscript has type `char' pr_load.c:2200: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2201: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2202: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2208: warning: array subscript has type `char' pr_load.c:2209: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2210: warning: unsigned int format, pointer arg (arg 4) pr_load.c:2130: warning: unused variable `tempkey' pr_load.c: In function `load_data': pr_load.c:2252: warning: int format, different type arg (arg 2) pr_load.c:2229: warning: unused variable `rcsid' pr_load.c: In function `pr_load': pr_load.c:2409: warning: unused variable `rcsid' pr_load.c: In function `pr_find_bt': pr_load.c:2441: warning: unused variable `result' pr_load.c:2440: warning: unused variable `finish' pr_load.c: At top level: pr_load.c:27: warning: `rcsid' defined but not used gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c pr_stats.c pr_stats.c: In function `pr_stats': pr_stats.c:35: warning: int format, different type arg (arg 4) pr_stats.c:52: warning: int format, different type arg (arg 4) pr_stats.c:58: warning: implicit declaration of function `lut_insert_element' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c read_next.c read_next.c: In function `read_next': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c rr_insert.c rr_insert.c: In function `rr_insert': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c store_into_matrix.c store_into_matrix.c: In function `store_into_matrix': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c validate_schema.c validate_schema.c: In function `validate_schema': validate_schema.c:142: warning: implicit declaration of function `strncpy_null' gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c write_rr_table.c write_rr_table.c: In function `write_rr_table': gcc -ansi -Wall -g -DDEBUG -DNEW_VERSION -c gen_pr_log.c gen_pr_log.c: In function `gen_globals': gen_pr_log.c: In function `gen_log_do_add': gen_pr_log.c:884: warning: implicit declaration of function `lut_insert_element' gcc -ansi -Wall -g -o ../executables/alpha/chgen12 add_pc_cp_entries.o change_file_exten.o chgen.o chgen_global_vars.o chgen_release_date.o close_files.o gen_c_files.o gen_defines.o gen_load_data.o gen_macros.o gen_path.o gen_pr_add.o gen_pr_delete.o gen_pr_dump.o gen_pr_free.o gen_pr_init.o gen_pr_load.o gen_pr_stats.o gen_pr_utils.o gen_rr_matrix.o gen_structures.o make_cptr.o make_pptr.o open_files.o parse_schema.o pr_delete.o pr_dump.o pr_free.o pr_load.o pr_stats.o read_next.o rr_insert.o store_into_matrix.o validate_schema.o write_rr_table.o gen_pr_log.o [saturn.cs.uml.edu1](4)> pwd /nfs/earth/misc/proj3/case/gen/ver_12/sjaganat/src [saturn.cs.uml.edu1](7)> ls -alst ../ex*/alpha total 3596 1196 -rwxr-xr-x 1 lechner 04f522 1218832 May 6 01:15 chgen 4 drwxr-xr-x 4 lechner 04f522 4096 May 6 01:11 .. 4 drwxr-xr-x 2 lechner 04f522 4096 May 6 01:10 . 0 lrwxrwxrwx 1 lechner fac 5 May 6 01:10 chgen12 -> chgen 1196 -rwxr-xr-x 1 lechner 04f522 1218832 Apr 30 22:33 chgen12_050430 1196 -rwxr-xr-x 1 lechner 04f522 1218816 Jul 3 2002 chgen12_020703 [saturn.cs.uml.edu1](9)> date Fri May 6 01:16:28 EDT 2005 [saturn.cs.uml.edu1](10)> exit script done on Fri May 6 01:16:37 2005