Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 651162 Details for
Bug 734224
app-misc/irtrans-irserver fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 338.06 KB, created by
Agostino Sarubbo
on 2020-07-28 10:11:42 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-07-28 10:11:42 UTC
Size:
338.06 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_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/dbd75377b58e100be1eea296a7b683f4a8a6533c >@@@@@ END @@@@@ > >>>> 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 -j2 V=1 CXX=x86_64-pc-linux-gnu-clang++ CC=x86_64-pc-linux-gnu-clang 'CFLAGS=-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER' 'CXXFLAGS=-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 --static' irserver64 >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c fileio.c -o x64/fileio.o >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c linuxserio.c -o x64/linuxserio.o >fileio.c:68:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >linuxserio.c:47:10:fileio.c:70:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ > warning: the current #pragma pack alignment value is > modified in the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >fileio.c:75:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "flash.h" > ^ >./flash.h:95:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >fileio.c:linuxserio.c:50:10: warning: the current #pragma pack alignment value is > modified in the included file [-Wpragma-pack] >#include "lowlevel.h" > ^ >./lowlevel.h:165:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >137:5: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close (fd); > ^ >linuxserio.c:201:6: warning: implicit declaration of function 'flock' is invalid > in C99 [-Wimplicit-function-declaration] > if (flock(hCom, LOCK_EX | LOCK_NB) < 0) { > ^ >linuxserio.c:247:6: warning: implicit declaration of function 'flock' is invalid > in C99 [-Wimplicit-function-declaration] > if (flock(*port, LOCK_EX | LOCK_NB) < 0) { > ^ >fileio.c:356:26: warning: format specifies type 'int *' but the argument has > type 'byte *' (aka 'unsigned char *') [-Wformat] > sscanf(rp, "%d", &client->ird.ir_length); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %s >fileio.c:369:18: warning: passing 'byte [211]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strncpy (client->ird.data,data+i,CODE_LEN); > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:125:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >fileio.c:407:18: warning: passing 'byte [211]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp (ird->data,data+i)) { > ^~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >fileio.c:477:6: warning: implicit declaration of function 'truncate' is invalid > in C99 [-Wimplicit-function-declaration] > truncate (client->filename,pos); > ^ >fileio.c:537:11: warning: passing 'int8_t [211]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (sockinfo[client].learnstatus.received,"Link to: %s",link); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >fileio.c:567:10: warning: passing 'int8_t [211]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcpy (sockinfo[client].learnstatus.received,"RS232 String"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >fileio.c:588:62: warning: passing 'int8_t [211]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& LONG_CODE_FLAG) strcpy (sockinfo[client].learnstatus.received,"Long Co... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >fileio.c:1151:31: warning: incomplete format specifier [-Wformat] > sprintf (name,"%03d %03d %c%c%",x,y,pnt[20],pnt[21]); > ^ >fileio.c:1207:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > len = (int)strlen (command); > ^~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:1242:40: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > ...if (*command == 'K') strcat (name,command+9); > ^~~~~~~~~ >/usr/include/string.h:130:70: note: passing argument to parameter '__src' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >4 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c lowlevel.c -o x64/lowlevel.o >fileio.c:2273:24: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > nrem = DBFindRemote (cmd_pnt[i].data); > ^~~~~~~~~~~~~~~ >fileio.c:1783:24: note: passing argument to parameter 'remote' here >int DBFindRemote (char remote[]) > ^ >fileio.c:2280:25: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ncmd = DBFindCommand (cmd_pnt[i].data_cal,&nrem); > ^~~~~~~~~~~~~~~~~~~ >fileio.c:1737:25: note: passing argument to parameter 'command' here >int DBFindCommand (char command[],int *remote) > ^ >fileio.c:2458:15: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...strcpy (cmd_pnt[cmd_cnt].data,data + i); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >fileio.c:2459:16: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...strncpy (cmd_pnt[cmd_cnt].data_cal,data + j,20); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:125:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >fileio.c:2460:56: warning: passing 'byte [622]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...ConvertLcase (cmd_pnt[cmd_cnt].data,(int)strlen (cmd_pnt[cmd_cnt].data)); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:2460:21: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...ConvertLcase (cmd_pnt[cmd_cnt].data,(int)strlen (cmd_pnt[cmd_cnt].data)); > ^~~~~~~~~~~~~~~~~~~~~ >./fileio.h:51:26: note: passing argument to parameter 'pnt' here >void ConvertLcase (char *pnt,int len); > ^ >fileio.c:2461:60: warning: passing 'byte [622]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...(cmd_pnt[cmd_cnt].data_cal,(int)strlen (cmd_pnt[cmd_cnt].data_cal)); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:2461:21: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...ConvertLcase (cmd_pnt[cmd_cnt].data_cal,(int)strlen (cmd_pnt[cmd_cnt].da... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:51:26: note: passing argument to parameter 'pnt' here >void ConvertLcase (char *pnt,int len); > ^ >fileio.c:2513:15: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...strcpy (cmd_pnt[cmd_cnt].data,data + i + FindLineSection (data+i,"D")); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >fileio.c:2515:127: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...== IRDA_DATA) ConvertIRDARAW (cmd_pnt[cmd_cnt].data); > ^~~~~~~~~~~~~~~~~~~~~ >./fileio.h:54:27: note: passing argument to parameter 'data' here >void ConvertIRDARAW (char data[]); > ^ >fileio.c:2516:50: warning: passing 'byte [622]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...cmd_pnt[cmd_cnt].ir_length = (word)strlen (cmd_pnt[cmd_cnt].data); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:2517:54: warning: passing 'byte [622]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...= (word)strlen (cmd_pnt[cmd_cnt].data_cal); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:2519:34: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...if (j >= 0) CopyStateInfo (data + i + j,cmd_cnt); > ^~~~~~~~~~~~ >./fileio.h:77:27: note: passing argument to parameter 'state' here >void CopyStateInfo (byte *state,int cmd); > ^ >fileio.c:2640:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (pntcal,pnt); > ^~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >fileio.c:2640:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > strcpy (pntcal,pnt); > ^~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >fileio.c:2650:15: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > val = atoi(pnt+i) / 8; > ^~~~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >fileio.c:3181:12: warning: implicitly declaring library function 'tolower' with > type 'int (int)' [-Wimplicit-function-declaration] > pnt[i] = tolower (pnt[i]); > ^ >fileio.c:3181:12: note: include the header <ctype.h> or explicitly provide a > declaration for 'tolower' >lowlevel.c:70:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >lowlevel.c:73:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >lowlevel.c:77:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "flash.h" > ^ >./flash.h:95:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >lowlevel.c:452:12: warning: passing 'int8_t [60]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (bus->name,"%3d: %s [%s]",offset,IRDevices[offse... > ^~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:761:36: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (res = DBFindRemoteCommandEx (acc->remotes[i],acc->co... > ^~~~~~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >lowlevel.c:761:52: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res = DBFindRemoteCommandEx (acc->remotes[i],acc->commands[i],(IRDAT... > ^~~~~~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >lowlevel.c:761:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...res = DBFindRemoteCommandEx (acc->remotes[i],acc->commands[i],(IRDATA *)&ird,1,1)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:761:11: note: place parentheses around the assignment to silence this > warning > ...res = DBFindRemoteCommandEx (acc->remotes[i],acc->commands[i],(IRDATA *)&ird,1,1)) { > ^ > ( ) >lowlevel.c:761:11: note: use '==' to turn this assignment into an equality > comparison > if (res = DBFindRemoteCommandEx (acc->remotes[i],acc->co... > ^ > == >lowlevel.c:762:54: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) strcpy (err_remote,acc->remotes[i]); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >lowlevel.c:763:56: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) strcpy (err_command,acc->commands[i]); > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >lowlevel.c:836:154: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GET_ANALOG_INPUTS),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:837:119: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GET_ANALOG_INPUTS),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:934:157: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GET_ANALOG_INPUTS_EX),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:935:122: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GET_ANALOG_INPUTS_EX),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:1175:101: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...*)&sl,sizeof (sl),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:1254:99: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...*)&sl,sizeof (sl),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:1591:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = CheckLEDValid (ird.address,bus)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1591:11: note: place parentheses around the assignment to silence > this warning > if (res = CheckLEDValid (ird.address,bus)) return res; > ^ > ( ) >lowlevel.c:1591:11: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ird.address,bus)) return res; > ^ > == >lowlevel.c:1718:10: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = TestIRLength (&ird,(byte)bus)) return (res); > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1718:10: note: place parentheses around the assignment to silence > this warning > if (res = TestIRLength (&ird,(byte)bus)) return (res); > ^ > ( ) >lowlevel.c:1718:10: note: use '==' to turn this assignment into an equality > comparison > if (res = TestIRLength (&ird,(byte)bus)) return (res); > ^ > == >lowlevel.c:1751:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = TestIRLength (&ird,(byte)bus)) return (res); > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1751:11: note: place parentheses around the assignment to silence > this warning > if (res = TestIRLength (&ird,(byte)bus)) return (res); > ^ > ( ) >lowlevel.c:1751:11: note: use '==' to turn this assignment into an equality > comparison > if (res = TestIRLength (&ird,(byte)bus)) return (res); > ^ > == >lowlevel.c:1883:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = CheckLEDValid (ir_data->address,i)) re... > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1883:12: note: place parentheses around the assignment to silence > this warning > if (res = CheckLEDValid (ir_data->address,i)) re... > ^ > ( ) >lowlevel.c:1883:12: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->address,i)) re... > ^ > == >lowlevel.c:1890:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1890:12: note: place parentheses around the assignment to silence > this warning > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ^ > ( ) >lowlevel.c:1890:12: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->address,bus)) ... > ^ > == >lowlevel.c:1924:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = CheckLEDValid (ir_data->address,i)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1924:11: note: place parentheses around the assignment to silence > this warning > if (res = CheckLEDValid (ir_data->address,i)) return res; > ^ > ( ) >lowlevel.c:1924:11: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->address,i)) return res; > ^ > == >lowlevel.c:1931:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = CheckLEDValid (ir_data->address,bus)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1931:11: note: place parentheses around the assignment to silence > this warning > if (res = CheckLEDValid (ir_data->address,bus)) return res; > ^ > ( ) >lowlevel.c:1931:11: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->address,bus)) return res; > ^ > == >lowlevel.c:1942:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = CheckLEDValid (ir_rep->address,i)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1942:12: note: place parentheses around the assignment to silence > this warning > if (res = CheckLEDValid (ir_rep->address,i)) return res; > ^ > ( ) >lowlevel.c:1942:12: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_rep->address,i)) return res; > ^ > == >lowlevel.c:1949:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1949:12: note: place parentheses around the assignment to silence > this warning > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ^ > ( ) >lowlevel.c:1949:12: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->address,bus)) ... > ^ > == >lowlevel.c:1963:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = CheckLEDValid (ir_data->address,i)) re... > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1963:12: note: place parentheses around the assignment to silence > this warning > if (res = CheckLEDValid (ir_data->address,i)) re... > ^ > ( ) >lowlevel.c:1963:12: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->address,i)) re... > ^ > == >lowlevel.c:1967:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1967:12: note: place parentheses around the assignment to silence > this warning > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ^ > ( ) >lowlevel.c:1967:12: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->address,bus)) ... > ^ > == >lowlevel.c:1982:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...if (res = CheckLEDValid (ir_data->address,i)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1982:13: note: place parentheses around the assignment to silence > this warning > ...if (res = CheckLEDValid (ir_data->address,i)) return res; > ^ > ( ) >lowlevel.c:1982:13: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->addres... > ^ > == >lowlevel.c:1989:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:1989:13: note: place parentheses around the assignment to silence > this warning > ...if (res = CheckLEDValid (ir_data->address,bus)) return res; > ^ > ( ) >lowlevel.c:1989:13: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckLEDValid (ir_data->addres... > ^ > == >lowlevel.c:2177:64: warning: passing 'byte [243]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...len = sizeof (IRRAW) - CODE_LENRAW + (byte)strlen (ir_data -> data) + 1; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >lowlevel.c:2225:115: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(IRDATA),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:2226:99: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(IRDATA),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:2228:13: warning: passing 'byte [265]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (buf,"Learn Error: %d - %d\n",res,buf[1]); > ^~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2229:15: warning: passing 'byte [265]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (buf,LOG_ERROR); > ^~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2426:28: warning: passing 'char [10]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRStringEx (dev,st,1,500); > ^~ >./lowlevel.h:233:43: note: passing argument to parameter 'pnt' here >int ReadIRStringEx (DEVICEINFO *dev,byte pnt[],int len,word ... > ^ >lowlevel.c:2680:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"IR Length: %d\n",ird18->ir_length); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2681:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2683:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"RCV: %s [%d-%d] FRQ: %d MODE: %d\n",ird18-... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2684:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2686:13: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Repeat Offset: %d\n",ird18->data[3]); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2687:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2689:41: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (ird18->mode & START_BIT) sprintf (ln," S: %5d,%5... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2690:17: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ln," 0: %5d,%5d - %5d\n",ird18->pulse_... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2691:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2693:42: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (ird18->mode & START_BIT) sprintf (ln," %d: %5d,%5d - %5d\n",i-1,... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2694:18: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ln," %d: %5d,%5d - %5d\n",i,ir... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2695:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2702:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Pulse 200 Mode [%d]\n",irs->single_len * 8); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2703:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2706:13: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln," %d: %5d\n",i,irs->multi_len[i]*8); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2707:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2711:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Data: %s\n",irs->data); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2712:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2714:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"%d - %d\n\n",irs->ir_length,irs->time_cnt); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2715:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2728:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"MODE : %d\n",ir_data -> mode & 0xf0); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2729:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2730:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Repeat : %d\n",ir_data -> mode & 0xf); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2731:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2732:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"FREQ : %4d\n",frq); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2733:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2734:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"LEN : %4d\n",ir_data->ir_length); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2735:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2736:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"ADR : %d\n",ir_data -> address); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2737:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2756:13: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"%5d %5d %5d\n",pulse * 8,pause ... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2757:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2762:20: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (i) sprintf (ln,"%2d %5d %4d %d\n",i,pdata[... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2763:18: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ln,"%2d %5d %4d\n",i,pdata[i] * 8... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2764:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2769:13: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Long Code\n"); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2770:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2772:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"IR Length: %d\n",ird->ir_length); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2773:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2775:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"RCV: %s [%d-%d] FRQ: %d MODE: %d\n",ird->d... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2776:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2778:13: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Repeat Offset: %d\n",ird->data[3]); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2779:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2781:62: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...((ird->mode & START_BIT) && ird->mode != RCMM) sprintf (ln," S: %5d,... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2782:17: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ln," 0: %5d,%5d - %5d\n",ird->pulse_le... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2783:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2785:63: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...((ird->mode & START_BIT) && ird->mode != RCMM) sprintf (ln," %d: %5d... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2786:18: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ln," %d: %5d,%5d - %5d\n",i,ir... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2787:15: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2800:12: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Framelength: %d us / %d ms\n",framelen,fram... > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2801:14: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:2805:11: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ln,"Total Code Len: %d ms\n",framelen); > ^~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2806:13: warning: passing 'byte [255]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:3197:18: warning: implicit declaration of function 'unlink' is > invalid in C99 [-Wimplicit-function-declaration] > if (pidfile[0]) unlink (pidfile); > ^ >lowlevel.c:3600:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...res = connect (irtlan_outbound,(struct sockaddr *)&target,sizeof (struct sockaddr_in)) < 0... > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lowlevel.c:3600:12: note: place parentheses around the assignment to silence > this warning > ...res = connect (irtlan_outbound,(struct sockaddr *)&target,sizeof (struct sockaddr_in)) < 0)... > ^ > ( ) >lowlevel.c:3600:12: note: use '==' to turn this assignment into an equality > comparison > if (res = connect (irtlan_outbound,(struct socka... > ^ > == >lowlevel.c:3806:8: warning: implicit declaration of function 'OpenSerialPortEx' > is invalid in C99 [-Wimplicit-function-declaration] > res = OpenSerialPortEx (devnode,&(dev->io.comport),0); > ^ >lowlevel.c:3818:3: warning: implicit declaration of function 'close' is invalid > in C99 [-Wimplicit-function-declaration] > close (dev->io.comport); > ^ >lowlevel.c:3916:132: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(SYS_PARAMETER_GET) + 1,MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:3917:116: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(SYS_PARAMETER_GET) + 1,MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:3992:124: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(WIFI_MODE) + 1,MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:3993:108: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(WIFI_MODE) + 1,MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:4069:128: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(LAN_PARAMETER) + 1,MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:4070:112: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(LAN_PARAMETER) + 1,MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:4120:32: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > strncpy (buf->WLAN_SSID[cnt],data + i,32); > ^~~~~~~~ >/usr/include/string.h:126:32: note: passing argument to parameter '__src' here > const char *__restrict __src, size_t __n) > ^ >lowlevel.c:4121:16: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > i += strlen (data + i); > ^~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >lowlevel.c:4236:29: warning: passing 'char [20]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRStringEx (dev,dev->version,8,500); > ^~~~~~~~~~~~ >./lowlevel.h:233:43: note: passing argument to parameter 'pnt' here >int ReadIRStringEx (DEVICEINFO *dev,byte pnt[],int len,word ... > ^ >lowlevel.c:4239:30: warning: passing 'char [20]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRStringEx (dev,dev->version,8,500); > ^~~~~~~~~~~~ >./lowlevel.h:233:43: note: passing argument to parameter 'pnt' here >int ReadIRStringEx (DEVICEINFO *dev,byte pnt[],int len,word ... > ^ >lowlevel.c:4246:30: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRStringEx (dev,data,68,500); > ^~~~ >./lowlevel.h:233:43: note: passing argument to parameter 'pnt' here >int ReadIRStringEx (DEVICEINFO *dev,byte pnt[],int len,word ... > ^ >lowlevel.c:4250:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities); > ^~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4252:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities2); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4254:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities3); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4256:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities4); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4259:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_serno); > ^~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4275:30: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRStringEx (dev,data,24,500); > ^~~~ >./lowlevel.h:233:43: note: passing argument to parameter 'pnt' here >int ReadIRStringEx (DEVICEINFO *dev,byte pnt[],int len,word ... > ^ >lowlevel.c:4279:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities); > ^~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4281:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities2); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4283:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities3); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4285:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities4); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4288:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_serno); > ^~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4297:30: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRStringEx (dev,data,8,500); > ^~~~ >./lowlevel.h:233:43: note: passing argument to parameter 'pnt' here >int ReadIRStringEx (DEVICEINFO *dev,byte pnt[],int len,word ... > ^ >lowlevel.c:4302:15: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities); > ^~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4304:15: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_serno); > ^~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4308:15: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities); > ^~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4310:15: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_serno); > ^~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4330:116: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GETVERSION_LAN_EX3),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:4333:115: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GETVERSION_LAN_EX3),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:4345:13: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_serno); > ^~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4346:13: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities); > ^~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4367:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities2); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4368:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities3); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4369:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&dev->fw_capabilities4); > ^~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >lowlevel.c:4634:13: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (sbuffer,"IRTRans Send status: %d - %d ... > ^~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:4635:15: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (sbuffer,LOG_DEBUG); > ^~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:4680:11: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (sbuffer,"IRTRans Send Done: %d\n",count); > ^~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:4681:13: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (sbuffer,LOG_DEBUG); > ^~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >lowlevel.c:4736:15: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (((IRDATA_18 *)ir)->pulse_len + i); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >lowlevel.c:4737:15: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (((IRDATA_18 *)ir)->pause_len + i); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >lowlevel.c:4741:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&(((IRDATA_SINGLE *)ir)->single_len)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >lowlevel.c:4742:48: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > ...< TIME_LEN_SINGLE;i++) swap_word (((IRDATA_SINGLE *)ir)->multi_len + i); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >lowlevel.c:4747:15: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (ir->pause_len + i); > ^~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >lowlevel.c:4748:15: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (ir->pulse_len + i); > ^~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >lowlevel.c:4761:21: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > force_swap_word (((IRDATA_18 *)ir)->pulse_len + i); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:130:29: note: passing argument to parameter 'pnt' here >void force_swap_word (word *pnt); > ^ >lowlevel.c:4762:21: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > force_swap_word (((IRDATA_18 *)ir)->pause_len + i); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:130:29: note: passing argument to parameter 'pnt' here >void force_swap_word (word *pnt); > ^ >lowlevel.c:4766:20: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > force_swap_word (&(((IRDATA_SINGLE *)ir)->single_len)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:130:29: note: passing argument to parameter 'pnt' here >void force_swap_word (word *pnt); > ^ >lowlevel.c:4767:54: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > ...force_swap_word (((IRDATA_SINGLE *)ir)->multi_len + i); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:130:29: note: passing argument to parameter 'pnt' here >void force_swap_word (word *pnt); > ^ >lowlevel.c:4772:21: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > force_swap_word (ir->pause_len + i); > ^~~~~~~~~~~~~~~~~ >./lowlevel.h:130:29: note: passing argument to parameter 'pnt' here >void force_swap_word (word *pnt); > ^ >lowlevel.c:4773:21: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > force_swap_word (ir->pulse_len + i); > ^~~~~~~~~~~~~~~~~ >./lowlevel.h:130:29: note: passing argument to parameter 'pnt' here >void force_swap_word (word *pnt); > ^ >lowlevel.c:4850:9: warning: implicit declaration of function > 'WriteSerialStringEx' is invalid in C99 [-Wimplicit-function-declaration] > return WriteSerialStringEx (dev,pnt,len); > ^ >lowlevel.c:4866:10: warning: implicit declaration of function > 'ReadSerialStringEx' is invalid in C99 [-Wimplicit-function-declaration] > return (ReadSerialStringEx (dev,pnt,len,timeout)); > ^ >lowlevel.c:4880:10: warning: implicit declaration of function > 'ReadSerialStringEx' is invalid in C99 [-Wimplicit-function-declaration] > return (ReadSerialStringEx (dev,pnt,len,timeout)); > ^ >lowlevel.c:4893:10: warning: implicit declaration of function > 'ReadSerialStringEx' is invalid in C99 [-Wimplicit-function-declaration] > return (ReadSerialStringEx (dev,pnt,len,timeout)); > ^ >lowlevel.c:5310:111: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GETVERSION_LAN),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:5325:23: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (version,8,500,usbmode); > ^~~~~~~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5329:24: warning: passing 'char [8]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (data,8,500,usbmode); > ^~~~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5334:15: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap); > ^~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5340:15: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap); > ^~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5416:114: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(GETVERSION_LAN_EX),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lowlevel.c:5449:24: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (version,8,500,usbmode); > ^~~~~~~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5455:24: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (data,68,500,usbmode); > ^~~~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5460:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap); > ^~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5462:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap2); > ^~~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5464:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap3); > ^~~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5466:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap4); > ^~~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5479:24: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (data,20,500,usbmode); > ^~~~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5482:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap); > ^~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5484:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap2); > ^~~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5486:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap3); > ^~~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5488:14: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap4); > ^~~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5497:24: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (data,8,500,usbmode); > ^~~~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5502:15: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap); > ^~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5508:15: warning: passing 'unsigned int *' to parameter of type > 'int32_t *' (aka 'int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > swap_int (cap); > ^~~ >lowlevel.c:4800:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt) > ^ >lowlevel.c:5539:23: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (st,1,500,usb_mode); > ^~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5578:23: warning: passing 'char [100]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = ReadIRString (st,1,500,usb_mode); > ^~ >./lowlevel.h:121:25: note: passing argument to parameter 'pnt' here >int ReadIRString (byte pnt[],int len,word timeout,byte usb_mode); > ^ >lowlevel.c:5604:2: warning: implicit declaration of function 'WriteSerialString' > is invalid in C99 [-Wimplicit-function-declaration] > WriteSerialString (pnt,len); > ^ >lowlevel.c:5616:10: warning: implicit declaration of function 'ReadSerialString' > is invalid in C99 [-Wimplicit-function-declaration] > return (ReadSerialString (pnt,len,timeout)); > ^ >31 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c server.c -o x64/server.o >server.c:89:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >server.c:90:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >server.c:91:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "network.h" > ^ >./network.h:178:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(1) > ^ >server.c:94:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "lowlevel.h" > ^ >./lowlevel.h:165:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >server.c:98:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "flash.h" > ^ >./flash.h:95:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >server.c:879:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >main (int argc,char *argv[]) >^ >server.c:956:20: warning: implicit declaration of function 'chdir' is invalid in > C99 [-Wimplicit-function-declaration] > if (serverdir[0]) chdir (serverdir); > ^ >server.c:1485:7: warning: implicit declaration of function 'fork' is invalid in > C99 [-Wimplicit-function-declaration] > if (fork () == 0) { > ^ >server.c:1490:4: warning: implicit declaration of function 'setsid' is invalid > in C99 [-Wimplicit-function-declaration] > setsid (); > ^ >server.c:1493:24: warning: implicit declaration of function 'getpid' is invalid > in C99 [-Wimplicit-function-declaration] > fprintf (fp,"%d\n",getpid ()); > ^ >server.c:1548:23: warning: implicit declaration of function 'getpid' is invalid > in C99 [-Wimplicit-function-declaration] > fprintf (pf,"%d\n",_getpid ()); > ^ >server.c:83:19: note: expanded from macro '_getpid' >#define _getpid getpid > ^ >server.c:1604:12: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (rdcom,"IRTrans Webserver started on Port %d.\n"... > ^~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:1605:27: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (webport) log_print (rdcom,LOG_FATAL); > ^~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:1845:11: warning: implicit declaration of function 'build_select_table' > is invalid in C99 [-Wimplicit-function-declaration] > maxfd = build_select_table (&events); > ^ >server.c:1856:12: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (rdcom,"Select Return: %x\n",wait); > ^~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:1857:14: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (rdcom,LOG_DEBUG); > ^~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:1861:13: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (rdcom,"Select Error: %d\n",errno); > ^~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:1862:15: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (rdcom,LOG_FATAL); > ^~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:1879:11: warning: implicit declaration of function 'get_selected_fd' is > invalid in C99 [-Wimplicit-function-declaration] > evnt = get_selected_fd (&events,&sockfd,&ionum); > ^ >server.c:1886:8: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close (IRDevices... > ^ >server.c:1889:15: warning: implicit declaration of function 'OpenSerialPortEx' > is invalid in C99 [-Wimplicit-function-declaration] > ...res = OpenSerialPortEx (IRDevices[ionum].device_node,&(IRDevices[ionum].... > ^ >server.c:1890:18: warning: implicit declaration of function 'sleep' is invalid > in C99 [-Wimplicit-function-declaration] > ...if (res) sleep (10); > ^ >server.c:1913:90: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >server.c:1931:15: warning: passing 'byte [1024]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (rdcom,err,inet_ntoa (se... > ^~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:2000:70: warning: passing 'char [256]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...> 2) ExecuteReceivedCommand (IRDevices[i].io.receive_buffer[j],IRDevices... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server.c:125:35: note: passing argument to parameter 'command' here >int ExecuteReceivedCommand (byte command[],int len,int bus); > ^ >server.c:2253:49: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > call = accept (fd,(struct sockaddr *)&cli_addr,&clilen); > ^~~~~~~ >/usr/include/sys/socket.h:233:28: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >server.c:2272:5: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > closesocket (call); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:2286:5: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > closesocket (call); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:2302:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&clientid); > ^~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >server.c:2314:8: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > closesocket (soc... > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:2335:13: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcpy (sockinfo[res].ip,inet_ntoa (cli_... > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:2373:13: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcpy (sockinfo[res].ip,inet_ntoa (cli_... > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:2389:4: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > closesocket (call); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:2522:20: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...GetNumericCode (cmd_pnt[rem_pnt[i].command_start + j].data,num,remote,cm... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:91:27: note: passing argument to parameter 'command' here >void GetNumericCode (char command[],char numeric[],char rem[],char com[]); > ^ >server.c:2555:18: warning: passing 'byte [622]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > GetNumericCode (cmd_pnt[j].data,num,remote,command); > ^~~~~~~~~~~~~~~ >./fileio.h:91:27: note: passing argument to parameter 'command' here >void GetNumericCode (char command[],char numeric[],char rem[],char com[]); > ^ >server.c:2641:27: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > sprintf (msg+2,"%05d",strlen (msg)); > ~~~~ ^~~~~~~~~~~~ > %05lu >server.c:2703:20: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > GetNumericCode (command + 1,num,rem,name); > ^~~~~~~~~~~ >./fileio.h:91:27: note: passing argument to parameter 'command' here >void GetNumericCode (char command[],char numeric[],char rem[],char com[]); > ^ >server.c:2719:61: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > ...if (command[1] >= '0') memcpy (nr.data,command+1,strlen (command+1)); > ^~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >server.c:2741:30: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...sprintf (msg+2,"%05d",strlen (msg)); > ~~~~ ^~~~~~~~~~~~ > %05lu >server.c:2761:5: warning: implicit declaration of function 'PostWindowsMessage' > is invalid in C99 [-Wimplicit-function-declaration] > PostWindowsMessage (rem_num,com_num,name); > ^ >server.c:2781:38: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > memcpy (nr.data,command+1,strlen (command+1)); > ^~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >server.c:2798:29: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...sprintf (msg+2,"%05d",strlen (msg)); > ~~~~ ^~~~~~~~~~~~ > %05lu >server.c:2808:70: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(msg,"[%d.%d]: LEN: %d %s\n",bus,(*command & 15),strlen(command+1),comm... > ^~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >server.c:2808:63: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...(msg,"[%d.%d]: LEN: %d %s\n",bus,(*command & 15),strlen(command+1),comm... > ~~ ^~~~~~~~~~~~~~~~~ > %lu >server.c:2884:3: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > closesocket (sockinfo[client].fd); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:2971:8: warning: implicit declaration of function 'chdir' is invalid in > C99 [-Wimplicit-function-declaration] > if (chdir (irdb_path)) { > ^ >server.c:2978:8: warning: implicit declaration of function 'chdir' is invalid in > C99 [-Wimplicit-function-declaration] > if (chdir (rdir)) { > ^ >server.c:2992:13: warning: implicit declaration of function 'chdir' is invalid > in C99 [-Wimplicit-function-declaration] > else if (chdir ("./remotes") > ^ >server.c:3038:9: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close (fd); > ^ >server.c:3380:42: warning: passing 'int8_t [80]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > AdvancedLCD (LCD_DATA | LCD_DEFINECHAR,com->remote,com->... > ^~~~~~~~~~~ >./lowlevel.h:69:34: note: passing argument to parameter 'data' here >int AdvancedLCD (byte mode,byte data[],int len); > ^ >server.c:3467:15: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (strcmp (com->remote,"XXXshutdownXXX")) { > ^~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:3501:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3502:44: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,db->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3503:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,db->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3513:24: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = FileTransData (com->remote,1,(byte)com->adress); > ^~~~~~~~~~~ >./server.h:40:26: note: passing argument to parameter 'nm' here >int FileTransData (char nm[],byte dbtype,byte filemode); > ^ >server.c:3517:24: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = FileTransData (com->remote,2,(byte)com->adress); > ^~~~~~~~~~~ >./server.h:40:26: note: passing argument to parameter 'nm' here >int FileTransData (char nm[],byte dbtype,byte filemode); > ^ >server.c:3524:24: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = LoadIRDB (&ird,com->remote,0); > ^~~~~~~~~~~ >./server.h:42:36: note: passing argument to parameter 'nm' here >int LoadIRDB (IRDBBUFFER *db,char nm[],word offset); > ^ >server.c:3531:38: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = LoadIRDB ((IRDBBUFFER *)stat,com->remote,(word)com... > ^~~~~~~~~~~ >./server.h:42:36: note: passing argument to parameter 'nm' here >int LoadIRDB (IRDBBUFFER *db,char nm[],word offset); > ^ >server.c:3535:50: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = LoadTranslation ((TRANSLATEBUFFER *)stat,com->remote,(word)com->ad... > ^~~~~~~~~~~ >./server.h:41:48: note: passing argument to parameter 'nm' here >int LoadTranslation (TRANSLATEBUFFER *tb,char nm[],word offset); > ^ >server.c:3543:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3544:44: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,err_remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3545:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,err_command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3600:15: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3601:43: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,err_remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3602:44: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,err_command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3650:32: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommandEx (com->remote,com->command,&i... > ^~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3650:44: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3652:58: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (mode_flag & SEND_FORWARDALL) send_forward (client,com->remote,com->c... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3652:70: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARDALL) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3653:23: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err_remote,com->remote); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3654:24: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err_command,com->command); > ^~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3657:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3658:44: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,com->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3659:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,com->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3660:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:3663:90: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...|| (mode_flag & SEND_FORWARD)) send_forward (client,com->remote,com->com... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3663:102: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARD)) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3670:13: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcat (com->command,"@"); > ^~~~~~~~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3671:34: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3671:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3673:27: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...com->command[strlen (com->command) - 1] = 0; > ^~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >server.c:3674:33: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommand (com->remote,com->command,&cmd_num,NULL); > ^~~~~~~~~~~ >./fileio.h:84:32: note: passing argument to parameter 'remote' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:3674:45: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommand (com->remote,com->command,&cmd_num,NULL); > ^~~~~~~~~~~~ >./fileio.h:84:46: note: passing argument to parameter 'command' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:3700:27: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...com->command[strlen (com->command) - 1] = 0; > ^~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >server.c:3704:34: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (resend_flag == 1) strcat (com->command,"@"); > ^~~~~~~~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3705:33: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommandEx (com->remote,com->co... > ^~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3705:45: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3726:47: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (resend_flag == 1) com->command[strlen (com->command) - 1] = 0; > ^~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >server.c:3730:41: warning: data argument not used by format string > [-Wformat-extra-args] > sprintf (st,"Delete %s\n",com->remote,com->command); > ~~~~~~~~~~~~~ ^ >server.c:3732:14: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (st,com->remote); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3744:9: warning: implicit declaration of function 'unlink' is invalid > in C99 [-Wimplicit-function-declaration] > res = unlink (st); > ^ >server.c:3747:36: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > PutNetworkStatus (ERR_OPENASCII,com->remote,stat); > ^~~~~~~~~~~ >server.c:119:37: note: passing argument to parameter 'msg' here >void PutNetworkStatus (int res,char msg[],STATUSBUFFER *stat); > ^ >server.c:3756:14: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (st,com->remote); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3761:36: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > PutNetworkStatus (ERR_OPENASCII,com->remote,stat); > ^~~~~~~~~~~ >server.c:119:37: note: passing argument to parameter 'msg' here >void PutNetworkStatus (int res,char msg[],STATUSBUFFER *stat); > ^ >server.c:3764:29: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (!ASCIIFindCommand (fp,com->command,NULL)) { > ^~~~~~~~~~~~ >./fileio.h:73:38: note: passing argument to parameter 'name' here >int ASCIIFindCommand (FILE *fp,char name[],NETWORKCLIENT *client); > ^ >server.c:3767:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3768:13: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ns->message,err,com->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3782:3: warning: implicit declaration of function 'truncate' is invalid > in C99 [-Wimplicit-function-declaration] > truncate (st,res); > ^ >server.c:3833:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3834:44: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,com->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3835:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,com->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3837:48: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (com->protocol_version >= 210) sprintf (ns->message,err,(com->adress ... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3838:19: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ns->message,err,(com->adre... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3840:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:3880:29: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteMacro (macro->remote,macro->co... > ^~~~~~~~~~~~~ >./fileio.h:85:30: note: passing argument to parameter 'remote' here >int DBFindRemoteMacro (char remote[],char command[],int cmd_... > ^ >server.c:3880:43: warning: passing 'int8_t [416]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteMacro (macro->remote,macro->command,cmd_array,pause_ar... > ^~~~~~~~~~~~~~ >./fileio.h:85:44: note: passing argument to parameter 'command' here >int DBFindRemoteMacro (char remote[],char command[],int cmd_... > ^ >server.c:3888:17: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3889:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,macro->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3890:46: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,macro->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3892:51: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (macro->protocol_version >= 210) sprintf (ns->message,err,(macro->adr... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3893:20: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ns->message,err,(m... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3895:16: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:3908:32: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommandEx (com->remote,com->command,&ird,1,1); > ^~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3908:44: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommandEx (com->remote,com->command,&ird,1,1); > ^~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:3912:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3913:44: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,com->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3914:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,com->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3915:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:3970:18: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strncmp (com->remote,"***relais_",10)) { > ^~~~~~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >server.c:3978:31: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommand (com->remote,com->comm... > ^~~~~~~~~~~ >./fileio.h:84:32: note: passing argument to parameter 'remote' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:3978:43: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommand (com->remote,com->command,&cmd_num,NULL); > ^~~~~~~~~~~~ >./fileio.h:84:46: note: passing argument to parameter 'command' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:3980:91: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...|| (mode_flag & SEND_FORWARD)) send_forward (client,com->remote,com->com... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3980:103: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARD)) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3984:59: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (mode_flag & SEND_FORWARDALL) send_forward (client,com->remote,com->c... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3984:71: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARDALL) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:3987:17: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:3988:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,com->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3989:46: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,com->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3991:49: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (com->protocol_version >= 210) sprintf (ns->message,err,(com->adress ... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3992:20: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ns->message,err,(c... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:3994:16: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4009:30: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommand (com->remote,com->command,&cmd... > ^~~~~~~~~~~ >./fileio.h:84:32: note: passing argument to parameter 'remote' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4009:42: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommand (com->remote,com->command,&cmd... > ^~~~~~~~~~~~ >./fileio.h:84:46: note: passing argument to parameter 'command' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4014:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4015:44: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,com->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:4016:45: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,com->command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:4017:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4021:30: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommand (com->remote,com->command,&cmd... > ^~~~~~~~~~~ >./fileio.h:84:32: note: passing argument to parameter 'remote' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4021:42: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommand (com->remote,com->command,&cmd... > ^~~~~~~~~~~~ >./fileio.h:84:46: note: passing argument to parameter 'command' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4030:30: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommand (com->remote,com->command,&cmd... > ^~~~~~~~~~~ >./fileio.h:84:32: note: passing argument to parameter 'remote' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4030:42: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommand (com->remote,com->command,&cmd... > ^~~~~~~~~~~~ >./fileio.h:84:46: note: passing argument to parameter 'command' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4048:16: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp (com->remote,"get") || !strcmp (com->remote,... > ^~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4048:47: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (!strcmp (com->remote,"get") || !strcmp (com->remote,"Get") || !strcm... > ^~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4048:78: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...|| !strcmp (com->remote,"Get") || !strcmp (com->remote,"GET")) { > ^~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4051:16: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp (com->remote,"reset") || !strcmp (com->remot... > ^~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4051:49: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (!strcmp (com->remote,"reset") || !strcmp (com->remote,"Reset") || !s... > ^~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4051:82: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...|| !strcmp (com->remote,"Reset") || !strcmp (com->remote,"RESET")) { > ^~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4057:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4058:13: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ns->message,err,com->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:4059:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4077:28: warning: passing 'byte [243]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > compress_lcdbuffer (lcd,irw->data,display_bus); > ^~~~~~~~~ >server.c:138:48: note: passing argument to parameter 'buf' here >void compress_lcdbuffer (LCDCOMMAND *lcd,char *buf,int bus); > ^ >server.c:4153:12: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcat (com->command,"@"); > ^~~~~~~~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4154:33: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommandEx (com->remote,com->co... > ^~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:4154:45: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:4156:26: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > com->command[strlen (com->command) - 1] = 0; > ^~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >server.c:4157:34: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:4157:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:4160:33: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommand (com->remote,com->command,&cmd_num,NULL); > ^~~~~~~~~~~ >./fileio.h:84:32: note: passing argument to parameter 'remote' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4160:45: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommand (com->remote,com->command,&cmd_num,NULL); > ^~~~~~~~~~~~ >./fileio.h:84:46: note: passing argument to parameter 'command' here >int DBFindRemoteCommand (char remote[],char command[],int *c... > ^ >server.c:4166:60: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (mode_flag & SEND_FORWARDALL) send_forward (client,com->remote,com->c... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4166:72: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARDALL) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4170:92: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...|| (mode_flag & SEND_FORWARD)) send_forward (client,com->remote,com->com... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4170:104: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARD)) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4189:91: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...|| (mode_flag & SEND_FORWARD)) send_forward (client,com->remote,com->com... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4189:103: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARD)) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4196:33: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (resend_flag == 1) strcat (com->command,"@"); > ^~~~~~~~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4197:32: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = DBFindRemoteCommandEx (com->remote,com->command,&i... > ^~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:4197:44: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = DBFindRemoteCommandEx (com->remote,com->command,&ird,cal,IRDevices... > ^~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >server.c:4199:58: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (mode_flag & SEND_FORWARDALL) send_forward (client,com->remote,com->c... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4199:70: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARDALL) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4203:90: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...|| (mode_flag & SEND_FORWARD)) send_forward (client,com->remote,com->com... > ^~~~~~~~~~~ >server.c:2617:36: note: passing argument to parameter 'rem' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4203:102: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& SEND_FORWARD)) send_forward (client,com->remote,com->command); > ^~~~~~~~~~~~ >server.c:2617:47: note: passing argument to parameter 'name' here >void send_forward (int client,char rem[],char name[]) > ^ >server.c:4225:42: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sockinfo[client].fp = ASCIIOpenRemote (com->remote,&sock... > ^~~~~~~~~~~ >./fileio.h:62:29: note: passing argument to parameter 'name' here >FILE *ASCIIOpenRemote (char name[],NETWORKCLIENT *client); > ^ >server.c:4227:68: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...== NULL) PutNetworkStatus (ERR_OPENASCII,com->remote,stat); > ^~~~~~~~~~~ >server.c:119:37: note: passing argument to parameter 'msg' here >void PutNetworkStatus (int res,char msg[],STATUSBUFFER *stat); > ^ >server.c:4259:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (ASCIIFindCommand (sockinfo[client].fp,com->command,sockinfo + client... > ^~~~~~~~~~~~ >./fileio.h:73:38: note: passing argument to parameter 'name' here >int ASCIIFindCommand (FILE *fp,char name[],NETWORKCLIENT *client); > ^ >server.c:4260:70: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,(IRRAW *)&sockinfo[client].ird,com->command); > ^~~~~~~~~~~~ >./fileio.h:71:46: note: passing argument to parameter 'name' here >int ASCIIStoreRAW (FILE *fp,IRRAW *ird,char name[]); > ^ >server.c:4279:12: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcat (com->command,"@"); > ^~~~~~~~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4280:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (ASCIIFindCommand (sockinfo[client].fp,com->command,sockinfo + client... > ^~~~~~~~~~~~ >./fileio.h:73:38: note: passing argument to parameter 'name' here >int ASCIIFindCommand (FILE *fp,char name[],NETWORKCLIENT *client); > ^ >server.c:4281:70: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,(IRRAW *)&sockinfo[client].ird,com->command); > ^~~~~~~~~~~~ >./fileio.h:71:46: note: passing argument to parameter 'name' here >int ASCIIStoreRAW (FILE *fp,IRRAW *ird,char name[]); > ^ >server.c:4304:59: warning: passing 'byte [255]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...((byte *)(&sockinfo[client].ird))[j++] = (byte)strtol (dat,0,16); > ^~~ >/usr/include/stdlib.h:176:48: note: passing argument to parameter '__nptr' here >extern long int strtol (const char *__restrict __nptr, > ^ >server.c:4343:9: warning: implicit declaration of function 'CheckIRCode' is > invalid in C99 [-Wimplicit-function-declaration] > res = CheckIRCode (&sockinfo[client].ird); > ^ >server.c:4349:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (ASCIIFindCommand (sockinfo[client].fp,com->command,sockinfo + client... > ^~~~~~~~~~~~ >./fileio.h:73:38: note: passing argument to parameter 'name' here >int ASCIIFindCommand (FILE *fp,char name[],NETWORKCLIENT *client); > ^ >server.c:4350:65: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,&sockinfo[client].ird,com->command,sockinfo[client]... > ^~~~~~~~~~~~ >./fileio.h:64:51: note: passing argument to parameter 'name' here >int ASCIIStoreCommand (FILE *fp,IRDATA *ird,char name[],int ... > ^ >server.c:4362:32: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = ASCIIStoreLink (client,ccfl->command,ccfl->ccf_data); > ^~~~~~~~~~~~~ >./fileio.h:67:38: note: passing argument to parameter 'name' here >int ASCIIStoreLink (int client,char name[],char link[]); > ^ >server.c:4362:46: warning: passing 'int8_t [5400]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = ASCIIStoreLink (client,ccfl->command,ccfl->ccf_data); > ^~~~~~~~~~~~~~ >./fileio.h:67:50: note: passing argument to parameter 'link' here >int ASCIIStoreLink (int client,char name[],char link[]); > ^ >server.c:4372:33: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = ASCIIStoreRS232 (client,ccfl->command,ccfl->ccf_data); > ^~~~~~~~~~~~~ >./fileio.h:66:39: note: passing argument to parameter 'name' here >int ASCIIStoreRS232 (int client,char name[],char rs232[]); > ^ >server.c:4372:47: warning: passing 'int8_t [5400]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = ASCIIStoreRS232 (client,ccfl->command,ccfl->ccf_data); > ^~~~~~~~~~~~~~ >./fileio.h:66:51: note: passing argument to parameter 'rs232' here >int ASCIIStoreRS232 (int client,char name[],char rs232[]); > ^ >server.c:4382:31: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = ASCIIStoreCCF (client,ccfl->command,ccfl->ccf_data); > ^~~~~~~~~~~~~ >./fileio.h:65:37: note: passing argument to parameter 'name' here >int ASCIIStoreCCF (int client,char name[],char ccf[]); > ^ >server.c:4382:45: warning: passing 'int8_t [5400]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = ASCIIStoreCCF (client,ccfl->command,ccfl->ccf_data); > ^~~~~~~~~~~~~~ >./fileio.h:65:49: note: passing argument to parameter 'ccf' here >int ASCIIStoreCCF (int client,char name[],char ccf[]); > ^ >server.c:4397:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (ASCIIFindCommand (sockinfo[client].fp,com->command,sockinfo + client... > ^~~~~~~~~~~~ >./fileio.h:73:38: note: passing argument to parameter 'name' here >int ASCIIFindCommand (FILE *fp,char name[],NETWORKCLIENT *client); > ^ >server.c:4398:71: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,&sockinfo[client].ird,com->command,sockinfo[client]... > ^~~~~~~~~~~~ >./fileio.h:64:51: note: passing argument to parameter 'name' here >int ASCIIStoreCommand (FILE *fp,IRDATA *ird,char name[],int ... > ^ >server.c:4409:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4411:48: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (com->protocol_version >= 210) sprintf (ns->message,err,(com->adress ... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:4412:19: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (ns->message,err,(com->adre... > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:4414:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4441:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (ASCIIFindCommand (sockinfo[client].fp,com->command,sockinfo + client... > ^~~~~~~~~~~~ >./fileio.h:73:38: note: passing argument to parameter 'name' here >int ASCIIFindCommand (FILE *fp,char name[],NETWORKCLIENT *client); > ^ >server.c:4442:65: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,&sockinfo[client].ird,com->command,sockinfo[client]... > ^~~~~~~~~~~~ >./fileio.h:64:51: note: passing argument to parameter 'name' here >int ASCIIStoreCommand (FILE *fp,IRDATA *ird,char name[],int ... > ^ >server.c:4462:72: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,&sockinfo[client].ird,com->command); > ^~~~~~~~~~~~ >./fileio.h:69:52: note: passing argument to parameter 'name' here >int ASCIIFindToggleSeq (FILE *fp,IRDATA *ird,char name[]); > ^ >server.c:4465:72: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,&sockinfo[client].ird,com->command,sockinfo[client]... > ^~~~~~~~~~~~ >./fileio.h:64:51: note: passing argument to parameter 'name' here >int ASCIIStoreCommand (FILE *fp,IRDATA *ird,char name[],int ... > ^ >server.c:4487:12: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcat (com->command,"@"); > ^~~~~~~~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4488:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (ASCIIFindCommand (sockinfo[client].fp,com->command,sockinfo + client... > ^~~~~~~~~~~~ >./fileio.h:73:38: note: passing argument to parameter 'name' here >int ASCIIFindCommand (FILE *fp,char name[],NETWORKCLIENT *client); > ^ >server.c:4489:65: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(sockinfo[client].fp,&sockinfo[client].ird,com->command,sockinfo[client]... > ^~~~~~~~~~~~ >./fileio.h:64:51: note: passing argument to parameter 'name' here >int ASCIIStoreCommand (FILE *fp,IRDATA *ird,char name[],int ... > ^ >server.c:4528:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4540:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4552:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4564:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:4633:21: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (mcom->hotremote,mcom->hotcommand,st); > ^~~~~~~~~~~~~~~ >server.c:135:23: note: passing argument to parameter 'rem' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4633:37: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (mcom->hotremote,mcom->hotcommand,st); > ^~~~~~~~~~~~~~~~ >server.c:135:34: note: passing argument to parameter 'com' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4633:54: warning: passing 'char [255]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = GetHotcode (mcom->hotremote,mcom->hotcommand,st); > ^~ >server.c:135:45: note: passing argument to parameter 'data' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4641:15: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (strcmp (mcom->hotremote_2,"_")) res = GetHotcode (mc... > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4641:57: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(mcom->hotremote_2,"_")) res = GetHotcode (mcom->hotremote_2,mcom->hotco... > ^~~~~~~~~~~~~~~~~ >server.c:135:23: note: passing argument to parameter 'rem' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4641:75: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = GetHotcode (mcom->hotremote_2,mcom->hotcommand_2,st); > ^~~~~~~~~~~~~~~~~~ >server.c:135:34: note: passing argument to parameter 'com' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4641:94: warning: passing 'char [255]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...res = GetHotcode (mcom->hotremote_2,mcom->hotcommand_2,st); > ^~ >server.c:135:45: note: passing argument to parameter 'data' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4649:21: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (mcom->hotremote,mcom->hotcommand,st); > ^~~~~~~~~~~~~~~ >server.c:135:23: note: passing argument to parameter 'rem' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4649:37: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (mcom->hotremote,mcom->hotcommand,st); > ^~~~~~~~~~~~~~~~ >server.c:135:34: note: passing argument to parameter 'com' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4649:54: warning: passing 'char [255]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = GetHotcode (mcom->hotremote,mcom->hotcommand,st); > ^~ >server.c:135:45: note: passing argument to parameter 'data' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4655:37: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > StoreSwitch ((word)mcom->adress,0,mcom->hotremote,mcom->... > ^~~~~~~~~~~~~~~ >./fileio.h:41:42: note: passing argument to parameter 'rem' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4655:53: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...StoreSwitch ((word)mcom->adress,0,mcom->hotremote,mcom->hotcommand,1); > ^~~~~~~~~~~~~~~~ >./fileio.h:41:52: note: passing argument to parameter 'com' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4657:15: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (strcmp (mcom->hotremote_2,"_")) { > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:137:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >server.c:4658:22: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (mcom->hotremote_2,mcom->hotcom... > ^~~~~~~~~~~~~~~~~ >server.c:135:23: note: passing argument to parameter 'rem' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4658:40: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = GetHotcode (mcom->hotremote_2,mcom->hotcommand_2,st); > ^~~~~~~~~~~~~~~~~~ >server.c:135:34: note: passing argument to parameter 'com' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4658:59: warning: passing 'char [255]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...res = GetHotcode (mcom->hotremote_2,mcom->hotcommand_2,st); > ^~ >server.c:135:45: note: passing argument to parameter 'data' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4659:38: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...StoreSwitch ((word)mcom->adress,1,mcom->hotremote_2,mcom->hotcommand_2,1); > ^~~~~~~~~~~~~~~~~ >./fileio.h:41:42: note: passing argument to parameter 'rem' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4659:56: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...StoreSwitch ((word)mcom->adress,1,mcom->hotremote_2,mcom->hotcommand_2,1); > ^~~~~~~~~~~~~~~~~~ >./fileio.h:41:52: note: passing argument to parameter 'com' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4670:21: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (com->remote,com->command,st); > ^~~~~~~~~~~ >server.c:135:23: note: passing argument to parameter 'rem' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4670:33: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (com->remote,com->command,st); > ^~~~~~~~~~~~ >server.c:135:34: note: passing argument to parameter 'com' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4670:46: warning: passing 'char [255]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = GetHotcode (com->remote,com->command,st); > ^~ >server.c:135:45: note: passing argument to parameter 'data' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4678:38: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > StoreSwitch ((word)com->timeout,0,com->remote,co... > ^~~~~~~~~~~ >./fileio.h:41:42: note: passing argument to parameter 'rem' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4678:50: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...StoreSwitch ((word)com->timeout,0,com->remote,com->command,1); > ^~~~~~~~~~~~ >./fileio.h:41:52: note: passing argument to parameter 'com' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4688:21: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (com->remote,com->command,st); > ^~~~~~~~~~~ >server.c:135:23: note: passing argument to parameter 'rem' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4688:33: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > res = GetHotcode (com->remote,com->command,st); > ^~~~~~~~~~~~ >server.c:135:34: note: passing argument to parameter 'com' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4688:46: warning: passing 'char [255]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = GetHotcode (com->remote,com->command,st); > ^~ >server.c:135:45: note: passing argument to parameter 'data' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >server.c:4696:38: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > StoreSwitch ((word)com->timeout,1,com->remote,co... > ^~~~~~~~~~~ >./fileio.h:41:42: note: passing argument to parameter 'rem' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4696:50: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...StoreSwitch ((word)com->timeout,1,com->remote,com->command,1); > ^~~~~~~~~~~~ >./fileio.h:41:52: note: passing argument to parameter 'com' here >int StoreSwitch (word id,word num,char *rem,char *com,word mode); > ^ >server.c:4730:51: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...res = GetCommandDatabase ((COMMANDBUFFER *)stat,com->remote,com->adress); > ^~~~~~~~~~~ >./fileio.h:93:50: note: passing argument to parameter 'remote' here >int GetCommandDatabase (COMMANDBUFFER *buf,char remote[],in... > ^ >server.c:4734:16: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4735:13: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (ns->message,err,com->remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:4736:15: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > log_print (ns->message,LOG_ERROR); > ^~~~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >server.c:3932:27: warning: 'memset' call operates on objects of type > 'IRDATA_BUFFER' while the size is based on a different type > 'IRDATA_BUFFER *' [-Wsizeof-pointer-memaccess] > memset (irdb,0,sizeof (irdb)); > ~~~~ ^~~~ >server.c:3932:27: note: did you mean to dereference the argument to 'sizeof' > (and multiply it by the number of elements)? > memset (irdb,0,sizeof (irdb)); > ^~~~ >server.c:4421:27: warning: 'memset' call operates on objects of type > 'IRDATA_BUFFER' while the size is based on a different type > 'IRDATA_BUFFER *' [-Wsizeof-pointer-memaccess] > memset (irdb,0,sizeof (irdb)); > ~~~~ ^~~~ >server.c:4421:27: note: did you mean to dereference the argument to 'sizeof' > (and multiply it by the number of elements)? > memset (irdb,0,sizeof (irdb)); > ^~~~ >server.c:4748:61: warning: passing 'int8_t [211]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...& LONG_CODE_FLAG) strcpy (sockinfo[client].learnstatus.received,"Long Co... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:4967:26: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > FindSwitch ((word)i,0,mode->stat[i].remote,mode-... > ^~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:4967:47: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)i,0,mode->stat[i].remote,mode->stat[i].command,&mode->... > ^~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:4998:41: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),0,mode->stat[bus][i].remote,mode->stat[... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:4998:67: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...+ bus * 16),0,mode->stat[bus][i].remote,mode->stat[bus][i].command,&mode... > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5024:41: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),0,moden->stat[bus][i].remote,moden->sta... > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5024:68: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...+ bus * 16),0,moden->stat[bus][i].remote,moden->stat[bus][i].command,&mo... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5028:16: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (moden->stat[bus][i].remote2,"@@@~~~LAN~~~@@@ %s %s ",I... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5033:17: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (moden->stat[bus][i].remote2,"@@@~~~lan~~~@@@ %s %s ",I... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5036:47: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),1,moden->stat[bus][i].remote2,moden->st... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5036:75: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...bus * 16),1,moden->stat[bus][i].remote2,moden->stat[bus][i].command2,&mo... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5078:41: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),0,modeex->stat[bus][i].remote,modeex->s... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5078:69: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...bus * 16),0,modeex->stat[bus][i].remote,modeex->stat[bus][i].command,&mo... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5082:16: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (modeex->stat[bus][i].remote2,"@@@~~~LAN~~~@@@ %s %s ",... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5087:17: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (modeex->stat[bus][i].remote2,"@@@~~~lan~~~@@@ %s %s ",... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5090:47: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),1,modeex->stat[bus][i].remote2,modeex->... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5090:76: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...bus * 16),1,modeex->stat[bus][i].remote2,modeex->stat[bus][i].command2,&... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5133:42: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),0,modeex4->stat[bus][i].remote,modeex4-... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5133:71: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...bus * 16),0,modeex4->stat[bus][i].remote,modeex4->stat[bus][i].command,&... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5137:17: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (modeex4->stat[bus][i].remote2,"@@@~~~LAN~~~@@@ %s %s "... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5142:18: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (modeex4->stat[bus][i].remote2,"@@@~~~lan~~~@@@ %s %s "... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5145:48: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),1,modeex4->stat[bus][i].remote2,modeex4... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5145:78: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...* 16),1,modeex4->stat[bus][i].remote2,modeex4->stat[bus][i].command2,&mo... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5183:41: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),0,modeex3->stat[bus][i].remote,modeex3-... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5183:70: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...bus * 16),0,modeex3->stat[bus][i].remote,modeex3->stat[bus][i].command,&... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5187:16: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (modeex3->stat[bus][i].remote2,"@@@~~~LAN~~~@@@ %s %s "... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5192:17: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...sprintf (modeex3->stat[bus][i].remote2,"@@@~~~lan~~~@@@ %s %s "... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5195:47: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...FindSwitch ((word)(i + bus * 16),1,modeex3->stat[bus][i].remote2,modeex3... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:41: note: passing argument to parameter 'rem' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5195:77: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...* 16),1,modeex3->stat[bus][i].remote2,modeex3->stat[bus][i].command2,&mo... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:40:51: note: passing argument to parameter 'com' here >int FindSwitch (word id,word num,char *rem,char *com,word *mode); > ^ >server.c:5223:12: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (stat->message,"Timeout"); > ^~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5229:12: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (stat->message,"Error opening Remote %s",msg); > ^~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5235:12: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (stat->message,"No Remote open"); > ^~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5242:11: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcpy (stat->message,msg); > ^~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:5247:11: warning: passing 'int8_t [256]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (stat->message,"IR Error: %s",txt); > ^~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:5270:12: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&ns->clientid); > ^~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >server.c:5271:13: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&ns->statuslen); > ^~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5272:13: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&ns->statustype); > ^~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5273:13: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&ns->adress); > ^~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5327:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&rb->offset); > ^~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5328:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&rb->count_buffer); > ^~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5329:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&rb->count_remaining); > ^~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5330:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&rb->count_total); > ^~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5332:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&rb->remotes[i].source_mask); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >server.c:5333:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_int (&rb->remotes[i].target_mask); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:131:25: note: passing argument to parameter 'pnt' here >void swap_int (int32_t *pnt); > ^ >server.c:5340:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&cb->offset); > ^~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5341:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&cb->count_buffer); > ^~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5342:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&cb->count_remaining); > ^~~~~~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5343:14: warning: passing 'int16_t *' (aka 'short *') to parameter of > type 'word *' (aka 'unsigned short *') converts between pointers to > integer types with different sign [-Wpointer-sign] > swap_word (&cb->count_total); > ^~~~~~~~~~~~~~~~ >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >server.c:5369:12: warning: implicit declaration of function 'close' is invalid > in C99 [-Wimplicit-function-declaration] > if (sock) closesocket (sock); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:5413:4: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close (local_socket); > ^ >server.c:5419:10: warning: implicit declaration of function 'unlink' is invalid > in C99 [-Wimplicit-function-declaration] > res = unlink (LIRCD); > ^ >server.c:5421:5: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close (local_socket); > ^ >server.c:5430:4: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close(local_socket); > ^ >server.c:5437:4: warning: implicit declaration of function 'chown' is invalid in > C99 [-Wimplicit-function-declaration] > chown(LIRCD,s.st_uid,s.st_gid); > ^ >server.c:5449:10: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = ConfigSocket (sock,TCP_PORT)) return (res); > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server.c:5449:10: note: place parentheses around the assignment to silence this > warning > if (res = ConfigSocket (sock,TCP_PORT)) return (res); > ^ > ( ) >server.c:5449:10: note: use '==' to turn this assignment into an equality > comparison > if (res = ConfigSocket (sock,TCP_PORT)) return (res); > ^ > == >server.c:5459:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = ConfigSocket (lirc,LIRC_PORT)) return (res); > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server.c:5459:11: note: place parentheses around the assignment to silence this > warning > if (res = ConfigSocket (lirc,LIRC_PORT)) return (res); > ^ > ( ) >server.c:5459:11: note: use '==' to turn this assignment into an equality > comparison > if (res = ConfigSocket (lirc,LIRC_PORT)) return (res); > ^ > == >server.c:5470:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = ConfigSocket (web,webport)) return (ER... > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server.c:5470:12: note: place parentheses around the assignment to silence this > warning > if (res = ConfigSocket (web,webport)) return (ER... > ^ > ( ) >server.c:5470:12: note: use '==' to turn this assignment into an equality > comparison > if (res = ConfigSocket (web,webport)) return (ER... > ^ > == >server.c:5474:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = ConfigSocket (web,webport = WEB_PORT)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server.c:5474:12: note: place parentheses around the assignment to silence this > warning > if (res = ConfigSocket (web,webport = WEB_PORT)) { > ^ > ( ) >server.c:5474:12: note: use '==' to turn this assignment into an equality > comparison > if (res = ConfigSocket (web,webport = WEB_PORT)) { > ^ > == >server.c:5499:10: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = OpenIRTransLANSocket ()) return res; > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >server.c:5499:10: note: place parentheses around the assignment to silence this > warning > if (res = OpenIRTransLANSocket ()) return res; > ^ > ( ) >server.c:5499:10: note: use '==' to turn this assignment into an equality > comparison > if (res = OpenIRTransLANSocket ()) return res; > ^ > == >server.c:5556:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...res = connect (xAP_send,(struct sockaddr *)&serv_addr,sizeof (serv_addr)) < 0) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server.c:5556:11: note: place parentheses around the assignment to silence this > warning > ...res = connect (xAP_send,(struct sockaddr *)&serv_addr,sizeof (serv_addr)) < 0) { > ^ > ( ) >server.c:5556:11: note: use '==' to turn this assignment into an equality > comparison > if (res = connect (xAP_send,(struct sockaddr *)&serv_add... > ^ > == >server.c:5604:8: warning: implicit declaration of function 'AnalyzeUDPString' is > invalid in C99 [-Wimplicit-function-declaration] > res = AnalyzeUDPString (data,&netcom,remote,command,ccf,&netmask... > ^ >server.c:5658:20: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > sprintf (err, txt); > ^~~ >server.c:5658:20: note: treat the string as an argument to avoid this > sprintf (err, txt); > ^ > "%s", >169 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c errormessage.c -o x64/errormessage.o >errormessage.c:64:10: warning: the current #pragma pack alignment value is > modified in the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >errormessage.c:66:10: warning: the current #pragma pack alignment value is > modified in the included file [-Wpragma-pack] >#include "lowlevel.h" > ^ >./lowlevel.h:165:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >errormessage.c:110:3: warning: 'ftime' is deprecated [-Wdeprecated-declarations] > ftime (&tb); > ^ >/usr/include/sys/timeb.h:40:19: note: 'ftime' has been explicitly marked > deprecated here > __nonnull ((1)) __attribute_deprecated__; > ^ >/usr/include/sys/cdefs.h:251:51: note: expanded from macro > '__attribute_deprecated__' ># define __attribute_deprecated__ __attribute__ ((__deprecated__)) > ^ >errormessage.c:135:10: warning: passing 'int8_t [4096]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > strcpy (nl.message,msg); > ^~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >4 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c flashrom.c -o x64/flashrom.o >flashrom.c:54:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >flashrom.c:56:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >flashrom.c:57:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "network.h" > ^ >./network.h:178:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(1) > ^ >flashrom.c:58:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "lowlevel.h" > ^ >./lowlevel.h:165:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >flashrom.c:76:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "flash.h" > ^ >./flash.h:95:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >flashrom.c:116:18: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (remcmp,db->remote); > ^~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:117:18: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (cmdcmp,db->command); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:151:10: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdbheader.minremote[i],80); > ^~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:152:10: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdbheader.maxremote[i],80); > ^~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:153:10: warning: passing 'int8_t [50]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdbheader.mincommand[i],20); > ^~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:154:10: warning: passing 'int8_t [50]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdbheader.mincommand[i],20); > ^~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:157:9: warning: passing 'uint8_t [100]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdbheader.default_action,100); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:158:9: warning: passing 'uint8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdbheader.ok_status,20); > ^~~~~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:159:9: warning: passing 'uint8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdbheader.err_status,20); > ^~~~~~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:168:11: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdb[pnt].remote,80); > ^~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:169:11: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdb[pnt].command,20); > ^~~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:170:11: warning: passing 'uint8_t [256]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > strip (irdb[pnt].action,256); > ^~~~~~~~~~~~~~~~ >flashrom.c:90:19: note: passing argument to parameter 'st' here >void strip (char *st,int len); > ^ >flashrom.c:363:24: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > len = (int)strlen (irdb[i].remote); > ^~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:370:25: warning: passing 'uint8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > lenf = (int)strlen (irdb[i].action); > ^~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:380:24: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > len = (int)strlen (irdb[i].remote); > ^~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:405:23: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > len = (int)strlen (irdb[i].remote); > ^~~~~~~~~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:407:35: warning: passing 'int8_t [80]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...hash->hashcode = get_hashcode (irdb[i].remote,(byte)len); > ^~~~~~~~~~~~~~ >./flash.h:579:25: note: passing argument to parameter 'data' here >word get_hashcode (byte data[],byte len); > ^ >flashrom.c:581:36: warning: passing 'char [20]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...hash->hashcode = get_hashcode (cmd_pnt[j].name,(byte)len); > ^~~~~~~~~~~~~~~ >./flash.h:579:25: note: passing argument to parameter 'data' here >word get_hashcode (byte data[],byte len); > ^ >flashrom.c:741:26: warning: passing 'int8_t [80]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > j = FindIRDBCommand (irdb[i].remote,irdb... > ^~~~~~~~~~~~~~ >flashrom.c:85:28: note: passing argument to parameter 'remote' here >word FindIRDBCommand (byte remote[],byte command[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:741:41: warning: passing 'int8_t [20]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...j = FindIRDBCommand (irdb[i].remote,irdb[i].command,pnt,vers); > ^~~~~~~~~~~~~~~ >flashrom.c:85:42: note: passing argument to parameter 'command' here >word FindIRDBCommand (byte remote[],byte command[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:783:26: warning: passing 'int8_t [80]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > j = FindIRDBCommand (irdb[i].remote,irdb... > ^~~~~~~~~~~~~~ >flashrom.c:85:28: note: passing argument to parameter 'remote' here >word FindIRDBCommand (byte remote[],byte command[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:783:41: warning: passing 'int8_t [20]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...j = FindIRDBCommand (irdb[i].remote,irdb[i].command,pnt,vers); > ^~~~~~~~~~~~~~~ >flashrom.c:85:42: note: passing argument to parameter 'command' here >word FindIRDBCommand (byte remote[],byte command[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:805:26: warning: passing 'int8_t [80]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > j = FindIRDBCommand (irdb[i].remote,irdb... > ^~~~~~~~~~~~~~ >flashrom.c:85:28: note: passing argument to parameter 'remote' here >word FindIRDBCommand (byte remote[],byte command[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:805:41: warning: passing 'int8_t [20]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...j = FindIRDBCommand (irdb[i].remote,irdb[i].command,pnt,vers); > ^~~~~~~~~~~~~~~ >flashrom.c:85:42: note: passing argument to parameter 'command' here >word FindIRDBCommand (byte remote[],byte command[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:824:25: warning: passing 'int8_t [80]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...j = FindIRDBRemote (irdbheader.minremote[i],pnt,vers); > ^~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:86:27: note: passing argument to parameter 'remote' here >word FindIRDBRemote (byte remote[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:860:25: warning: passing 'int8_t [80]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...j = FindIRDBRemote (irdbheader.maxremote[i],pnt,vers); > ^~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:86:27: note: passing argument to parameter 'remote' here >word FindIRDBRemote (byte remote[],IRDB_HEADER *pnt,byte vers); > ^ >flashrom.c:909:11: warning: passing 'int8_t [32]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->memsize,"%d Words (%d KBytes)",pnt->len,(pnt->len)/512); > ^~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:910:11: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->remotes,"%d",pnt->table.remote_cnt); > ^~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:911:11: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->commands,"%d",pnt->table.command_cnt); > ^~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:912:11: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->actions,"%d",act_cnt); > ^~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:914:40: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (start_adr == (32768/2)) sprintf (finfo->flashsize,"128/96K"); > ^~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:915:45: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...else if (start_adr == (65536/2)) sprintf (finfo->flashsize,"128/64K"); > ^~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:916:45: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...else if (start_adr == (98304/2)) sprintf (finfo->flashsize,"128/32K"); > ^~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:917:17: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > else sprintf (finfo->flashsize,"128K"); > ^~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:921:12: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->flashsize,"64K"); > ^~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:1002:23: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > len = (word)strlen (remote); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:1015:23: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > len = (word)strlen (command); > ^~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:1028:23: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > len = (word)strlen (remote); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:1042:23: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > len = (word)strlen (command); > ^~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:1085:23: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > len = (word)strlen (remote); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:1100:23: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > len = (word)strlen (remote); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >flashrom.c:1302:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (st = DBReadString (ln,fptrans,0)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:1302:13: note: place parentheses around the assignment to silence > this warning > while (st = DBReadString (ln,fptrans,0)) { > ^ > ( ) >flashrom.c:1302:13: note: use '==' to turn this assignment into an equality > comparison > while (st = DBReadString (ln,fptrans,0)) { > ^ > == >flashrom.c:1349:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (st = DBReadString (ln,fptrans,0)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:1349:13: note: place parentheses around the assignment to silence > this warning > while (st = DBReadString (ln,fptrans,0)) { > ^ > ( ) >flashrom.c:1349:13: note: use '==' to turn this assignment into an equality > comparison > while (st = DBReadString (ln,fptrans,0)) { > ^ > == >flashrom.c:1605:36: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > if (res = DBFindRemoteCommandEx (trans[i].remote,trans[i... > ^~~~~~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1605:52: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res = DBFindRemoteCommandEx (trans[i].remote,trans[i].command,(IRDAT... > ^~~~~~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1605:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...res = DBFindRemoteCommandEx (trans[i].remote,trans[i].command,(IRDATA *)&ird,cal,toggle)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:1605:11: note: place parentheses around the assignment to silence > this warning > ...res = DBFindRemoteCommandEx (trans[i].remote,trans[i].command,(IRDATA *)&ird,cal,toggle)) { > ^ > ( ) >flashrom.c:1605:11: note: use '==' to turn this assignment into an equality > comparison > if (res = DBFindRemoteCommandEx (trans[i].remote,trans[i... > ^ > == >flashrom.c:1606:54: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) strcpy (err_remote,trans[i].remote); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1607:56: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) strcpy (err_command,trans[i].command); > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1632:19: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (remname,trans[i].remote); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1642:26: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > DBFindRemoteCommandEx (trans[i].remote,trans[i].command,... > ^~~~~~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1642:42: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...DBFindRemoteCommandEx (trans[i].remote,trans[i].command,(IRDATA *)&ird,c... > ^~~~~~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1653:14: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > set_entry (cmdpnt,cmd_num,pnt,trans[i].type,trans[i].rem... > ^~~~~~ >flashrom.c:84:22: note: passing argument to parameter 'entry' here >void set_entry (char entry[],int pos,FLASH_CONTENT_OLD *content,byte typ... > ^ >flashrom.c:1654:90: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > ...remote_statusex[bus].stat[iradr].version+1,trans[i].include_names,trans[... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:84:175: note: passing argument to parameter 'version' here > ...setup,word sourcemask,word acc_timeout,word acc_repeat,char *version,byt... > ^ >flashrom.c:1654:156: warning: passing 'int8_t [80]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...trans[i].remote,trans[i].command,pnt->rcv_len); > ^~~~~~~~~~~~~~~ >flashrom.c:84:201: note: passing argument to parameter 'remname' here > ...acc_timeout,word acc_repeat,char *version,byte nmflag,char *remname,cha... > ^ >flashrom.c:1654:172: warning: passing 'int8_t [20]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...trans[i].command,pnt->rcv_len); > ^~~~~~~~~~~~~~~~ >flashrom.c:84:215: note: passing argument to parameter 'comname' here > ...acc_repeat,char *version,byte nmflag,char *remname,char *comname,byte rc... > ^ >flashrom.c:1672:28: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...DBFindRemoteCommandEx (trans[i+1].remote,trans[i+1].command,(IRDATA *)&i... > ^~~~~~~~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1672:46: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...DBFindRemoteCommandEx (trans[i+1].remote,trans[i+1].command,(IRDATA *)&i... > ^~~~~~~~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1688:40: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res = DBFindRemoteCommandEx (trans[i+2].remote,trans[i+2].command,(I... > ^~~~~~~~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1688:58: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(res = DBFindRemoteCommandEx (trans[i+2].remote,trans[i+2].command,(IRDA... > ^~~~~~~~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1688:15: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...res = DBFindRemoteCommandEx (trans[i+2].remote,trans[i+2].command,(IRDATA *)&ird,cal,toggle)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:1688:15: note: place parentheses around the assignment to silence > this warning > ...res = DBFindRemoteCommandEx (trans[i+2].remote,trans[i+2].command,(IRDATA *)&ird,cal,toggle)) { > ^ > ( ) >flashrom.c:1688:15: note: use '==' to turn this assignment into an equality > comparison > if (res = DBFindRemoteCo... > ^ > == >flashrom.c:1689:58: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) strcpy (err_remote,trans[i+2].remote); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1690:60: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) strcpy (err_command,trans[i+2].command); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1712:38: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res = DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].comman... > ^~~~~~~~~~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1712:58: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...= DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].command,(IRDAT... > ^~~~~~~~~~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1712:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...res = DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].command,(IRDATA *)&ird,cal,toggle)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:1712:13: note: place parentheses around the assignment to silence > this warning > ...res = DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].command,(IRDATA *)&ird,cal,toggle)) { > ^ > ( ) >flashrom.c:1712:13: note: use '==' to turn this assignment into an equality > comparison > if (res = DBFindRemoteCommandEx (trans[i... > ^ > == >flashrom.c:1713:56: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) strcpy (err_remote,trans[i+j+1].remote); > ^~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1714:58: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...(res == ERR_COMMANDNOTFOUND) strcpy (err_command,trans[i+j+1].command); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1735:38: warning: passing 'int8_t [80]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res = DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].comman... > ^~~~~~~~~~~~~~~~~~~ >./fileio.h:86:33: note: passing argument to parameter 'remote' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1735:58: warning: passing 'int8_t [20]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...= DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].command,(IRDAT... > ^~~~~~~~~~~~~~~~~~~~ >./fileio.h:86:47: note: passing argument to parameter 'command' here >int DBFindRemoteCommandEx(char remote[],char command[],IRDAT... > ^ >flashrom.c:1735:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > ...res = DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].command,(IRDATA *)&ird,cal,toggle)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flashrom.c:1735:13: note: place parentheses around the assignment to silence > this warning > ...res = DBFindRemoteCommandEx (trans[i+j+1].remote,trans[i+j+1].command,(IRDATA *)&ird,cal,toggle)) { > ^ > ( ) >flashrom.c:1735:13: note: use '==' to turn this assignment into an equality > comparison > if (res = DBFindRemoteCommandEx (trans[i... > ^ > == >flashrom.c:1736:56: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) strcpy (err_remote,trans[i+j+1].remote); > ^~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1737:58: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...(res == ERR_COMMANDNOTFOUND) strcpy (err_command,trans[i+j+1].command); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1769:11: warning: passing 'int8_t [32]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->memsize,"%d Words (%d KBytes)",pnt->end_pnt,(pnt... > ^~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:1770:11: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->remotes,"%d",rcv_cnt); > ^~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:1771:11: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->commands,"%d",snd_cnt); > ^~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:1773:12: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->flashsize,"128K"); > ^~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:1776:12: warning: passing 'int8_t [8]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sprintf (finfo->flashsize,"64K"); > ^~~~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >flashrom.c:1858:43: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > hash_table[pos].hashcode = get_hashcode (entry,(byte)strlen (entry)); > ^~~~~ >./flash.h:579:25: note: passing argument to parameter 'data' here >word get_hashcode (byte data[],byte len); > ^ >flashrom.c:1882:11: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > strcpy (fentry->cdata+2,entry); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1883:11: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > strcpy (fentry->cdata+2+fentry->len,nmstr); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1889:11: warning: passing 'byte *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > strcpy (fentry->cdata+1,entry); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >flashrom.c:1893:11: warning: passing 'byte [1]' to parameter of type 'char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > strcpy (fentry->cdata,entry); > ^~~~~~~~~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >87 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c webserver.c -o x64/webserver.o >webserver.c:73:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >webserver.c:76:10: warning: the current #pragma pack alignment value is modified > in the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >webserver.c:101:51: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > call = accept (sock,(struct sockaddr *)&cli_addr,&clilen); > ^~~~~~~ >/usr/include/sys/socket.h:233:28: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >webserver.c:116:4: warning: implicit declaration of function 'close' is invalid > in C99 [-Wimplicit-function-declaration] > closesocket (call); > ^ >webserver.c:62:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >webserver.c:144:3: warning: implicit declaration of function 'close' is invalid > in C99 [-Wimplicit-function-declaration] > closesocket (sock); > ^ >webserver.c:62:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >webserver.c:206:74: warning: passing 'unsigned char [2066]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...return (GenerateImageHeader (mem,irtrans_logo,"gif",sizeof (irtrans_logo... > ^~~~~~~~~~~~ >./webserver.h:38:42: note: passing argument to parameter 'data' here >int GenerateImageHeader (char *mem,char *data,char *type,int len); > ^ >webserver.c:207:71: warning: passing 'unsigned char [989]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(page,"/OKButton.gif")) return (GenerateImageHeader (mem,ok_button,"gif"... > ^~~~~~~~~ >./webserver.h:38:42: note: passing argument to parameter 'data' here >int GenerateImageHeader (char *mem,char *data,char *type,int len); > ^ >webserver.c:208:71: warning: passing 'unsigned char [995]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(page,"/GoButton.gif")) return (GenerateImageHeader (mem,go_button,"gif"... > ^~~~~~~~~ >./webserver.h:38:42: note: passing argument to parameter 'data' here >int GenerateImageHeader (char *mem,char *data,char *type,int len); > ^ >webserver.c:209:70: warning: passing 'unsigned char [1059]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...(page,"/English.jpg")) return (GenerateImageHeader (mem,england_logo,"jp... > ^~~~~~~~~~~~ >./webserver.h:38:42: note: passing argument to parameter 'data' here >int GenerateImageHeader (char *mem,char *data,char *type,int len); > ^ >webserver.c:210:70: warning: passing 'unsigned char [468]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...return (GenerateImageHeader (mem,deutschland_logo,"jpeg",sizeof (deutsch... > ^~~~~~~~~~~~~~~~ >./webserver.h:38:42: note: passing argument to parameter 'data' here >int GenerateImageHeader (char *mem,char *data,char *type,int len); > ^ >webserver.c:211:73: warning: passing 'unsigned char [1022]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...return (GenerateImageHeader (mem,back_button,"gif",sizeof (back_button))); > ^~~~~~~~~~~ >./webserver.h:38:42: note: passing argument to parameter 'data' here >int GenerateImageHeader (char *mem,char *data,char *type,int len); > ^ >webserver.c:274:17: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (err,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >webserver.c:275:45: warning: passing 'int8_t [256]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_REMOTENOTFOUND) sprintf (ns->message,err,remote); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >webserver.c:276:46: warning: passing 'int8_t [256]' to parameter of type > 'char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) sprintf (ns->message,err,command); > ^~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >webserver.c:278:17: warning: passing 'int8_t [256]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (mem,ns->message); > ^~~~~~~~~~~ >/usr/include/string.h:130:70: note: passing argument to parameter '__src' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >webserver.c:468:38: warning: passing 'char [1000]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = GetHotcode (remote,command,value); > ^~~~~ >./server.h:36:45: note: passing argument to parameter 'data' here >int GetHotcode (char rem[],char com[],byte data[]); > ^ >webserver.c:572:2: warning: implicit declaration of function 'gethostname' is > invalid in C99 [-Wimplicit-function-declaration] > gethostname (nm,100); > ^ >webserver.c:621:67: warning: format specifies type 'int' but the argument has > type 'unsigned long' [-Wformat] > ...(ln,"Content-Type: text/html\r\nContent-Length: %6d\r\n",strlen (body)); > ~~~ ^~~~~~~~~~~~~ > %6lu >302 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c xap.c -o x64/xap.o >xap.c:85:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >xap.c:86:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >xap.c:87:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "network.h" > ^ >./network.h:178:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(1) > ^ >xap.c:90:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "lowlevel.h" > ^ >./lowlevel.h:165:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >xap.c:94:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "flash.h" > ^ >./flash.h:95:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >xap.c:118:62: warning: implicit declaration of function 'getpid' is invalid in > C99 [-Wimplicit-function-declaration] > ...XAP_VERSION,XAP_UID,XAP_ADR,i,XAP_HBEAT,xAP_rcv_port,_getpid ()); > ^ >xap.c:81:19: note: expanded from macro '_getpid' >#define _getpid getpid > ^ >xap.c:251:20: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > sprintf (err, txt); > ^~~ >xap.c:251:20: note: treat the string as an argument to avoid this > sprintf (err, txt); > ^ > "%s", >7 warnings generated. >18 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c lanio.c -o x64/lanio.o >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c ascii.c -o x64/ascii.o >ascii.c:lanio.c:69:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >70:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is lanio.chere >:72#pragma pack(1) >: ^ >10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >ascii.c:73:10: warning: lanio.c:183:6: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > closesocket (dev->io.socket); > ^ >lanio.c:65:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >lanio.c:193:24: warning: implicit declaration of function 'time' is invalid in > C99 [-Wimplicit-function-declaration] > dev->io.last_time = time (0); > ^ >thelanio.c:209:8: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > closesocket (dev... > ^ >lanio.c:65:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ > current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "dbstruct.h" > ^ >./dbstruct.h:159:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >lanio.c:263:3: warning: 'ftime' is deprecated [-Wdeprecated-declarations] > ftime (&tb); > ^ >/usr/include/sys/timeb.h:40:19: note: 'ftime' has been explicitly marked > deprecated here > __nonnull ((1)) __attribute_deprecated__; > ^ >/usr/include/sys/cdefs.h:251:51: note: expanded from macro > '__attribute_deprecated__' ># define __attribute_deprecated__ __attribute__ ((__deprecated__)) > ^ >lanio.c:269:3: warning: 'ftime' is deprecated [-Wdeprecated-declarations] > ftime (&tb); > ^ >/usr/include/sys/timeb.h:40:19: note: 'ftime' has been explicitly marked > deprecated here > __nonnull ((1)) __attribute_deprecated__; > ^ >/usr/include/sys/cdefs.h:251:51: note: expanded from macro > '__attribute_deprecated__' ># define __attribute_deprecated__ __attribute__ ((__deprecated__)) > ^ >lanio.c:286:4: warning: 'ftime' is deprecated [-Wdeprecated-declarations] > ftime (&tb); > ^ >/usr/include/sys/timeb.h:40:19: note: 'ftime' has been explicitly marked > deprecated here > __nonnull ((1)) __attribute_deprecated__; > ^ >/usr/include/sys/cdefs.h:251:51: note: expanded from macro > '__attribute_deprecated__' ># define __attribute_deprecated__ __attribute__ ((__deprecated__)) > ^ >lanio.c:303:4: warning: 'ftime' is deprecated [-Wdeprecated-declarations] > ftime (&tb); > ^ >/usr/include/sys/timeb.h:40:19: note: 'ftime' has been explicitly marked > deprecated here > __nonnull ((1)) __attribute_deprecated__; > ^ >/usr/include/sys/cdefs.h:251:51: note: expanded from macro > '__attribute_deprecated__' ># define __attribute_deprecated__ __attribute__ ((__deprecated__)) > ^ >lanio.c:433:70: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...= recvfrom (dev->io.socket,data,1000,0,(struct sockaddr *)&from,&sz); > ^~~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lanio.c:494:70: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...val = recvfrom (irtlan_socket,data,1000,0,(struct sockaddr *)&from,&sz); > ^~~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >lanio.cascii.c:77:552:27: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > if (irtlan_outbound > 0) closesocket (irtlan_outbound); > ^ >lanio.c:65:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >:10: warning: the current #pragmalanio.c:699:2: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close (s); > ^ > pack alignment value is modified in > the included file [-Wpragma-pack] >#include "flash.h" > ^ >./flash.h:95:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >ascii.c:122:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > ConvertLcase (command,strlen (command)); > ^~~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:122:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ConvertLcase (command,strlen (command)); > ^~~~~~~ >./fileio.h:51:26: note: passing argument to parameter 'pnt' here >void ConvertLcase (char *pnt,int len); > ^ >ascii.c:125:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > if (!strncmp (command,"GET_HTML_FILELIST",17)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:126:37: warning: passing 'char [65536]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > len = GetHTMLFileList (command+17,result); > ^~~~~~ >ascii.c:91:42: note: passing argument to parameter 'result' here >int GetHTMLFileList (byte *command,byte result[]); > ^ >ascii.c:128:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > else if (!strncmp (command,"FLASH_HTML",10)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:129:31: warning: passing 'char [65536]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > len = FlashHTML (command+10,result); > ^~~~~~ >ascii.c:90:36: note: passing argument to parameter 'result' here >int FlashHTML (byte *command,byte result[]); > ^ >ascii.c:131:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > else if (!strncmp (command,"sndhex",6)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:134:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > else if (!strncmp (command,"snd",3)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:135:28: warning: passing 'char [65536]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > len = SendASCII (command,result,asciimode); > ^~~~~~ >ascii.c:93:36: note: passing argument to parameter 'result' here >int SendASCII (byte *command,byte result[],int asciimode); > ^ >ascii.c:137:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > else if (!strncmp (command,"getremotes",10)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:138:32: warning: passing 'char [65536]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > len = GetRemotelist (command,result); > ^~~~~~ >ascii.c:94:37: note: passing argument to parameter 'result' here >int GetRemotelist (byte *data,byte result[]); > ^ >ascii.c:140:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > else if (!strncmp (command,"getcommands",11)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:141:33: warning: passing 'char [65536]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > len = GetCommandlist (command,result); > ^~~~~~ >ascii.c:95:38: note: passing argument to parameter 'result' here >int GetCommandlist (byte *data,byte result[]); > ^ >ascii.c:143:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > else if (!strncmp (command,"getdevices",10)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:144:32: warning: passing 'char [65536]' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > len = GetDevicelist (command,result); > ^~~~~~ >ascii.c:96:37: note: passing argument to parameter 'result' here >int GetDevicelist (byte *data,byte result[]); > ^ >ascii.c:146:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > else if (!strncmp (command,"learn",5)) { > ^~~~~~~ >/usr/include/string.h:140:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >ascii.c:211:54: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > ...else if (*pnt >= '1' && *pnt <= '9') adr |= atoi (pnt) * 4; > ^~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:217:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > smask = atoi (pnt); > ^~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:221:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > car = atoi (pnt); > ^~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:227:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > rc = (byte)atoi (pnt); > ^~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:231:22: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > bus = (byte)atoi (pnt); > ^~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:235:21: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > rp = (byte)atoi (pnt); > ^~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:240:46: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > if (*pnt != 'h') return (ASCIIErrorMessage (result,ERR_ASCIIFORM... > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:249:70: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...* pos] || !pnt[2 * pos + 1]) return (ASCIIErrorMessage (result,ERR_ASCII... > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:250:35: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ((byte *)&ir_data)[pos] = HToI (pnt + 2 * pos,16); > ^~~~~~~~~~~~~ >ascii.c:105:18: note: passing argument to parameter 'st' here >byte HToI (char *st,byte fac); > ^ >ascii.c:254:47: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > if (!ir_data.len) return (ASCIIErrorMessage (result,ERR_ASCIIFOR... > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:257:38: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > if (res) return (ASCIIErrorMessage (result,res,NULL)); > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:261:12: warning: implicit declaration of function 'CheckIRCode' is > invalid in C99 [-Wimplicit-function-declaration] > if (res = CheckIRCode (&ir_data)) return (ASCIIErrorMessage (res... > ^ >ascii.c:261:10: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (res = CheckIRCode (&ir_data)) return (ASCIIErrorMessage (res... > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >ascii.c:261:10: note: place parentheses around the assignment to silence this > warning > if (res = CheckIRCode (&ir_data)) return (ASCIIErrorMessage (res... > ^ > ( ) >ascii.c:261:10: note: use '==' to turn this assignment into an equality > comparison > if (res = CheckIRCode (&ir_data)) return (ASCIIErrorMessage (res... > ^ > == >ascii.c:261:63: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...(res = CheckIRCode (&ir_data)) return (ASCIIErrorMessage (result,res,NUL... > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:263:13: warning: incompatible integer to pointer conversion passing > 'word' (aka 'unsigned short') to parameter of type 'word *' > (aka 'unsigned short *'); take the address with & [-Wint-conversion] > swap_word (smask); > ^~~~~ > & >./lowlevel.h:129:23: note: passing argument to parameter 'pnt' here >void swap_word (word *pnt); > ^ >ascii.c:274:29: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > return (ASCIIErrorMessage (result,res,NULL)); > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:361:39: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > if (res) return (ASCIIErrorMessage (result,res,NULL)); > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:370:32: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > return (ASCIIErrorMessage (result,ERR_TI... > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:377:97: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...bus,(byte *)&ir_data,to * 1000)) return (ASCIIErrorMessage (result,ERR_T... > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:381:107: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > ...!= len-1) return (ASCIIErrorMessage (result,ERR_TIMEOUT,NULL)); > ^~~~~~ >ascii.c:98:30: note: passing argument to parameter 'result' here >int ASCIIErrorMessage (byte result[],byte errcode,byte errparm[]); > ^ >ascii.c:397:40: warning: passing 'char *' to parameter of type 'byte *' > (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > res = EncodeHex ((byte *)&ir_data,len,result + 14) + 14; > ^~~~~~~~~~~ >ascii.c:99:42: note: passing argument to parameter 'result' here >int EncodeHex (byte data[],int len,byte result[]); > ^ >ascii.c:406:33: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > for (i=0;i < len;i++) sprintf (result + i * 2,"%02X",pnt[i]); > ^~~~~~~~~~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:416:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT OK\n"); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:419:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT LEARN TIMEOUT ERROR\n"); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:422:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ASCII Format Error\n"); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:425:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR Specified ... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:428:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR Selected I... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:431:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR Illegal I... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:434:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR Illegal I... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:437:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR IR Code do... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:440:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR: %d\n",errcode); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:443:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return (strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:456:46: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > res = GetCommandDatabase (&cb,data+12,atoi (data+i)); > ^~~~~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:456:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > res = GetCommandDatabase (&cb,data+12,atoi (data+i)); > ^~~~~~~ >./fileio.h:93:50: note: passing argument to parameter 'remote' here >int GetCommandDatabase (COMMANDBUFFER *buf,char remote[],in... > ^ >ascii.c:458:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR: Remote %s not fou... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:459:14: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > log_print (result+15, LOG_ERROR); > ^~~~~~~~~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >ascii.c:460:24: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:463:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 COMMANDLIST %d,%d,%d",cb.offset,cb.coun... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:466:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,","); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:470:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,cb.commands[i]); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:470:18: warning: passing 'int8_t [20]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,cb.commands[i]); > ^~~~~~~~~~~~~~ >/usr/include/string.h:130:70: note: passing argument to parameter '__src' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:472:10: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,"\n"); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:474:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:482:31: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > GetRemoteDatabase (&rb,atoi (data + 11)); > ^~~~~~~~~ >/usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >ascii.c:484:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 REMOTELIST %d,%d,%d",rb.offset,rb.count... > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:487:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,","); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:491:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,rb.remotes[i].name); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:491:18: warning: passing 'int8_t [80]' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,rb.remotes[i].name); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:130:70: note: passing argument to parameter '__src' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:493:10: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,"\n"); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:495:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:503:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 DEVICELIST %d",device_cnt); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:507:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,st); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:508:52: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (IRDevices[i].io.if_type == IF_RS232) strcat (result,"SER "); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:509:55: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > ...else if (IRDevices[i].io.if_type == IF_USB) strcat (result,"USB "); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:511:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,"LAN "); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:512:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,IRDevices[i].usb_serno); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:513:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result," "); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:514:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,IRDevices[i].device_node); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:515:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result," "); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:525:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,st); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:527:10: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,"\n"); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:529:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:543:14: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > strcpy (txt,data); > ^~~~ >/usr/include/string.h:122:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:544:26: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > res = AnalyzeUDPString (data,&netcom,remote,command,ccf,&netmask... > ^~~~ >ascii.c:87:36: note: passing argument to parameter 'st' here >extern int AnalyzeUDPString (char *st,int *netcom,char *remote,char *com... > ^ >ascii.c:548:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT FORMAT ERROR: %d\n",res); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:549:24: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:612:20: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > sprintf (err, txt); > ^~~ >ascii.c:612:20: note: treat the string as an argument to avoid this > sprintf (err, txt); > ^ > "%s", >ascii.c:615:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT ERROR: %s",err); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:617:25: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:620:13: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT OK: %d ms\n",framelen); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:623:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (result,"**00000 RESULT OK\n"); > ^~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:627:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:667:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > strncpy (dir->dir[cnt].name,command+p,22); > ^~~~~~~~~ >/usr/include/string.h:126:32: note: passing argument to parameter '__src' here > const char *__restrict __src, size_t __n) > ^ >ascii.c:677:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to > parameter of type 'int32_t *' (aka 'int *') converts between pointers to > integer types with different sign [-Wpointer-sign] > SwapIntN (&dir->dir[cnt].timestamp); > ^~~~~~~~~~~~~~~~~~~~~~~~ >ascii.c:103:25: note: passing argument to parameter 'pnt' here >void SwapIntN (int32_t *pnt); > ^ >ascii.c:728:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT_HTML_FLASH E%s\n",fname); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:729:24: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:758:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcpy (result,"**00000 RESULT_HTML_FLASH E\n"); > ^~~~~~ >/usr/include/string.h:122:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:761:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > sprintf (result,"**00000 RESULT_HTML_FLASH O%d\n",pos * 4); > ^~~~~~ >/usr/include/stdio.h:334:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >ascii.c:763:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > return ((int)strlen (result)); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:832:15: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strncpy (result+len,di->d_name,22); > ^~~~~~~~~~ >/usr/include/string.h:125:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >ascii.c:833:14: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,";"); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:836:49: warning: format specifies type 'int' but the argument has type > '__off_t' (aka 'long') [-Wformat] > ...sprintf (st,"%d;%02d.%02d.%04d %02d:%02d;",fst.st_size,atime->tm_mday,at... > ~~ ^~~~~~~~~~~ > %ld >ascii.c:837:14: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,st); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >ascii.c:839:20: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > len = strlen (result); > ^~~~~~ >/usr/include/string.h:385:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >ascii.c:848:9: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > close (fd); > ^ >ascii.c:851:10: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strcat (result,"\n"); > ^~~~~~ >/usr/include/string.h:130:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >13 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c mce.c -o x64/mce.o >mce.c:71:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >mce.c:74:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "lowlevel.h" > ^ >./lowlevel.h:165:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >2 warnings generated. >x86_64-pc-linux-gnu-clang -DLINUX -DMEDIACENTER -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLINUX -DMEDIACENTER -DX64 -m64 -c xbmc.c -o x64/xbmc.o >105 warnings generated. >xbmc.c:71:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >xbmc.c:74:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "lowlevel.h" > ^ >./lowlevel.h:165:9: note: previous '#pragma pack' directive that modifies > alignment is here >#pragma pack(8) > ^ >xbmc.c:153:19: warning: implicit declaration of function 'time' is invalid in > C99 [-Wimplicit-function-declaration] > XBMC_last_ping = time (0); > ^ >xbmc.c:163:17: warning: implicit declaration of function 'close' is invalid in > C99 [-Wimplicit-function-declaration] > if (xbmc_init) closesocket (xbmc_socket); > ^ >xbmc.c:66:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >xbmc.c:270:14: error: non-void function 'XBMC_GetPID' should return a value > [-Wreturn-type] > if (!ln[i]) return; > ^ >xbmc.c:274:14: error: non-void function 'XBMC_GetPID' should return a value > [-Wreturn-type] > if (!ln[i]) return; > ^ >xbmc.c:316:19: warning: implicit declaration of function 'time' is invalid in > C99 [-Wimplicit-function-declaration] > XBMC_last_ping = time (0); > ^ >xbmc.c:342:13: warning: implicit declaration of function 'time' is invalid in > C99 [-Wimplicit-function-declaration] > xbmc_uid = time (0); > ^ >6 warnings and 2 errors generated. >make: *** [makefile:54: x64/xbmc.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/emerge-log/build/app-misc/irtrans-irserver-6.09.04-r1:20200727-155706.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' > > > >emerge --info: >Portage 3.0.1 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.31-r6, 5.4.0-1018-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1018-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 >KiB Mem: 7895552 total, 1394164 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Tue, 28 Jul 2020 09:07:19 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p4) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_beta5::gentoo >dev-util/cmake: 3.18.0::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r1::gentoo >sys-devel/gcc: 10.2.0::gentoo >sys-devel/gcc-config: 2.3.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) >sys-libs/glibc: 2.31-r6::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-max-age: 24 > sync-rsync-verify-jobs: 1 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="*" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/usr/portage/distfiles" >EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" >ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j2 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" >Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >
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 734224
: 651162