* Package: app-emulation/dlx-1.5.20:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dlx-1.5.20.zip to /var/tmp/portage/app-emulation/dlx-1.5.20/work >>> Source unpacked in /var/tmp/portage/app-emulation/dlx-1.5.20/work >>> Preparing source in /var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx ... make -j4 CC=clang LINK=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int ' 'LFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' clang -c -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o cpu.o cpu.c clang -c -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o cpuh.o cpuh.c clang -c -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o cpum.o cpum.c clang -c -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o cpup.o cpup.c cpuh.c:227:17: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs (d1 + d2) > (DOUBLE) 0x7FFFFFFF) ^ cpup.c:268:17: warning: using integer absolute value function 'abs' whencpuh.c : 227argument: 17is: ofnote: usefloating functionpoint 'fabs'type instead[-Wabsolute-value] if (abs (d1 + d2) > (DOUBLE) 0x7FFFFFFF) ^~~ fabs cpuh.c:227:17 if (abs (d1 + d2) > (DOUBLE) 0x7FFFFFFF): ^note: include the header or explicitly provide a declaration for 'fabs' cpup.c:268:17: note: use function 'fabs' instead if (abs (d1 + d2) > (DOUBLE) 0x7FFFFFFF) ^~~ fabs cpup.c:268:17: note: include the header or explicitly provide a declaration for 'fabs' cpuh.c:255:17: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs (d1 - d2) > (DOUBLE) 0x7FFFFFFF) ^ cpup.c:290:17: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs (d1 - d2) > (DOUBLE) 0x7FFFFFFF) ^ cpuh.c:255:17: note: use function 'fabs' instead if (abs (d1 - d2) > (DOUBLE) 0x7FFFFFFF) ^~~ fabs cpuh.c:255:17: note: include the header or explicitly provide acpup.c : 290declaration: 17for: 'fabs'note: use function 'fabs' instead if (abs (d1 - d2) > (DOUBLE) 0x7FFFFFFF) ^~~ fabs cpup.c:290:17: note: include the header or explicitly provide a declaration for 'fabs' cpup.c:311:17: warning: using integer absolute valuecpuh.c :function287 :'abs'17 :when warning: usingargument integeris absoluteof valuefloating functionpoint 'abs'type when[-Wabsolute-value] argument is of floating if (abs (d1 * d2) > (DOUBLE) 0x7FFFFFFF)point ^type [-Wabsolute-value] if (abs (d1 * d2) > (DOUBLE) 0x7FFFFFFF) ^ cpup.c:311:17: note: cpu.cuse :function 501'fabs': 16instead:cpuh.c :warning: 287passing if (abs (d1 * d2) > (DOUBLE) 0x7FFFFFFF): 17'STRPTR' ^~~: (aka 'unsigned char *') fabsnote: usetocpup.c :functionparameter311 :'fabs'of17 : instead typenote: include'const char *' theconverts headerbetween if (abs (d1 * d2) > (DOUBLE) 0x7FFFFFFF) pointers ^~~ orto fabs explicitlyinteger cpuh.cprovidetypes :awhere 287 :onedeclaration17 : for is note: 'fabs'includeof thethe headerunique plain or'char' explicitlytype provideand athe otherdeclaration isfor not'fabs' [-Wpointer-sign] f = fopen (FName, "rb"); ^~~~~ /usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ cpu.c:593:20: warning: passing 'char[13]' to parameter of type 'STRPTR' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LoadMicrocode ("dlxmcode.tbl", TRUE); ^~~~~~~~~~~~~~ cpu.c:492:28: note: passing argument to parameter 'FName' here VOID LoadMicrocode (STRPTR FName, BOOL MainTable) ^ cpu.c:626:20: warning: passing 'UBYTE[82]' (aka 'unsigned char[82]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets (Txt, 80, f); ^~~ /usr/include/stdio.h:592:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ 3 warnings generated. clang -c -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o mem.o mem.c 3 warnings generated. clang -c -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o mon.o mon.c clang -c -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o mon2.o mon2.c mon2.c:35:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "A Memory set/display", ^~~~~~~~~~~~~~~~~~~~~~~ mon2.c:36:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[26]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "B Breakpoint set/display", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mon2.c:37:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "C Continue run", ^~~~~~~~~~~~~~~~~ mon2.c:38:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is notmon.c :[-Wpointer-sign]147 :20: warning: passing "CD Continue run with Debug", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~'UBYTE[162]' (aka 'unsigned char[162]') to parametermon2.c :of39 :type5 :'char *' warning: convertsinitializing between'STRPTR' pointers(aka 'unsigned char *') towith integeran types expression whereof onetype is'char[15]' ofconverts thebetween uniquepointers plainto 'char'integer typetypes and wherethe oneother isis ofnot the [-Wpointer-sign]unique plain 'char' type and the other is not [-Wpointer-sign] fgets (Str, 160, Rec); ^~~ "D Disassemble", ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:592:38mon2.c:: 40note: :passing5 :argument warning: toinitializing parameter'STRPTR' '__s'(aka 'unsigned char *') withhere an expression of type 'char[22]' converts between pointers to integer typesextern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "DM Disassem microcode", ^~~~~~~~~~~~~~~~~~~~~~~ mon2.c:41:mon.c5::151 :warning: 20initializing: 'STRPTR'warning: (aka 'unsigned char *')passing with'UBYTE[162]' an(aka 'unsigned char[162]') toexpression ofparameter typeof 'char[14]'type converts'char *' betweenconverts pointersbetween topointers integerto typesinteger types where whereone one isis ofof thethe uniqueunique plainplain 'char''char' typetype andand the theother otheris isnot not [-Wpointer-sign] [-Wpointer-sign] "E Enter data", fgets (Str, 160, stdin); ^~~~~~~~~~~~~~~ ^~~ /usr/include/stdio.h:592:mon2.c38::42 :note: 5:passing warning: argumentinitializing to'STRPTR' parameter(aka 'unsigned char *') '__s' withhere an expression of type 'char[15]' converts between pointersextern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) to ^ integer types where one is of the unique plain 'char' type and the other is not mon.c :[-Wpointer-sign]154 :20: warning: passing 'UBYTE[162]' "F Fill memory", (aka 'unsigned char[162]') ^~~~~~~~~~~~~~~~ to parameter of typemon2.c :'const char *'43 :converts5: betweenwarning: initializing pointers'STRPTR' (aka 'unsigned char *')to withinteger an types expressionwhere ofone typeis 'char[12]'of convertsthe betweenunique pointersplain to'char' integertype typesand thewhere other oneis isnot of [-Wpointer-sign]the unique plain 'char' type and fputs (Str, Rec);the ^~~other is /usr/include/stdio.hnot: 655 :[-Wpointer-sign]42 : note: passing "G Go (Run)",argument ^~~~~~~~~~~~~to parameter '__s' here mon2.c:44:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an extern int fputs (const char *__restrict __s, FILE *__restrict __stream);expression ^of type 'char[17]' converts between pointers to integer types where one is of the unique mon.cplain: 156:'char'21 :type warning: andpassing the'UBYTE[162]' other(aka 'unsigned char[162]') isto not parameter [-Wpointer-sign]of type 'const char *' converts "H Go with Debug",between ^~~~~~~~~~~~~~~~~~pointers to integer typesmon2.c :where45 :one5 :is warning: initializingof 'STRPTR'the (aka 'unsigned char *')unique plainwith 'char'an type expressionand ofthe typeother 'char[25]'is convertsnot between [-Wpointer-sign]pointers to integer types where if (strlen (Str) > 1) one ^~~ is of the unique plain 'char' type/usr/include/string.h :and407 :the35 :other note: ispassing notargument to [-Wpointer-sign]parameter '__s' here "I Set/display Load Addr", ^~~~~~~~~~~~~~~~~~~~~~~~~~ extern size_t strlen (const char *__s) ^mon2.c :46:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[21]' converts between pointers to integer types where one is of the unique plain 'char' type mon.cand: 158the: 37other: iswarning: passingnot 'UBYTE[162]' (aka 'unsigned char[162]')[-Wpointer-sign] to parameter of type "J Set/display debug", 'const char *' ^~~~~~~~~~~~~~~~~~~~~~ converts between pointers to mon2.cinteger: 47 :types5 :where warning: one initializingis 'STRPTR'of (aka 'unsigned char *')the withunique anplain 'char'expression type ofand typethe other'char[20]' isconverts notbetween pointers[-Wpointer-sign] to integer types where one is of for (j = 0; j < strlen (Str); j++) the ^~~ unique plain /usr/include/string.h:'char'407 :type35 :and note: thepassing otherargument isto notparameter '__s'[-Wpointer-sign] here "K Pipeline Control", ^~~~~~~~~~~~~~~~~~~~~ extern size_t strlen (const char *__s) ^ mon2.c:48:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "L Load file", ^~~~~~~~~~~~~~ mon2.c:49:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "M Memory dump", ^~~~~~~~~~~~~~~~ mon2.c:50:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "N -", ^~~~~~ mon2.c:51:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[21]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "O Display registers", ^~~~~~~~~~~~~~~~~~~~~~ mon2.c:52:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "P Set PC", ^~~~~~~~~~~ mon2.c:53:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "Q Quit Monitor", ^~~~~~~~~~~~~~~~~ mon2.c:54:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "R Set registers", ^~~~~~~~~~~~~~~~~~ mon2.c:55:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "S Save file", ^~~~~~~~~~~~~~ mon2.c:56:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "T Trace", ^~~~~~~~~~ mon2.c:57:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "U Trace with Debug", ^~~~~~~~~~~~~~~~~~~~~ mon2.c:58:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "V Set/display version", ^~~~~~~~~~~~~~~~~~~~~~~~ mon2.c:59:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "W Write debug info to log file", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mon2.c:60:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "X Exit Monitor", ^~~~~~~~~~~~~~~~~ mon2.c:61:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "Y Display performance", ^~~~~~~~~~~~~~~~~~~~~~~~ mon2.c:62:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[18]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "Z Zero registers", ^~~~~~~~~~~~~~~~~~~ mon2.c:63:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "[ Start/end recording", ^~~~~~~~~~~~~~~~~~~~~~~~ mon2.c:64:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "] Play back recording", ^~~~~~~~~~~~~~~~~~~~~~~~ mon2.c:65:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[24]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "^ Load Microcode table", ^~~~~~~~~~~~~~~~~~~~~~~~~ mon2.c:66:5: warning: initializing 'STRPTR' (aka 'unsigned char *') with an expression of type 'char[18]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "@ System command", ^~~~~~~~~~~~~~~~~~~ mon.c:410:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dlx.Type |= ((atol (&Cmd [++i]) & 3) << 16); ^~~~~~~~~~ /usr/include/stdlib.h:367:26: note: passing argument to parameter '__nptr' here __NTH (atol (const char *__nptr)) ^ mon2.c:141:12: warning: passing 'UBYTE[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is notmon.c :[-Wpointer-sign]415 :37: fgets (Pause, 3, stdin);warning: passing ^~~~~ 'unsigned char *' to parameter of type 'const char *' converts between/usr/include/stdio.h :pointers592: 38to: integernote: passingtypes argumentwhere toone parameteris '__s'of here the unique plain 'char' type extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)and ^the other is not [-Wpointer-sign] dlx.Type |= ((atol (&Cmd [++i]) & 3) << 20); ^~~~~~~~~~ /usr/include/stdlib.h:367:26: note: passing argument to parameter '__nptr' here __NTH (atol (const char *__nptr)) ^ mon.c:420:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dlx.Type |= ((atol (&Cmd [++i]) & 3) << 24); ^~~~~~~~~~ /usr/include/stdlib.h:367:26: note: passing argument to parameter '__nptr' here __NTH (atol (const char *__nptr)) ^ mon.c:584:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("Breakpoint %d at $%08lX\n", i + 1, dlx.PC); ~~ ^~~~~ %lu mon.c:624:33: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] i + 1, Val); ^~~~~ mon.c:648:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("%4d $%08lX\n", i + 1, BP.BPs [i]); ~~~ ^~~~~ %4lu mon.c:683:33: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] i + 1, Val); ^~~~~ mon.c:743:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dlx.FP.D [i / 2] = (DOUBLE) atof (&Cmd [pos]); ^~~~~~~~~~ /usr/include/bits/stdlib-float.h:25:26: note: passing argument to parameter '__nptr' here __NTH (atof (const char *__nptr)) ^ mon.c:749:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dlx.FP.F [i] = (FLOAT) atof (&Cmd [pos]); ^~~~~~~~~~ /usr/include/bits/stdlib-float.h:25:26: note: passing argument to parameter '__nptr' here __NTH (atof (const char *__nptr)) ^ mon.c:823:20: warning: passing 'UBYTE[162]' (aka 'unsigned char[162]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets (Cmd, 160, Rec); ^~~ /usr/include/stdio.h:592:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ mon.c:827:20: warning: passing 'UBYTE[162]' (aka 'unsigned char[162]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets (Cmd, 160, stdin); ^~~ /usr/include/stdio.h:592:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ mon.c:830:20: warning: passing 'UBYTE[162]' (aka 'unsigned char[162]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fputs (Cmd, Rec); ^~~ /usr/include/stdio.h:655:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ mon.c:839:22: warning: passing 'UBYTE[162]' (aka 'unsigned char[162]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Cmd [strlen (Cmd) - 1] = 0; ^~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ mon.c:873:21: error: call to undeclared function 'DisMicrocode'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] DisMicrocode (); ^ mon.c:873:21: note: did you mean 'LoadMicrocode'? ./cpu.h:325:13: note: 'LoadMicrocode' declared here extern VOID LoadMicrocode (STRPTR FName, BOOL MainTable); ^ mon.c:1069:29: warning: passing 'UBYTE[162]' (aka 'unsigned char[162]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (Cmd, ".log"); ^~~ /usr/include/string.h:149:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ mon.c:1072:37: warning: passing 'UBYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Lg = fopen (&Cmd [2], "a"); ^~~~~~~~ /usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ mon.c:1074:37: warning: passing 'UBYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Lg = fopen (&Cmd [1], "w"); ^~~~~~~~ /usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ mon.c:1132:29: warning: passing 'UBYTE[162]' (aka 'unsigned char[162]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (Cmd, ".rec"); ^~~ /usr/include/string.h:149:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ mon.c:1134:34: warning: passing 'UBYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Rec = fopen (&Cmd [1], "w"); ^~~~~~~~ /usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ mon.c:1148:29: warning: passing 'UBYTE[162]' (aka 'unsigned char[162]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (Cmd, ".rec"); ^~~ /usr/include/string.h:149:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ mon.c:1150:34: warning: passing 'UBYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Rec = fopen (&Cmd [1], "r"); ^~~~~~~~ /usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ mon.c:1168:25: warning: passing 'UBYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system (&Cmd [1]); ^~~~~~~~ /usr/include/stdlib.h:804:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ mon.c:1172:17: error: call to undeclared function 'DoMcLoad'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] DoMcLoad (&Cmd [1]); ^ mon.c:1172:17: note: did you mean 'DoLoad'? ./io.h:13:17: note: 'DoLoad' declared here extern VOID DoLoad (STRPTR Cmd, BOOL Display); ^ 26 warnings and 2 errors generated. make: *** [Makefile:22: mon.o] Error 1 make: *** Waiting for unfinished jobs.... 3 warnings generated. 33 warnings generated. * ERROR: app-emulation/dlx-1.5.20::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/dlx-1.5.20::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/dlx-1.5.20::gentoo'`. * The complete build log is located at '/var/log/portage/app-emulation:dlx-1.5.20:20221004-004839.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/dlx-1.5.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/dlx-1.5.20/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx' * S: '/var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx'