Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 622146 Details for
Bug 713374
app-misc/irtrans-irserver-6.09.04-r1 : linuxserio.c: error: LOCK_EX undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:irtrans-irserver-6.09.04-r1:20200318-215448.log
app-misc:irtrans-irserver-6.09.04-r1:20200318-215448.log (text/plain), 49.95 KB, created by
Toralf Förster
on 2020-03-19 11:08:28 UTC
(
hide
)
Description:
app-misc:irtrans-irserver-6.09.04-r1:20200318-215448.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-19 11:08:28 UTC
Size:
49.95 KB
patch
obsolete
> * Package: app-misc/irtrans-irserver-6.09.04-r1 > * Repository: gentoo > * Maintainer: mario.fetka@gmail.com proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking irserver-src-6.09.04.tar.gz to /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work >>>> Unpacking irserver-6.09.04.tar.gz to /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work >>>> Source unpacked in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work >>>> Preparing source in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work ... > * please use append-cppflags for preprocessor flags >make -j1 CXX=x86_64-gentoo-linux-musl-g++ CC=x86_64-gentoo-linux-musl-gcc 'CFLAGS=-O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DLINUX -DMEDIACENTER' 'CXXFLAGS=-O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DLINUX -DMEDIACENTER' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed --static' irserver64 >x86_64-gentoo-linux-musl-gcc -DLINUX -DMEDIACENTER -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DLINUX -DMEDIACENTER -DX64 -m64 -c fileio.c -o x64/fileio.o >fileio.c: In function 'ReadIRTransDirectory': >fileio.c:99:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] > 99 | memset (buf,0,sizeof (REMOTEBUFFER)); > | ^~~~~~ >fileio.c:99:2: warning: incompatible implicit declaration of built-in function 'memset' >fileio.c:76:1: note: include '<string.h>' or provide a declaration of 'memset' > 75 | #include "flash.h" > +++ |+#include <string.h> > 76 | >fileio.c:112:9: warning: implicit declaration of function 'getdirentries'; did you mean 'getdents'? [-Wimplicit-function-declaration] > 112 | len = getdirentries (fd,st,2048,&off); > | ^~~~~~~~~~~~~ > | getdents >fileio.c:118:20: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] > 118 | if (fl >= 1 && !strcmp (di->d_name + fl,filetype)) { > | ^~~~~~ >fileio.c:123:6: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] > 123 | memcpy (buf->remotes[cnt].name,di -> d_name,nlen); > | ^~~~~~ >fileio.c:123:6: warning: incompatible implicit declaration of built-in function 'memcpy' >fileio.c:123:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:137:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] > 137 | close (fd); > | ^~~~~ > | pclose >fileio.c: In function 'GetNumericCode': >fileio.c:210:33: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] > 210 | if (strlen (command) == 22 && !strncmp (command,"004011",6)) { > | ^~~~~~~ >fileio.c:210:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 210 | if (strlen (command) == 22 && !strncmp (command,"004011",6)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c: In function 'ASCIIOpenRemote': >fileio.c:264:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] > 264 | strcpy (nm,name); > | ^~~~~~ >fileio.c:264:2: warning: incompatible implicit declaration of built-in function 'strcpy' >fileio.c:264:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:265:44: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] > 265 | if (strcmp (nm + strlen (nm) - 4,".rem")) strcat (nm,".rem"); > | ^~~~~~ >fileio.c:265:44: warning: incompatible implicit declaration of built-in function 'strcat' >fileio.c:265:44: note: include '<string.h>' or provide a declaration of 'strcat' >fileio.c:267:2: warning: incompatible implicit declaration of built-in function 'memset' > 267 | memset (&client->ird,0,sizeof (IRDATA)); > | ^~~~~~ >fileio.c:267:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:283:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 283 | memcpy (client->learnstatus.remote,name,strlen (name)); > | ^~~~~~ >fileio.c:283:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:301:2: warning: incompatible implicit declaration of built-in function 'memcpy' > 301 | memcpy (client->learnstatus.remote,name,strlen (name)); > | ^~~~~~ >fileio.c:301:2: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'ASCIITimingSample': >fileio.c:352:15: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] > 352 | if ((rp = strstr(data, "[RAW]"))) > | ^~~~~~ >fileio.c:352:15: warning: incompatible implicit declaration of built-in function 'strstr' >fileio.c:352:15: note: include '<string.h>' or provide a declaration of 'strstr' >fileio.c:356:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'byte *' {aka 'unsigned char *'} [-Wformat=] > 356 | sscanf(rp, "%d", &client->ird.ir_length); > | ~^ ~~~~~~~~~~~~~~~~~~~~~~ > | | | > | | byte * {aka unsigned char *} > | int * > | %hhd >fileio.c:369:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] > 369 | strncpy (client->ird.data,data+i,CODE_LEN); > | ^~~~~~~ >fileio.c:369:9: warning: incompatible implicit declaration of built-in function 'strncpy' >fileio.c:369:9: note: include '<string.h>' or provide a declaration of 'strncpy' >fileio.c: In function 'ASCIIFindToggleSeq': >fileio.c:402:20: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] > 402 | if (data[i] && !memcmp (name,data,i)) { > | ^~~~~~ >fileio.c:402:38: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 402 | if (data[i] && !memcmp (name,data,i)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c: In function 'ASCIIFindCommand': >fileio.c:439:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 439 | strcpy (com,name); > | ^~~~~~ >fileio.c:439:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:449:37: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 449 | if (data[i] && !memcmp (com,data,i) && i == (int)strlen (com)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:462:5: warning: incompatible implicit declaration of built-in function 'memset' > 462 | memset (data,' ',oldlen); > | ^~~~~~ >fileio.c:462:5: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:477:6: warning: implicit declaration of function 'truncate' [-Wimplicit-function-declaration] > 477 | truncate (client->filename,pos); > | ^~~~~~~~ >fileio.c: In function 'FormatCCF': >fileio.c:525:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 525 | strcpy (ccf,st); > | ^~~~~~ >fileio.c:525:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'ASCIIStoreRS232': >fileio.c:567:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 567 | strcpy (sockinfo[client].learnstatus.received,"RS232 String"); > | ^~~~~~ >fileio.c:567:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'ASCIIStoreCCF': >fileio.c:588:54: warning: incompatible implicit declaration of built-in function 'strcpy' > 588 | if (sockinfo[client].ird.data[0] & LONG_CODE_FLAG) strcpy (sockinfo[client].learnstatus.received,"Long Code"); > | ^~~~~~ >fileio.c:588:54: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:589:8: warning: incompatible implicit declaration of built-in function 'memcpy' > 589 | else memcpy (sockinfo[client].learnstatus.received,sockinfo[client].ird.data,sockinfo[client].ird.ir_length); > | ^~~~~~ >fileio.c:589:8: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'ASCIIStoreRAW': >fileio.c:668:28: warning: incompatible implicit declaration of built-in function 'strcpy' > 668 | if (ird->command == 0xff) strcpy (st,"[FREQ-MEAS]"); > | ^~~~~~ >fileio.c:668:28: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'GetRemoteDatabase': >fileio.c:1024:2: warning: incompatible implicit declaration of built-in function 'memset' > 1024 | memset (buf,0,sizeof (REMOTEBUFFER)); > | ^~~~~~ >fileio.c:1024:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1032:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 1032 | memcpy (buf->remotes[i].name,rem_pnt[offset].name,strlen (rem_pnt[offset].name)); > | ^~~~~~ >fileio.c:1032:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'GetCommandDatabase': >fileio.c:1051:2: warning: incompatible implicit declaration of built-in function 'memset' > 1051 | memset (buf,0,sizeof (COMMANDBUFFER)); > | ^~~~~~ >fileio.c:1051:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1057:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 1057 | strcpy (remcmp,remote); > | ^~~~~~ >fileio.c:1057:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1083:4: warning: incompatible implicit declaration of built-in function 'memcpy' > 1083 | memcpy (buf->commands[i],cmd_pnt[offset+start+togb].name,strlen (cmd_pnt[offset+start+togb].name)); > | ^~~~~~ >fileio.c:1083:4: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'FreeDatabaseMemory': >fileio.c:1129:2: warning: incompatible implicit declaration of built-in function 'memset' > 1129 | memset (app_pnt,0,sizeof (app_pnt)); > | ^~~~~~ >fileio.c:1129:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c: In function 'put_mousemovement': >fileio.c:1140:2: warning: incompatible implicit declaration of built-in function 'memset' > 1140 | memset (st,0,sizeof (st)); > | ^~~~~~ >fileio.c:1140:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1142:2: warning: incompatible implicit declaration of built-in function 'memcpy' > 1142 | memcpy (st,pnt+7,6); > | ^~~~~~ >fileio.c:1142:2: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1151:31: warning: spurious trailing '%' in format [-Wformat=] > 1151 | sprintf (name,"%03d %03d %c%c%",x,y,pnt[20],pnt[21]); > | ^ >fileio.c: In function 'DBFindCommandName': >fileio.c:1177:8: warning: incompatible implicit declaration of built-in function 'strcpy' > 1177 | strcpy (remote,rem_pnt[cmd_pnt[i].remote].name); > | ^~~~~~ >fileio.c:1177:8: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1188:7: warning: incompatible implicit declaration of built-in function 'strcpy' > 1188 | strcpy (remote,rem_pnt[cmd_pnt[i].remote].name); > | ^~~~~~ >fileio.c:1188:7: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1223:127: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1223 | && !memcmp (command,cmd_pnt[i].data + offset,cmd_pnt[i].ir_length - offset)) || > | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c:1224:113: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1224 | !memcmp (command+rstart,cmd_pnt[i].data+rstart + offset,rlen-rstart-offset)) || > | ~~~~~~~~~~~^~~~~~~ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c:1225:128: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1225 | && !memcmp (command+rstart,cmd_pnt[i].data+rstart+offset,len-rstart-offset))) { > | ~~~~~~~~~~^~~~~~~ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c:1229:7: warning: incompatible implicit declaration of built-in function 'strcpy' > 1229 | strcpy (remote,rem_pnt[cmd_pnt[i].remote].name); > | ^~~~~~ >fileio.c:1229:7: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1240:6: warning: incompatible implicit declaration of built-in function 'strcpy' > 1240 | strcpy (remote,rem_pnt[cmd_pnt[i].remote].name); > | ^~~~~~ >fileio.c:1240:6: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1242:27: warning: incompatible implicit declaration of built-in function 'strcat' > 1242 | if (*command == 'K') strcat (name,command+9); > | ^~~~~~ >fileio.c:1242:27: note: include '<string.h>' or provide a declaration of 'strcat' >fileio.c: In function 'DBFindRemoteMacro': >fileio.c:1301:2: warning: incompatible implicit declaration of built-in function 'memset' > 1301 | memset (remcmp,0,100); > | ^~~~~~ >fileio.c:1301:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1304:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 1304 | strcpy (remcmp,remote); > | ^~~~~~ >fileio.c:1304:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'DBFindRemoteCommand': >fileio.c:1346:2: warning: incompatible implicit declaration of built-in function 'memset' > 1346 | memset (remcmp,0,100); > | ^~~~~~ >fileio.c:1346:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1349:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 1349 | strcpy (remcmp,remote); > | ^~~~~~ >fileio.c:1349:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'DBGetRepeatCode': >fileio.c:1381:2: warning: incompatible implicit declaration of built-in function 'memset' > 1381 | memset (cmd,' ',20); > | ^~~~~~ >fileio.c:1381:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1382:2: warning: incompatible implicit declaration of built-in function 'memcpy' > 1382 | memcpy (cmd,cmd_pnt[ncmd].name,20); > | ^~~~~~ >fileio.c:1382:2: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'DBGetIRCode': >fileio.c:1465:3: warning: incompatible implicit declaration of built-in function 'memset' > 1465 | memset (rd,0,sizeof (IRRAW)); > | ^~~~~~ >fileio.c:1465:3: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1476:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 1476 | memcpy (rd->data,cmd_pnt[ncmd].data,CODE_LENRAW); > | ^~~~~~ >fileio.c:1476:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1483:3: warning: incompatible implicit declaration of built-in function 'memset' > 1483 | memset (ir,0,sizeof (IRDATA)); > | ^~~~~~ >fileio.c:1483:3: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1537:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1537 | memcpy (((IRDATA_18 *)ir)->data,cmd_pnt[ncmd].data_offset,(byte)cmd_pnt[ncmd].ir_length_offset); > | ^~~~~~ >fileio.c:1537:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1541:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1541 | memcpy (((IRDATA_18 *)ir)->data,cmd_pnt[ncmd].data,CODE_LEN_18); > | ^~~~~~ >fileio.c:1541:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1546:5: warning: incompatible implicit declaration of built-in function 'memcpy' > 1546 | memcpy (((IRDATA_SINGLE *)ir)->data,cmd_pnt[ncmd].data,CODE_LEN_SINGLE); > | ^~~~~~ >fileio.c:1546:5: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1551:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1551 | memcpy (ir->data,cmd_pnt[ncmd].data_offset,CODE_LEN); > | ^~~~~~ >fileio.c:1551:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1555:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1555 | memcpy (ir->data,cmd_pnt[ncmd].data_cal,CODE_LEN); > | ^~~~~~ >fileio.c:1555:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1560:5: warning: incompatible implicit declaration of built-in function 'memcpy' > 1560 | memcpy (ir->data,cmd_pnt[ncmd].data,CODE_LEN); > | ^~~~~~ >fileio.c:1560:5: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'DBFindRemoteCommandEx': >fileio.c:1594:2: warning: incompatible implicit declaration of built-in function 'memset' > 1594 | memset (remcmp,0,100); > | ^~~~~~ >fileio.c:1594:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:1597:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 1597 | strcpy (remcmp,remote); > | ^~~~~~ >fileio.c:1597:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1617:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 1617 | memcpy (rs232->data,cmd_pnt[ncmd].data,cmd_pnt[ncmd].ir_length); > | ^~~~~~ >fileio.c:1617:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1635:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 1635 | memcpy (rd->data,cmd_pnt[ncmd].data,CODE_LENRAW); > | ^~~~~~ >fileio.c:1635:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1688:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1688 | memcpy (((IRDATA_18 *)ir)->data,cmd_pnt[ncmd].data_offset,(byte)cmd_pnt[ncmd].ir_length_offset); > | ^~~~~~ >fileio.c:1688:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1692:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1692 | memcpy (((IRDATA_18 *)ir)->data,cmd_pnt[ncmd].data,CODE_LEN_18); > | ^~~~~~ >fileio.c:1692:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1698:5: warning: incompatible implicit declaration of built-in function 'memcpy' > 1698 | memcpy (((IRDATA_SINGLE *)ir)->data,cmd_pnt[ncmd].data,CODE_LEN_SINGLE); > | ^~~~~~ >fileio.c:1698:5: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1703:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1703 | memcpy (ir->data,cmd_pnt[ncmd].data_offset,CODE_LEN); > | ^~~~~~ >fileio.c:1703:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1708:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 1708 | memcpy (ir->data,cmd_pnt[ncmd].data_cal,CODE_LEN); > | ^~~~~~ >fileio.c:1708:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:1714:5: warning: incompatible implicit declaration of built-in function 'memcpy' > 1714 | memcpy (ir->data,cmd_pnt[ncmd].data,CODE_LEN); > | ^~~~~~ >fileio.c:1714:5: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'DBFindCommand': >fileio.c:1742:40: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1742 | if (!memcmp (command,cmd_pnt[i].name,20)) { > | ^~ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:1751:75: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1751 | md_pnt[p].toggle_seq != s || memcmp (command,cmd_pnt[p].name,20)) && p < rem_pnt[*remote].command_end) p++; > | ^~ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c:1765:75: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1765 | md_pnt[p].toggle_seq != s || memcmp (command,cmd_pnt[p].name,20)) && p < rem_pnt[*remote].command_end) p++; > | ^~ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c: In function 'DBFindRemote': >fileio.c:1787:39: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1787 | if (!memcmp (remote,rem_pnt[i].name,80)) return (i); > | ^~ ><built-in>: note: built-in 'memcmp' declared here >fileio.c: In function 'StoreSwitch': >fileio.c:1801:4: warning: incompatible implicit declaration of built-in function 'strcpy' > 1801 | strcpy (switches[i].remote,rem); > | ^~~~~~ >fileio.c:1801:4: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1812:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 1812 | strcpy (switches[switch_cnt].remote,rem); > | ^~~~~~ >fileio.c:1812:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'FindSwitch': >fileio.c:1854:4: warning: incompatible implicit declaration of built-in function 'strcpy' > 1854 | strcpy (rem,switches[i].remote); > | ^~~~~~ >fileio.c:1854:4: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'ReadSwitches': >fileio.c:1908:3: warning: incompatible implicit declaration of built-in function 'strcpy' > 1908 | strcpy (sw.remote,ln + j); > | ^~~~~~ >fileio.c:1908:3: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'ReadAppConfig': >fileio.c:1968:30: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1968 | if (!strncmp (data,"[APP]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:1969:4: warning: incompatible implicit declaration of built-in function 'strcpy' > 1969 | strcpy (app_pnt[app_cnt].name,data + 5); > | ^~~~~~ >fileio.c:1969:4: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1972:41: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1972 | else if (!strncmp (data,"[CLASSNAME]",11)) { > | ^~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:1973:4: warning: incompatible implicit declaration of built-in function 'strcpy' > 1973 | strcpy (app_pnt[app_cnt].classname,data + 11); > | ^~~~~~ >fileio.c:1973:4: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1981:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1981 | else if (!strncmp (data,"[APPLINUX]",10)) { > | ^~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:1982:4: warning: incompatible implicit declaration of built-in function 'strcpy' > 1982 | strcpy (app_pnt[app_cnt].appname,data + 10); > | ^~~~~~ >fileio.c:1982:4: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:1985:38: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1985 | else if (!strncmp (data,"[ACTIVE]",8)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:1988:36: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 1988 | else if (!strncmp (data,"[TYPE]",6)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2002:38: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2002 | else if (!strncmp (data,"[REMOTE]",8)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2003:4: warning: incompatible implicit declaration of built-in function 'strcpy' > 2003 | strcpy (app_pnt[app_cnt].remote,data + 8); > | ^~~~~~ >fileio.c:2003:4: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:2009:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2009 | else if (!strncmp (data,"[COMMANDS]",10)) { > | ^~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2012:44: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2012 | else if (!strncmp (data,"[END-COMMANDS]",14)) { > | ^~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2015:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2015 | else if (!strncmp (data,"[END-APP]",9)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2036:34: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2036 | if (!strncmp (data+p,"[FNC]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2043:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2043 | else if (!strncmp (data+p,"[STR]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2045:6: warning: incompatible implicit declaration of built-in function 'strcpy' > 2045 | strcpy (app_pnt[app_cnt].com[app_pnt[app_cnt].com_cnt].function.name,data + i); > | ^~~~~~ >fileio.c:2045:6: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:2048:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2048 | else if (!strncmp (data+p,"[XBMC-button]",13)) { > | ^~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2051:6: warning: incompatible implicit declaration of built-in function 'strcpy' > 2051 | strcpy (app_pnt[app_cnt].com[app_pnt[app_cnt].com_cnt].function.name,data + i); > | ^~~~~~ >fileio.c:2051:6: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:2054:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2054 | else if (!strncmp (data+p,"[XBMC-action]",13)) { > | ^~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2057:6: warning: incompatible implicit declaration of built-in function 'strcpy' > 2057 | strcpy (app_pnt[app_cnt].com[app_pnt[app_cnt].com_cnt].function.name,data + i); > | ^~~~~~ >fileio.c:2057:6: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:2060:49: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2060 | else if (!strncmp (data+p,"[XBMC-action-b]",15)) { > | ^~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2063:6: warning: incompatible implicit declaration of built-in function 'strcpy' > 2063 | strcpy (app_pnt[app_cnt].com[app_pnt[app_cnt].com_cnt].function.name,data + i); > | ^~~~~~ >fileio.c:2063:6: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:2066:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2066 | else if (!strncmp (data+p,"[KEY]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2073:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2073 | else if (!strncmp (data+p,"[KEF]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2080:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2080 | else if (!strncmp (data+p,"[CHR]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2087:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2087 | else if (!strncmp (data+p,"[APP]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2094:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2094 | else if (!strncmp (data+p,"[RUN]",5)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c: In function 'DBStoreRouting': >fileio.c:2130:6: warning: incompatible implicit declaration of built-in function 'memset' > 2130 | memset (*pnt + *cnt,0,sizeof (ROUTING)); > | ^~~~~~ >fileio.c:2130:6: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:2134:6: warning: incompatible implicit declaration of built-in function 'strncpy' > 2134 | strncpy (((*pnt) + *cnt)->name,data,80); > | ^~~~~~~ >fileio.c:2134:6: note: include '<string.h>' or provide a declaration of 'strncpy' >fileio.c: In function 'DBStoreRooms': >fileio.c:2164:6: warning: incompatible implicit declaration of built-in function 'memset' > 2164 | memset (rooms + room_cnt,0,sizeof (ROOMS)); > | ^~~~~~ >fileio.c:2164:6: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:2168:6: warning: incompatible implicit declaration of built-in function 'strncpy' > 2168 | strncpy (rooms[room_cnt].name,data,80); > | ^~~~~~~ >fileio.c:2168:6: note: include '<string.h>' or provide a declaration of 'strncpy' >fileio.c: In function 'DBReadCommandFile': >fileio.c:2199:67: warning: incompatible implicit declaration of built-in function 'strcat' > 2199 | (strcmp (includeremote + strlen (includeremote) - 4,".rem")) strcat (includeremote,".rem"); > | ^~~~~~ > >fileio.c:2199:67: note: include '<string.h>' or provide a declaration of 'strcat' >fileio.c: In function 'FindDuplicateCommands': >fileio.c:2235:109: warning: 'memcmp' argument 3 promotes to 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2235 | .ir_length && !memcmp (cmd_pnt[j].data,cmd_pnt[i].data,cmd_pnt[i].ir_length)) { > | ~~~~~~~~~~^~~~~~~~~~ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c: In function 'DBReferenceLinks': >fileio.c:2295:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 2295 | memcpy (cmd_pnt[i].data,cmd_pnt[ncmd].data,cmd_pnt[ncmd].ir_length); > | ^~~~~~ >fileio.c:2295:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'DBStoreCommands': >fileio.c:2325:5: warning: incompatible implicit declaration of built-in function 'memset' > 2325 | memset (cmd_pnt + cmd_cnt,0,sizeof (IRCOMMAND)); > | ^~~~~~ >fileio.c:2325:5: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:2331:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 2331 | memcpy (cmd_pnt[cmd_cnt].name,data,strlen (data)); > | ^~~~~~ >fileio.c:2331:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:2334:58: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2334 | if (!memcmp (cmd_pnt[j].name,cmd_pnt[cmd_cnt].name,20) && !cmd_pnt[j].toggle_seq) { > | ^~ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2345:6: warning: incompatible implicit declaration of built-in function 'memcpy' > 2345 | memcpy (cmd_pnt[cmd_cnt].name,data,strlen (data)); > | ^~~~~~ >fileio.c:2345:6: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:2350:34: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2350 | if (!memcmp (data + i,"[RL]",4)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2355:34: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2355 | if (!memcmp (data + i,"[RC]",4)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2361:34: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2361 | if (!memcmp (data + i,"[RP]",4)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2366:35: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2366 | if (!memcmp (data + i,"[RAW]",5)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2395:42: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2395 | else if (!memcmp (data + i,"[MACRO]",7)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2408:62: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2408 | for (n=0;n < m_pnt->macro_len && !strncmp (data+i,"IR]",3);n++) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2415:7: warning: incompatible implicit declaration of built-in function 'strcpy' > 2415 | strcpy (mac_pnt[mac_cnt + n].mac_remote,data + p); > | ^~~~~~ >fileio.c:2415:7: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:2436:40: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2436 | else if (!memcmp (data + i,"[CCF]",5)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2445:42: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2445 | else if (!strncmp (data + i,"[LINK]",6) || !strncmp (data + i,"[link]",6)) { > | ^ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2445:76: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2445 | strncmp (data + i,"[LINK]",6) || !strncmp (data + i,"[link]",6)) { > | ^ > ><built-in>: note: built-in 'strncmp' declared here >fileio.c:2458:7: warning: incompatible implicit declaration of built-in function 'strcpy' > 2458 | strcpy (cmd_pnt[cmd_cnt].data,data + i); > | ^~~~~~ >fileio.c:2458:7: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c:2459:7: warning: incompatible implicit declaration of built-in function 'strncpy' > 2459 | strncpy (cmd_pnt[cmd_cnt].data_cal,data + j,20); > | ^~~~~~~ >fileio.c:2459:7: note: include '<string.h>' or provide a declaration of 'strncpy' >fileio.c:2465:42: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2465 | else if (!memcmp (data + i,"[RS232]",7)) { > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2513:7: warning: incompatible implicit declaration of built-in function 'strcpy' > 2513 | strcpy (cmd_pnt[cmd_cnt].data,data + i + FindLineSection (data+i,"D")); > | ^~~~~~ >fileio.c:2513:7: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'CopyRepeatOffset': >fileio.c:2555:2: warning: incompatible implicit declaration of built-in function 'memcpy' > 2555 | memcpy (cmd_pnt[cmd].data_offset + 4 + old_offset,cmd_pnt[cmd].data_cal,cmd_pnt[cmd].ir_length_cal); > | ^~~~~~ >fileio.c:2555:2: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'CopyStateInfo': >fileio.c:2564:26: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2564 | if (!memcmp (state,"On",2) || !memcmp (state,"ON",2) || !memcmp (state,"on",2) || *state == '1') sval = 1; > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2564:52: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2564 | if (!memcmp (state,"On",2) || !memcmp (state,"ON",2) || !memcmp (state,"on",2) || *state == '1') sval = 1; > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2564:78: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2564 | ate,"On",2) || !memcmp (state,"ON",2) || !memcmp (state,"on",2) || *state == '1') sval = 1; > | ^ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2565:32: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2565 | else if (!memcmp (state,"Off",3) || !memcmp (state,"OFF",3) || !memcmp (state,"off",3) || *state == '0') sval = 0; > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2565:59: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2565 | else if (!memcmp (state,"Off",3) || !memcmp (state,"OFF",3) || !memcmp (state,"off",3) || *state == '0') sval = 0; > | ^ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2565:86: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2565 | ,"Off",3) || !memcmp (state,"OFF",3) || !memcmp (state,"off",3) || *state == '0') sval = 0; > | ^ > ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2571:2: warning: incompatible implicit declaration of built-in function 'memcpy' > 2571 | memcpy (cmd_pnt[cmd].data_offset + 3,cmd_pnt[cmd].data_cal,cmd_pnt[cmd].ir_length_cal); > | ^~~~~~ >fileio.c:2571:2: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'CopyToggleData': >fileio.c:2623:2: warning: incompatible implicit declaration of built-in function 'memcpy' > 2623 | memcpy (cmd_pnt[cmd].data_offset + offset + old_offset,cmd_pnt[cmd].data_cal,cmd_pnt[cmd].ir_length_cal); > | ^~~~~~ >fileio.c:2623:2: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c: In function 'ReadCalibrateData': >fileio.c:2640:3: warning: incompatible implicit declaration of built-in function 'strcpy' > 2640 | strcpy (pntcal,pnt); > | ^~~~~~ >fileio.c:2640:3: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'ConvertIRDARAW': >fileio.c:2688:2: warning: incompatible implicit declaration of built-in function 'strcpy' > 2688 | strcpy (data,tar); > | ^~~~~~ >fileio.c:2688:2: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'DBStoreCCFCode': >fileio.c:2713:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 2713 | memcpy (cmd_pnt[cmd_cnt].data,irr->data,irr->ir_length); > | ^~~~~~ >fileio.c:2713:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:2719:4: warning: incompatible implicit declaration of built-in function 'memset' > 2719 | memset (cmd_pnt + cmd_cnt,0,sizeof (IRCOMMAND)); > | ^~~~~~ >fileio.c:2719:4: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:2722:4: warning: incompatible implicit declaration of built-in function 'strcat' > 2722 | strcat (cmd_pnt[cmd_cnt].name,"@"); > | ^~~~~~ >fileio.c:2722:4: note: include '<string.h>' or provide a declaration of 'strcat' >fileio.c:2741:3: warning: incompatible implicit declaration of built-in function 'memset' > 2741 | memset (&tim_pnt[tim_cnt],0,sizeof (IRTIMING)); > | ^~~~~~ >fileio.c:2741:3: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:2743:3: warning: incompatible implicit declaration of built-in function 'memcpy' > 2743 | memcpy (&tim_pnt[tim_cnt].ir_length,&ird.ir_length,3); > | ^~~~~~ >fileio.c:2743:3: note: include '<string.h>' or provide a declaration of 'memcpy' >fileio.c:2769:4: warning: incompatible implicit declaration of built-in function 'strcat' > 2769 | strcat (cmd_pnt[cmd_cnt].name,"@"); > | ^~~~~~ >fileio.c:2769:4: note: include '<string.h>' or provide a declaration of 'strcat' >fileio.c: In function 'DBStoreRemote': >fileio.c:2865:2: warning: incompatible implicit declaration of built-in function 'memset' > 2865 | memset (&rem_pnt[rem_cnt],0,sizeof (IRREMOTE)); > | ^~~~~~ >fileio.c:2865:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:2867:2: warning: incompatible implicit declaration of built-in function 'strncpy' > 2867 | strncpy (rem_pnt[rem_cnt].name,data,80); > | ^~~~~~~ >fileio.c:2867:2: note: include '<string.h>' or provide a declaration of 'strncpy' >fileio.c: In function 'GetRemoteAddressMask': >fileio.c:2912:55: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2912 | if (!memcmp (rem_pnt[num].name,send_routing[i].name,80)) { > | ^~ ><built-in>: note: built-in 'memcmp' declared here >fileio.c:2920:55: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 2920 | if (!memcmp (rem_pnt[num].name,recv_routing[i].name,80)) { > | ^~ ><built-in>: note: built-in 'memcmp' declared here >fileio.c: In function 'StoreIRTiming': >fileio.c:2958:2: warning: incompatible implicit declaration of built-in function 'memset' > 2958 | memset (irp,0,sizeof (IRTIMING)); > | ^~~~~~ >fileio.c:2958:2: note: include '<string.h>' or provide a declaration of 'memset' >fileio.c:2971:4: warning: incompatible implicit declaration of built-in function 'strncpy' > 2971 | strncpy (par,data+p,i-p); > | ^~~~~~~ >fileio.c:2971:4: note: include '<string.h>' or provide a declaration of 'strncpy' >fileio.c: In function 'FindLineSection': >fileio.c:3114:27: warning: 'memcmp' argument 3 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 3114 | if (!memcmp (ln+pnt,cmp,len)) return (pnt+len); > | ^~~ ><built-in>: note: built-in 'memcmp' declared here >fileio.c: In function 'DBFindSection': >fileio.c:3146:25: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 3146 | if (!strncmp (pnt,cmp,len)) { > | ^~~ ><built-in>: note: built-in 'strncmp' declared here >fileio.c:3147:14: warning: incompatible implicit declaration of built-in function 'strcpy' > 3147 | if (data) strcpy (data,pnt+len); > | ^~~~~~ >fileio.c:3147:14: note: include '<string.h>' or provide a declaration of 'strcpy' >fileio.c: In function 'ConvertLcase': >fileio.c:3181:12: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] > 3181 | pnt[i] = tolower (pnt[i]); > | ^~~~~~~ >x86_64-gentoo-linux-musl-gcc -DLINUX -DMEDIACENTER -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DLINUX -DMEDIACENTER -DX64 -m64 -c linuxserio.c -o x64/linuxserio.o >linuxserio.c: In function 'OpenSerialPort': >linuxserio.c:192:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] > 192 | strcpy (SerialDevice,Pname); > | ^~~~~~ >linuxserio.c:192:2: warning: incompatible implicit declaration of built-in function 'strcpy' >linuxserio.c:53:1: note: include '<string.h>' or provide a declaration of 'strcpy' > 52 | #include "global.h" > +++ |+#include <string.h> > 53 | >linuxserio.c:201:6: warning: implicit declaration of function 'flock' [-Wimplicit-function-declaration] > 201 | if (flock(hCom, LOCK_EX | LOCK_NB) < 0) { > | ^~~~~ >linuxserio.c:201:18: error: 'LOCK_EX' undeclared (first use in this function) > 201 | if (flock(hCom, LOCK_EX | LOCK_NB) < 0) { > | ^~~~~~~ >linuxserio.c:201:18: note: each undeclared identifier is reported only once for each function it appears in >linuxserio.c:201:28: error: 'LOCK_NB' undeclared (first use in this function) > 201 | if (flock(hCom, LOCK_EX | LOCK_NB) < 0) { > | ^~~~~~~ >linuxserio.c: In function 'OpenSerialPortEx': >linuxserio.c:247:19: error: 'LOCK_EX' undeclared (first use in this function) > 247 | if (flock(*port, LOCK_EX | LOCK_NB) < 0) { > | ^~~~~~~ >linuxserio.c:247:29: error: 'LOCK_NB' undeclared (first use in this function) > 247 | if (flock(*port, LOCK_EX | LOCK_NB) < 0) { > | ^~~~~~~ >linuxserio.c:259:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] > 259 | if (!strcmp (baudrate,"4800")) { > | ^~~~~~ >make: *** [makefile:54: x64/linuxserio.o] Error 1 > * ERROR: app-misc/irtrans-irserver-6.09.04-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/irtrans-irserver-6.09.04-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/irtrans-irserver-6.09.04-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:irtrans-irserver-6.09.04-r1:20200318-215448.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work' > * S: '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 713374
:
622144
| 622146 |
622148
|
622150
|
622152
|
622154