Posted to tcl by steveb at Wed Aug 18 14:17:22 GMT 2021view raw
- pkg11632.1629294537
- I had already edited out a number of newline-related errors before this log was generated.
- Wed Aug 18 13:48:57 UTC 2021 - /home/steve/bgexec.tcl
- gcc
- -c
- -fPIC
- -DUSE_THREAD_ALLOC=1
- -D_REENTRANT=1
- -D_THREAD_SAFE=1
- -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
- -DHAVE_READDIR_R=1
- -DTCL_THREADS=1
- -DUSE_TCL_STUBS
- -I/home/steve/.critcl/pkg11632.1629294537/tcl8.4
- -I/home/steve/.critcl/pkg11632.1629294537
- -o
- /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004_pic.o
- /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c
- -O2
- -DNDEBUG
- bgexec.tcl:79:0: warning: "NDEBUG" redefined [enabled by default]
- #define NDEBUG
- ^
- <command-line>:0:0: note: this is the location of the previous definition
- In file included from /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c:6:0:
- /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tcl.h:1066:27: error: expected identifier or '(' before numeric constant
- #define TCL_GLOBAL_ONLY 1
- ^
- bgexec.tcl:361:1: note: in expansion of macro 'TCL_GLOBAL_ONLY'
- TCL_GLOBAL_ONLY)
- ^
- bgexec.tcl:396:4: warning: data definition has no type or storage class [enabled by default]
- } SignalId;
- ^
- bgexec.tcl:398:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'signalIds'
- static SignalId signalIds[] =
- ^
- bgexec.tcl:442:70: error: operator '&&' has no right operand
- #if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) &&
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:687:43: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-decodeoutput", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:690:42: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-decodeerror", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:693:36: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_BOOLEAN, "-echo", Blt_Offset(BgExec, sink2.echo), 0},
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:694:36: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-error", Blt_Offset(BgExec, sink2.doneVar),
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:696:37: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-update", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:698:37: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-output", Blt_Offset(BgExec, sink1.doneVar),
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:700:40: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-lasterror", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:702:41: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-lastoutput", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:704:36: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_LIST, "-onerror", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:706:37: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_LIST, "-onoutput", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:708:43: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_BOOLEAN, "-keepnewline", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:710:37: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_BOOLEAN, "-check", Blt_Offset(BgExec, interval), 0},
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:711:41: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_CUSTOM, "-killsignal", Blt_Offset(BgExec, signalNum),
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:714:44: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_BOOLEAN, "-linebuffered", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:716:42: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_BOOLEAN, "-ignorecode", Blt_Offset(BgExec,
- ^
- bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
- ^
- bgexec.tcl:718:36: note: in expansion of macro 'Blt_Offset'
- {BLT_SWITCH_STRING, "-input", Blt_Offset(BgExec, inputVar), 0},
- ^
- bgexec.tcl: In function 'ObjToSignal':
- bgexec.tcl:773:20: error: 'sp' undeclared (first use in this function)
- SignalId *sp;
- ^
- bgexec.tcl:773:20: note: each undeclared identifier is reported only once for each function it appears in
- bgexec.tcl:783:20: error: 'signalIds' undeclared (first use in this function)
- for (sp = signalIds; sp->number > 0; sp++) {
- ^
- In file included from /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tcl.h:2332:0,
- from /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c:6:
- bgexec.tcl: In function 'DisableTriggers':
- /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tclDecls.h:4546:46: error: expected expression before ',' token
- Tcl_UntraceVar2(interp, varName, NULL, flags, proc, clientData)
- ^
- bgexec.tcl:1447:10: note: in expansion of macro 'Tcl_UntraceVar'
- Tcl_UntraceVar(bgPtr->interp, bgPtr->statVar, TRACE_FLAGS,
- ^
- bgexec.tcl:1450:6: warning: passing argument 4 of 'tclStubsPtr->tcl_UntraceVar2' makes integer from pointer without a cast [enabled by default]
- }
- ^
- bgexec.tcl:1450:6: note: expected 'int' but argument is of type 'struct BgExec *'
- bgexec.tcl:1450:6: error: too few arguments to function 'tclStubsPtr->tcl_UntraceVar2'
- bgexec.tcl:1450:6: error: expected ';' before '}' token
- bgexec.tcl: In function 'DestroyBgExec':
- bgexec.tcl:1532:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- Tcl_DetachPids(1, (Tcl_Pid *)bgPtr->procIds[i]);
- ^
- bgexec.tcl: In function 'VariableProc':
- bgexec.tcl:1572:29: error: expected expression before ')' token
- if (flags & TRACE_FLAGS) {
- ^
- bgexec.tcl:1585:2: error: expected expression before '}' token
- }
- ^
- bgexec.tcl: In function 'TimerProc':
- bgexec.tcl:1706:45: warning: missing terminating " character [enabled by default]
- Tcl_DStringAppendElement(&dString, "child completed
- ^
- bgexec.tcl:1706:10: error: missing terminating " character
- Tcl_DStringAppendElement(&dString, "child completed
- ^
- bgexec.tcl:1707:9: warning: missing terminating " character [enabled by default]
- normally");
- ^
- bgexec.tcl:1707:1: error: missing terminating " character
- normally");
- ^
- bgexec.tcl:1707:1: error: 'normally' undeclared (first use in this function)
- bgexec.tcl:1708:10: error: expected ')' before 'break'
- break;
- ^
- bgexec.tcl:1723:6: error: expected ';' before '}' token
- }
- ^
- bgexec.tcl: In function 'SetupStdFile':
- bgexec.tcl:2146:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- fd = (int)clientData;
- ^
- bgexec.tcl: In function 'CreateProcess':
- bgexec.tcl:2305:32: warning: missing terminating " character [enabled by default]
- sprintf(errSpace, "%dforked process can't set up
- ^
- bgexec.tcl:2305:14: error: missing terminating " character
- sprintf(errSpace, "%dforked process can't set up
- ^
- bgexec.tcl:2306:1: error: 'input' undeclared (first use in this function)
- input/output: ",
- ^
- bgexec.tcl:2306:7: error: 'output' undeclared (first use in this function)
- input/output: ",
- ^
- bgexec.tcl:2306:13: error: expected ')' before ':' token
- input/output: ",
- ^
- bgexec.tcl:2306:15: warning: missing terminating " character [enabled by default]
- input/output: ",
- ^
- bgexec.tcl:2306:13: error: missing terminating " character
- input/output: ",
- ^
- bgexec.tcl:2362:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG);
- ^
- bgexec.tcl: In function 'FileForRedirect':
- bgexec.tcl:2461:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- fd = (int)clientData;
- ^
- bgexec.tcl: In function 'DoSwitch':
- bgexec.tcl:3418:39: warning: missing terminating " character [enabled by default]
- Tcl_AppendResult(interp, "bad switch table: unknown type
- ^
- bgexec.tcl:3418:14: error: missing terminating " character
- Tcl_AppendResult(interp, "bad switch table: unknown type
- ^
- bgexec.tcl:3419:1: error: stray '\' in program
- \"",
- ^
- bgexec.tcl: In function 'Blt_ParseSwitches':
- bgexec.tcl:3533:64: warning: missing terminating " character [enabled by default]
- Tcl_AppendResult(interp, "value for \"", arg, "\"
- ^
- bgexec.tcl:3533:18: error: missing terminating " character
- Tcl_AppendResult(interp, "value for \"", arg, "\"
- ^
- bgexec.tcl:3534:8: warning: missing terminating " character [enabled by default]
- missing",
- ^
- bgexec.tcl:3534:1: error: missing terminating " character
- missing",
- ^
- bgexec.tcl:3535:36: error: expected expression before 'char'
- (char *) NULL);
- ^
- bgexec.tcl: In function 'tcl__bgexec2':
- bgexec.tcl:3629:42: warning: missing terminating " character [enabled by default]
- Tcl_GetString(objv[0]), " varName ?options? command
- ^
- bgexec.tcl:3629:18: error: missing terminating " character
- Tcl_GetString(objv[0]), " varName ?options? command
- ^
- bgexec.tcl:3630:1: error: expected expression before '?' token
- ?arg...?\"",
- ^
- bgexec.tcl:3630:2: error: 'arg' undeclared (first use in this function)
- ?arg...?\"",
- ^
- bgexec.tcl:3630:1: error: stray '\' in program
- ?arg...?\"",
- ^
- bgexec.tcl:3669:35: warning: missing terminating " character [enabled by default]
- Tcl_AppendResult(interp, "missing command to execute: should
- ^
- bgexec.tcl:3669:10: error: missing terminating " character
- Tcl_AppendResult(interp, "missing command to execute: should
- ^
- bgexec.tcl:3670:1: error: stray '\' in program
- be \"",
- ^
- bgexec.tcl:3670:1: error: 'be' undeclared (first use in this function)
- bgexec.tcl:3670:5: error: expected ')' before string constant
- be \"",
- ^
- bgexec.tcl:3671:38: warning: missing terminating " character [enabled by default]
- Tcl_GetString(objv[0]), " varName ?options? command
- ^
- bgexec.tcl:3671:14: error: missing terminating " character
- Tcl_GetString(objv[0]), " varName ?options? command
- ^
- bgexec.tcl:3672:1: error: stray '\' in program
- ?arg...?\"",
- ^
- In file included from /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tcl.h:2332:0,
- from /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c:6:
- /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tclDecls.h:4543:44: error: expected expression before ',' token
- Tcl_TraceVar2(interp, varName, NULL, flags, proc, clientData)
- ^
- bgexec.tcl:3682:6: note: in expansion of macro 'Tcl_TraceVar'
- Tcl_TraceVar(interp, bgPtr->statVar, TRACE_FLAGS, VariableProc,
- ^
- bgexec.tcl:3802:39: warning: missing terminating " character [enabled by default]
- Tcl_AppendResult(interp, "child process exited
- ^
- bgexec.tcl:3802:14: error: missing terminating " character
- Tcl_AppendResult(interp, "child process exited
- ^
- bgexec.tcl:3803:11: warning: missing terminating " character [enabled by default]
- abnormally",
- ^
- bgexec.tcl:3803:1: error: missing terminating " character
- abnormally",
- ^
- bgexec.tcl:3814:1: warning: passing argument 4 of 'tclStubsPtr->tcl_TraceVar2' makes integer from pointer without a cast [enabled by default]
- }
- ^
- bgexec.tcl:3814:1: note: expected 'int' but argument is of type 'struct BgExec *'
- bgexec.tcl:3814:1: error: too few arguments to function 'tclStubsPtr->tcl_TraceVar2'
- bgexec.tcl:3814:1: error: expected ';' before '}' token
- ERROR while compiling code in /home/steve/bgexec.tcl:
- child process exited abnormally