bdetest060128.0200.txt ==================== On mercury, then saturn: Same problem with fileio.cc: #endif without #if Making with xmkmflog.csh (BDELOG is #defined-inserts extra buggy code) bdemakeLinux060128.0109 Script started on Sat Jan 28 01:07:52 2006 ... gccmakedep -- -I/usr/include -I../include -I../pr_util_log -I.. - I/usr/local/li b/g++-include -I/usr/X11R6/include -Dlinux -D__i386__ - D_POSIX_C_SOURCE=19930 9L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO= 15 -DNARROWPROTO -DUSE_MAKEDEPEND -- bde.cc bendpt.cc bendptops.cc buttoneve nt.cc captionops.cc cursor.cc dialog.cc display.cc draw.cc edit.cc fileio.cc fon t.cc fprint.cc graphobject.cc graphops.cc handler.cc help.cc hlink.cc infodialog .cc infomessage.cc init.cc initClasses.cc leftmenu.cc leftmenu_cb.cc linkops.cc menubar.cc menubar_cb.cc msgBox.cc nodeops.cc select.cc smselect.cc strdup.cc te xt.cc textops.cc bdeReplay.cc fileio.cc:1718:2: #endif without #if ---------------------------- gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DG ENLOG ../pr_util_log/i386-linux/probj/pr_dump.c -o ../pr_util_log/i386-linux/pro bj/pr_dump.o ../pr_util_log/i386-linux/probj/pr_dump.c: In function `dump_row': ../pr_util_log/i386-linux/probj/pr_dump.c:306: warning: unknown conversion type character 0xa in format ../pr_util_log/i386-linux/probj/pr_dump.c:306: warning: int format, pointer arg (arg 2) ../pr_util_log/i386-linux/probj/pr_dump.c:306: warning: too many arguments for format ../pr_util_log/i386-linux/probj/pr_dump.c:312: parse error before `<' make[1]: *** [../pr_util_log/i386-linux/probj/pr_dump.o] Error 1 ============================= ============================= SWITCHING TO SATURN/alpha: ------------------------------- Running gmake WITH log/replay in /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde making all in ././pr_util_log... gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/alpha/probj/pr_load.c -o ../pr_util_log/alpha/probj/pr_load.o ../pr_util_log/alpha/probj/pr_load.c:808: warning: `/*' within comment ../pr_util_log/alpha/probj/pr_load.c: In function `decode': ../pr_util_log/alpha/probj/pr_load.c:604: parse error before `int' ../pr_util_log/alpha/probj/pr_load.c:605: parse error before `}' ../pr_util_log/alpha/probj/pr_load.c:645: parse error before `int' ../pr_util_log/alpha/probj/pr_load.c:646: warning: control reaches end of non-void function ../pr_util_log/alpha/probj/pr_load.c: In function `pr_init': ../pr_util_log/alpha/probj/pr_load.c:763: warning: unused variable `k' ../pr_util_log/alpha/probj/pr_load.c: In function `pr_link': ../pr_util_log/alpha/probj/pr_load.c:1356: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1356: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1356: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1361: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1361: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1361: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1368: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1368: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1368: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1369: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1369: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1369: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1374: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1374: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1374: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1379: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1379: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1379: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1385: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1385: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1385: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1390: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c:1390: warning: comparison of distinct pointer types lacks a cast ../pr_util_log/alpha/probj/pr_load.c:1390: warning: assignment from incompatible pointer type ../pr_util_log/alpha/probj/pr_load.c: In function `do_pr_add': ../pr_util_log/alpha/probj/pr_load.c:1645: warning: unused variable `VNstring' ../pr_util_log/alpha/probj/pr_load.c: At top level: ../pr_util_log/alpha/probj/94sbde_schema.h:1127: warning: `hcg_tbl_abbr' defined but not used *** Exit 1 g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG - DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC - DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\"../lib\" -g -Wall -DDEBUG -pg -I/usr/include -I../include -I../pr_util_log -I.. - I/usr/local/lib/g++-include fileio.cc -c -o ../pr_util_log/alpha/obj/fileio.o fileio.cc:1719: unbalanced `#endif' *** Exit 1 [saturn.cs.uml.edu1](38)> cd src [saturn.cs.uml.edu1](39)> g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\"../lib\" -g -Wall - DDEBUG -pg -I/usr/include -I../include -I../pr_util_log -I.. - I/usr/local/lib/g++-include fileio.cc -c -o ../pr_util_log/alpha/obj/fileio.o fileio.cc:1719: unbalanced `#endif' [saturn.cs.uml.edu1](40)> cxx -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\"../lib\" -g -Wall - DDEBUG -pg -I/usr/include -I../include -I../pr_util_log -I.. - I/usr/local/lib/g++-include fileio.cc -c -o ../pr_util_log/alpha/obj/fileio.o cxx: Error: fileio.cc, line 779: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 796: identifier "__FUNCTION__" is undefined else { DP; --------^ cxx: Error: fileio.cc, line 800: identifier "__FUNCTION__" is undefined LP;} // end printrowcounts ^ cxx: Error: fileio.cc, line 848: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 875: identifier "__FUNCTION__" is undefined LP;return (0); // added 2k0713 - RJL --^ cxx: Warning: fileio.cc, line 876: loop is not reachable from preceding code LP;} // end create_load_dialogbox ^ cxx: Error: fileio.cc, line 876: identifier "__FUNCTION__" is undefined LP;} // end create_load_dialogbox ^ cxx: Warning: fileio.cc, line 876: missing return statement at end of non-void function "create_load_dialogbox" LP;} // end create_load_dialogbox ---^ cxx: Error: fileio.cc, line 893: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 918: identifier "__FUNCTION__" is undefined LP;return (0); // added 2k0713 - RJL --^ cxx: Warning: fileio.cc, line 919: loop is not reachable from preceding code LP;} // end create_saveas_dialogbox ^ cxx: Error: fileio.cc, line 919: identifier "__FUNCTION__" is undefined LP;} // end create_saveas_dialogbox ^ cxx: Warning: fileio.cc, line 919: missing return statement at end of non-void function "create_saveas_dialogbox" LP;} // end create_saveas_dialogbox ---^ cxx: Error: fileio.cc, line 941: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 950: identifier "__FUNCTION__" is undefined EP;} ^ cxx: Error: fileio.cc, line 967: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 969: identifier "__FUNCTION__" is undefined EP;} ^ cxx: Error: fileio.cc, line 983: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 1041: identifier "__FUNCTION__" is undefined DP;fprintf(stderr, "Can't do SAVE-AS - invalid HG_pkey; pr_find(...) failed\n"); --------^ cxx: Error: fileio.cc, line 1043: identifier "__FUNCTION__" is undefined LP;return; // new - RJL050830 --------^ cxx: Error: fileio.cc, line 1058: identifier "__FUNCTION__" is undefined LP;} // end real_saveas -1055 ^ cxx: Error: fileio.cc, line 1070: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 1073: identifier "__FUNCTION__" is undefined LP;} ^ cxx: Error: fileio.cc, line 1093: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 1096: identifier "__FUNCTION__" is undefined LP;} ^ cxx: Error: fileio.cc, line 1116: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 1128: identifier "__FUNCTION__" is undefined LP;} ^ cxx: Error: fileio.cc, line 1145: identifier "__FUNCTION__" is undefined {EP; -^ cxx: Error: fileio.cc, line 1202: identifier "__FUNCTION__" is undefined DP;dprints("HGtitle = %s\n\n", title); --^ cxx: Error: fileio.cc, line 1203: argument of type "HG *" is incompatible with parameter of type "hcg_ptr" pr_add("94sbdeview", HG, HG_elt); //HGid == 0 -RJL050727 ; calls do_pr_add --^ cxx: Error: fileio.cc, line 1207: identifier "__FUNCTION__" is undefined DP;fprintf(stderr, "HGid = %ux at HG_elt = %p\n", HG_elt->HGId, HG_elt); --^ cxx: Error: fileio.cc, line 1207: class "HG" has no member "HGId" DP;fprintf(stderr, "HGid = %ux at HG_elt = %p\n", HG_elt->HGId, HG_elt); ------------------------------------------------------------^ cxx: Error: fileio.cc, line 1210: identifier "__FUNCTION__" is undefined DP;pr_dump_row(HG, "94sbdeview", stderr, "stderr", 0, "a"); --^ cxx: Error: fileio.cc, line 1214: identifier "__FUNCTION__" is undefined DP;dprintd("HG_pkey = %lux\n", HG_pkey); --^ cxx: Info: Error limit reached. cxx: Info: 30 errors detected in the compilation of "fileio.cc". cxx: Info: Compilation terminated. [saturn.cs.uml.edu1](41)> ============== Prior edits to dprint.* are suspect: cc of dprint.* not in synch: /tmp_mnt/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT0 50526/bdegen13/bde/src [saturn.cs.uml.edu1](42)> cd ../pr_util_log [saturn.cs.uml.edu1](43)> diff . alpha/probj|wc 67 283 1953 [saturn.cs.uml.edu1](44)> diff . alpha/probj | m Only in alpha/probj: .nfs3486 diff -bitw ./94sbde_schema.h alpha/probj/94sbde_schema.h 18c18 < #include "dprint.h" --- > #include "../dprint.h" 292c292 < /*extern hcg_ptr pr_gen_create(size_t); extern "C" at line 805- RJL051202 */ --- > extern hcg_ptr pr_gen_create(size_t); Common subdirectories: ./CVS and alpha/probj/CVS Only in .: Imakefile Only in .: Imakefile051203.2240 Only in .: Makefile Only in .: Makefile.bak Only in .: MakefileLog_alpha Only in .: MakefileLog_i386-linux Only in .: alpha Only in .: bde diff -bitw ./dprint.c alpha/probj/dprint.c 6,11c6 < * Revision 1.2 2005/12/10 03:53:56 lechner < * #included "dprint.h, and < * and a new test function ' int isComment(char* tmpstr)' < * (used in pr_load to ignore a line beginning with '/' followed by '/' or '*') < * < * Revision 1.1 2005/10/27 03:28:08 lechner --- > * Revision 1.1 2005/10/27 03:27:35 lechner 31,35c26 < #include "dprint.h" < #include < < #include < int isComment(char* tmpstr) --- > #include "../dprint.h" 37,42d27 < {/* returns 0 unless first two chars of tmpstr are "/_/" or "/_*" < * Used in pr_load to ignore a line beginning with either one. [saturn.cs.uml.edu1](45)> pwd /tmp_mnt/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT0 50526/bdegen13/bde/pr_util_log [saturn.cs.uml.edu1](46)> lg dprint.c -rwxr-xr-x 1 lechner 05f523 2413 Dec 9 22:53 dprint.c [saturn.cs.uml.edu1](47)> lg ../dprint.h -rwxr-xr-x 1 lechner 05f523 4694 Jan 28 01:56 ../dprint.h [saturn.cs.uml.edu1](48)> lg ../dprint.c -rw-r--r-- 1 lechner 05f523 2172 Dec 3 22:35 ../dprint.c [saturn.cs.uml.edu1](49)> pwd /tmp_mnt/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT0 50526/bdegen13/bde/pr_util_log [saturn.cs.uml.edu1](50)> =======================================