Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 807658 Details for
Bug 870778
app-misc/irtrans-irserver-6.09.04-r1 - fatal error: too many errors emitted, stopping now [-ferror-limit=]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:irtrans-irserver-6.09.04-r1:20220917-142542.log
app-misc:irtrans-irserver-6.09.04-r1:20220917-142542.log (text/plain), 119.42 KB, created by
Toralf Förster
on 2022-09-17 15:16:19 UTC
(
hide
)
Description:
app-misc:irtrans-irserver-6.09.04-r1:20220917-142542.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 15:16:19 UTC
Size:
119.42 KB
patch
obsolete
> * Package: app-misc/irtrans-irserver-6.09.04-r1:0 > * 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 userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking irserver-src-6.09.04.tar.gz to /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work >>>> Unpacking irserver-6.09.04.tar.gz to /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work >>>> Source unpacked in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work >>>> Preparing source in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work ... > * Please use append-cppflags for preprocessor flags >make -j4 CXX=clang++ CC=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -DMEDIACENTER' 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -DMEDIACENTER' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 --static' irserver64 >clang -DLINUX -DMEDIACENTER -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -DMEDIACENTER -DX64 -m64 -c fileio.c -o x64/fileio.o >clang -DLINUX -DMEDIACENTER -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -DMEDIACENTER -DX64 -m64 -c linuxserio.c -o x64/linuxserio.o >clang -DLINUX -DMEDIACENTER -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -DMEDIACENTER -DX64 -m64 -c lowlevel.c -o x64/lowlevel.o >clang -DLINUX -DMEDIACENTER -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -DMEDIACENTER -DX64 -m64 -c server.c -o x64/server.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) > ^ >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) > ^ >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) > ^ >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) > ^ >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:server.c :note: 91previous: 10'#pragma pack': directivewarning: thethat currentmodifies #pragmaalignment >pack isalignment herevalue > is modified#pragma pack(1) >in ^ > > the included file [-Wpragma-pack] >#include "network.h" > ^ >./network.h:178:9: note: previous '#pragma pack' directive that modifies > alignment is fileio.chere >:112#pragma pack(1): >9 ^ >: warning: 'getdirentries' is deprecated: Use getdents64 instead > [-Wdeprecated-declarations] > len = getdirentries (fd,st,2048,&off); > ^ >/usr/include/dirent.h:358:6: note: 'getdirentries' has been explicitly marked > deprecated here > __attribute_deprecated_msg__ ("Use getdents64 instead"); > ^ >/usr/include/sys/cdefs.h:350:19: note: expanded from macro > '__attribute_deprecated_msg__' > __attribute__ ((__deprecated__ (msg))) > ^ >fileio.c:137:5: error: call to undeclared function 'close'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close (fd); > ^ >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) > ^ >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) > ^ >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]' (aka 'unsigned char[211]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncpy (client->ird.data,data+i,CODE_LEN); > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >fileio.c:407:18: warning: passing 'byte[211]' (aka 'unsigned char[211]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (!strcmp (ird->data,data+i)) { > ^~~~~~~~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >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: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >main (int argc,char *argv[]) >^ >int >fileio.c:477:6: error: call to undeclared function 'truncate'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > truncate (client->filename,pos); > ^ >server.c:956:20: error: call to fileio.cundeclared: 537function: 11'chdir';: ISOwarning: passingC99 and'int8_t[211]' later(aka 'signed char[211]') > todo > notparameter supportof implicittype function'char *' declarationsconverts > between[-Werror,-Wimplicit-function-declaration] >pointers to integer types > where if (serverdir[0]) chdir (serverdir);one > ^is > of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (sockinfo[client].learnstatus.received,"Link to: %s",link); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >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) > ^ >linuxserio.c:47:10: warning: the current #pragma pack alignment value is > modified in the included file [-Wpragma-pack] >#include "remote.h" > ^fileio.c >:567:10: warning: passing 'int8_t[211]' (aka 'signed char[211]') to > parameter of type 'char *' converts between pointers to integer types > where one ./remote.his: 61of: 9the: uniquenote: plainprevious 'char''#pragma pack' typedirective andthat themodifies otheralignment >is isnot >here >[-Wpointer-sign] >#pragma pack(1) > ^ > strcpy (sockinfo[client].learnstatus.received,"RS232 String"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141: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]' (aka 'signed char[211]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...& LONG_CODE_FLAG) strcpy (sockinfo[client].learnstatus.received,"Long Co... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >server.c:1485:7: error: call to undeclared function 'fork'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (fork () == 0) { > ^ >server.c:1490:4: error: call to undeclared function 'setsid'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > setsid (); > ^ >server.c:1493:24: error: call to undeclared function 'getpid'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > fprintf (fp,"%d\n",getpid ()); > ^ >server.c:1548:23: error: call to undeclared function 'getpid'; ISO C99 and later > do not support implicit function declarations > [-Werror,-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]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (rdcom,"IRTrans Webserver started on Port %d.\n"... > ^~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:1605:27: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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); > ^ >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 where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > len = (int)strlen (command); > ^~~~~~~ >/usr/include/string.h:407: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 > lowlevel.cof: 452type: 12'const char *': convertswarning: passingbetween 'int8_t[60]'pointers (aka 'signed char[60]')to tointeger > typesparameter whereof > typeone 'char *'is convertsof betweenthe pointersunique toplain integer'char' typestype > andwhere theone otheris isof notthe > unique[-Wpointer-sign] >plain 'char' type and the other is not > [-Wpointer-sign] > ...if (*command == 'K') strcat (name,command+9); > ^~~~~~~~~ >/usr/include/string.h:149:70: note: passing argument sprintf (bus->name,"%3d: %s [%s]",offset,IRDevices[offse...to > ^~~~~~~~~parameter > '__src' here >/usr/include/stdio.h:358:38: note: passing argument to parameterextern char *strcat (char *__restrict __dest, const char *__restrict __src) >'__s' ^ >here >extern int sprintf (char *__restrict __s, > ^ >server.c:1845:11: error: call to undeclared function 'build_select_table'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > maxfd = build_select_table (&events); > ^ >server.c:1856:12: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (rdcom,"Select Return: %x\n",wait); > ^~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:1857:14: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (rdcom,"Select Error: %d\n",errno); > ^~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >server.c:1862:15: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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: error: call to undeclared function 'get_selected_fd'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > evnt = get_selected_fd (&events,&sockfd,&ionum); > ^ >server.c:1886:8: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close (IRDevices... > ^ >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) > ^ >server.c:1889:15: error: call to undeclared function 'OpenSerialPortEx'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ...res = OpenSerialPortEx (IRDevices[ionum].device_node,&(IRDevices[ionum].... > ^ >server.c:1890:18: error: call to undeclared function 'sleep'; ISO C99 and later > do not support implicit function declarations > [-Werror,-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]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > lowlevel.cwhere :one761 :is36 :of warning: thepassing unique'int8_t[80]' plain(aka 'signed char[80]') 'char'to >type parameterand ofthe typeother 'char *'is convertsnot >between [-Wpointer-sign]pointers > to integer types > where one is sprintf (rdcom,err,inet_ntoa (se... >of ^~~~~ >the unique plain/usr/include/stdio.h :'char'358 :type38 :and note: thepassing otherargument isto notparameter > '__s'[-Wpointer-sign] >here >extern int sprintf (char *__restrict __s, > ^ > 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]' (aka 'signed char[20]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...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... > ^ > == >server.c:2000:70: warning: passing 'char[256]' to parameterlowlevel.c :of762 :type54 :'byte *' >warning: passing(aka 'unsigned char *') 'int8_t[80]'converts (aka 'signed char[80]')between topointers > toparameter integerof typestype where'const char *' > convertsone betweenis pointersof tothe integerunique > plaintypes 'char'where typeone andis theof otherthe isunique notplain > 'char'[-Wpointer-sign] >type and the other is not > [-Wpointer-sign] > ...> 2) ExecuteReceivedCommand (IRDevices[i].io.receive_buffer[j],IRDevices... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server.c ...if (res == ERR_REMOTENOTFOUND) strcpy (err_remote,acc->remotes[i]);: >125 ^~~~~~~~~~~~~~~: >35: note: passing argument to parameter 'command' here/usr/include/string.h >:141:70: note: passing argumentint ExecuteReceivedCommand (byte command[],int len,int bus); >to ^ >parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >lowlevel.c:763:56: warning: passing 'int8_t[20]' (aka 'signed char[20]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...if (res == ERR_COMMANDNOTFOUND) strcpy (err_command,acc->commands[i]); > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:141: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); > ^ >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:307:28: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >server.c:2272:5: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > closesocket (call); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:2286:5: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-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);fileio.c >: ^~~~~~~~~2273 >:24: warning: ./lowlevel.hpassing: 131'byte[622]': 25(aka 'unsigned char[622]'): tonote: >passing parameterargument ofto typeparameter 'char *''pnt' convertshere >between pointers to void swap_int (int32_t *pnt);integer > ^types > > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > nrem = DBFindRemote (cmd_pnt[i].data); > ^~~~~~~~~~~~~~~ >fileio.c:1783:24: note: passing argument to parameter 'remote' here >int DBFindRemote (char remote[]) > ^ >server.c:2314:8: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > closesocket (soc... > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >fileio.c:2280:25: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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) > ^ >server.c:2335:13: warning: passing 'int8_t[20]' (aka 'signed char[20]')linuxserio.c to: > 201parameter: 6of: typeerror: call'char *' convertsto betweenundeclared pointersfunction to'flock'; integer ISOtypes >C99 whereand >one lateris doof notthelowlevel.c support:unique934 :implicitplain157 :function'char' warning: typedeclarations passingand > 'int *' the [-Werror,-Wimplicit-function-declaration] to >other parameteris ofnot >type [-Wpointer-sign]'socklen_t *' > > (aka 'unsigned int *') converts between pointers to if (flock(hCom, LOCK_EX | LOCK_NB) < 0) {integer > ^ strcpy (sockinfo[res].ip,inet_ntoa (cli_...types > > ^~~~~~~~~~~~~~~~with > > different sign [-Wpointer-sign] >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here > ...(GET_ANALOG_INPUTS_EX),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); > ^~ >/usr/include/sys/socket.h:extern char *strcpy (char *__restrict __dest, const char *__restrict __src)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); > ^ >server.c:2373:13: warning: passing 'int8_t[20]' (aka 'signed char[20]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and thelinuxserio.c other: is247 not: >6 :[-Wpointer-sign] >error: call to undeclared function 'flock'; strcpy (sockinfo[res].ip,inet_ntoa (cli_... >ISO ^~~~~~~~~~~~~~~~ >C99 and/usr/include/string.h >: 141later: 39do: notnote: passingsupport argumentimplicit tofunction parameterdeclarations '__dest' > here[-Werror,-Wimplicit-function-declaration] > > if (flock(*port, LOCK_EX | LOCK_NB) < 0) {extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > > ^ ^ > >server.c:2389:4: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > closesocket (call); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >2 warnings and 2 errors generated. >fileio.c:2458:15: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] >server.c:2522: ...strcpy (cmd_pnt[cmd_cnt].data,data + i);20 >: ^~~~~~~~~~~~~~~~~~~~~ >warning: passing 'byte[622]'/usr/include/string.h :(aka 'unsigned char[622]')141 :to39 >: parameternote: passingof argumenttype to'char *' parameterconverts '__dest'between herepointers > to integer types > where one is of the unique plain 'char' type extern char *strcpy (char *__restrict __dest, const char *__restrict __src)and > ^the > other is not > [-Wpointer-sign] > ...GetNumericCode (cmd_pnt[rem_pnt[i].command_start + j].data,num,remote,cm... > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./fileio.h:91:27: note: passing fileio.cargument: 2459to: 16parameter: 'command'warning: passinghere >'byte[622]' (aka 'unsigned char[622]') to > parameter void GetNumericCode (char command[],char numeric[],char rem[],char com[]);of > ^type > 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...strncpy (cmd_pnt[cmd_cnt].data_cal,data + j,20); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >fileio.c:2460:56: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...ConvertLcase (cmd_pnt[cmd_cnt].data,(int)strlen (cmd_pnt[cmd_cnt].data)); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:2460:21: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...ConvertLcase (cmd_pnt[cmd_cnt].data,(int)strlen (cmd_pnt[cmd_cnt].data)); > ^~~~~~~~~~~~~~~~~~~~~ >./fileio.h:51:26: note: passing argumentserver.c to: 2555parameter: 18'pnt': herewarning: >passing 'byte[622]' (aka 'unsigned char[622]')void ConvertLcase (char *pnt,int len); >to ^ > > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plainfileio.c :'char'2461 :type60 :and warning: thepassing other'byte[622]' is(aka 'unsigned char[622]') notto > > [-Wpointer-sign]parameter > of type 'const char *' GetNumericCode (cmd_pnt[j].data,num,remote,command);converts > ^~~~~~~~~~~~~~~between > pointers to ./fileio.hinteger: >91 :types27 :where note: onepassing isargument ofto theparameter unique'command' plainhere >'char' type and the other isvoid GetNumericCode (char command[],char numeric[],char rem[],char com[]); >not ^ > > [-Wpointer-sign] > ...(cmd_pnt[cmd_cnt].data_cal,(int)strlen (cmd_pnt[cmd_cnt].data_cal)); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:2461:21: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...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); > ^ >server.c:2641:27: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > sprintf (msg+2,"%05d",strlen (msg)); > ~~~~ ^~~~~~~~~~~~ > %05lu >fileio.c:2513:15: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...strcpy (cmd_pnt[cmd_cnt].data,data + i + FindLineSection (data+i,"D")); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141: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]' (aka 'unsigned char[622]') to > parameter of type 'char *' converts between pointers to integer types > where one is oflowlevel.c :the1175 :unique101 :plain warning: 'char'passing type'int *' andto theparameter otherof istype not'socklen_t *' > > [-Wpointer-sign](aka 'unsigned int *') > 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 ...*)&sl,sizeof (sl),MSG_NOSIGNAL,(struct sockaddr *)&send_adr,&i); >to ^~ >parameter 'data' /usr/include/sys/socket.hhere: >165:27: note: void ConvertIRDARAW (char data[]); >passing ^ >argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >fileio.c:2516:50: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...cmd_pnt[cmd_cnt].ir_length = (word)strlen (cmd_pnt[cmd_cnt].data); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >fileio.c:2517:54: warning: passing 'byte[622]' (aka 'unsigned char[622]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...= (word)strlen (cmd_pnt[cmd_cnt].data_cal); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s'server.c :here2703 >:20: warning: passingextern size_t strlen (const char *__s) >'byte *' ^ >(aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] >fileio.c:2519:34: warning: GetNumericCode (command + 1,num,rem,name); >passing ^~~~~~~~~~~ >'char *' to parameter of./fileio.h :type91 :'byte *'27: > note: (aka 'unsigned char *')passing argumentconverts tobetween pointers parameterto 'command'integer heretypes > where > one is of the void GetNumericCode (char command[],char numeric[],char rem[],char com[]);unique > ^plain > 'char' type and the other is not > [-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); > ^ >server.c:2719:61: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...if (command[1] >= '0') memcpy (nr.data,command+1,strlen (command+1)); > ^~~~~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >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); > ^ >server.c:2741:30: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...sprintf (msg+2,"%05d",strlen (msg)); > ~~~~ ^~~~~~~~~~~~ > %05lu >fileio.c:2640:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > strcpy (pntcal,pnt); > ^~~~~~ >/usr/include/string.h:141: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 where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strcpy (pntcal,pnt); > ^~~ >/usr/include/string.h:141: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 where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > val = atoi(pnt+i) / 8; > ^~~~~ >/usr/include/stdlib.h:362:26: note: passing argument to parameter '__nptr' here >__NTH (atoi (const char *__nptr)) > ^ >server.c:2761:5: error: call to undeclared function 'PostWindowsMessage'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > PostWindowsMessage (rem_num,com_num,name); > ^ >make: *** [makefile:54: x64/linuxserio.o] Error 1 >make: *** Waiting for unfinished jobs.... >server.c:2781:38: warning: passing 'byte *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > memcpy (nr.data,command+1,strlen (command+1)); > ^~~~~~~~~ >/usr/include/string.h:407: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 where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...(msg,"[%d.%d]: LEN: %d %s\n",bus,(*command & 15),strlen(command+1),comm... > ^~~~~~~~~ >/usr/include/string.h:407: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: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > closesocket (sockinfo[client].fd); > ^ >server.c:82:22: note: expanded from macro 'closesocket' >#define closesocket close > ^ >server.c:2971:8: error: call to undeclared function 'chdir'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chdir (irdb_path)) { > ^ >server.c:2978:8: error: call to undeclared function 'chdir'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chdir (rdir)) { > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >fileio.c:3181:12: error: call to undeclared library function 'tolower' with type > 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-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' >29 warnings and 3 errors generated. >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 >make: *** [makefile:54: x64/fileio.o] Error 1 > 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]' (aka 'unsigned char[243]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...len = sizeof (IRRAW) - CODE_LENRAW + (byte)strlen (ir_data -> data) + 1; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:407: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]' (aka 'unsigned char[265]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (buf,"Learn Error: %d - %d\n",res,buf[1]); > ^~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2229:15: warning: passing 'byte[265]' (aka 'unsigned char[265]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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 where > one is of the unique plain 'char' type and the other is not > [-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 ... > ^ >28 warnings and 20 errors generated. >lowlevel.c:2680:12: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"IR Length: %d\n",ird18->ir_length); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2681:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"RCV: %s [%d-%d] FRQ: %d MODE: %d\n",ird18-... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2684:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Repeat Offset: %d\n",ird18->data[3]); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2687:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (ird18->mode & START_BIT) sprintf (ln," S: %5d,%5... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2690:17: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > else sprintf (ln," 0: %5d,%5d - %5d\n",ird18->pulse_... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2691:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...if (ird18->mode & START_BIT) sprintf (ln," %d: %5d,%5d - %5d\n",i-1,... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2694:18: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > else sprintf (ln," %d: %5d,%5d - %5d\n",i,ir... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2695:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Pulse 200 Mode [%d]\n",irs->single_len * 8); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2703:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln," %d: %5d\n",i,irs->multi_len[i]*8); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2707:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Data: %s\n",irs->data); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2712:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"%d - %d\n\n",irs->ir_length,irs->time_cnt); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2715:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"MODE : %d\n",ir_data -> mode & 0xf0); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2729:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Repeat : %d\n",ir_data -> mode & 0xf); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2731:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"FREQ : %4d\n",frq); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2733:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"LEN : %4d\n",ir_data->ir_length); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2735:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > log_print (ln,LOG_FATAL); > ^~ >./lowlevel.h:124:22: note: passing argument to parameter 'msg' here >void log_print (char msg[],int level); > ^ >make: *** [makefile:54: x64/server.o] Error 1 >lowlevel.c:2736:12: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"ADR : %d\n",ir_data -> address); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2737:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"%5d %5d %5d\n",pulse * 8,pause ... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2757:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (i) sprintf (ln,"%2d %5d %4d %d\n",i,pdata[... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2763:18: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > else sprintf (ln,"%2d %5d %4d\n",i,pdata[i] * 8... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2764:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Long Code\n"); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2770:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"IR Length: %d\n",ird->ir_length); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2773:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"RCV: %s [%d-%d] FRQ: %d MODE: %d\n",ird->d... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2776:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Repeat Offset: %d\n",ird->data[3]); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2779:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...((ird->mode & START_BIT) && ird->mode != RCMM) sprintf (ln," S: %5d,... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2782:17: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > else sprintf (ln," 0: %5d,%5d - %5d\n",ird->pulse_le... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2783:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...((ird->mode & START_BIT) && ird->mode != RCMM) sprintf (ln," %d: %5d... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2786:18: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > else sprintf (ln," %d: %5d,%5d - %5d\n",i,ir... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2787:15: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Framelength: %d us / %d ms\n",framelen,fram... > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2801:14: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (ln,"Total Code Len: %d ms\n",framelen); > ^~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:2806:13: warning: passing 'byte[255]' (aka 'unsigned char[255]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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: error: call to undeclared function 'unlink'; ISO C99 and > later do not support implicit function declarations > [-Werror,-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: error: call to undeclared function 'OpenSerialPortEx'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > res = OpenSerialPortEx (devnode,&(dev->io.comport),0); > ^ >lowlevel.c:3818:3: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-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 where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncpy (buf->WLAN_SSID[cnt],data + i,32); > ^~~~~~~~ >/usr/include/string.h:145: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 where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i += strlen (data + i); > ^~~~~~~~ >/usr/include/string.h:407: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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (sbuffer,"IRTRans Send status: %d - %d ... > ^~~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:4635:15: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > sprintf (sbuffer,"IRTRans Send Done: %d\n",count); > ^~~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >lowlevel.c:4681:13: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 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: error: call to undeclared function 'WriteSerialStringEx'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > return WriteSerialStringEx (dev,pnt,len); > ^ >lowlevel.c:4850:9: note: did you mean 'WriteIRStringEx'? >lowlevel.c:4838:5: note: 'WriteIRStringEx' declared here >int WriteIRStringEx (DEVICEINFO *dev,byte pnt[],int len) > ^ >lowlevel.c:4866:10: error: call to undeclared function 'ReadSerialStringEx'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > return (ReadSerialStringEx (dev,pnt,len,timeout)); > ^ >lowlevel.c:4866:10: note: did you mean 'ReadSerialStringComio'? >./lowlevel.h:231:6: note: 'ReadSerialStringComio' declared here >int ReadSerialStringComio (DEVICEINFO *dev,byte pnt[],int le... > ^ >lowlevel.c:4880:10: error: call to undeclared function 'ReadSerialStringEx'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > return (ReadSerialStringEx (dev,pnt,len,timeout)); > ^ >lowlevel.c:4893:10: error: call to undeclared function 'ReadSerialStringEx'; ISO > C99 and later do not support implicit function declarations > [-Werror,-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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 where > one is of the unique plain 'char' type and the other is not > [-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: error: call to undeclared function 'WriteSerialString'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > WriteSerialString (pnt,len); > ^ >lowlevel.c:5616:10: error: call to undeclared function 'ReadSerialString'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > return (ReadSerialString (pnt,len,timeout)); > ^ >lowlevel.c:5616:10: note: did you mean 'ReadSerialStringComio'? >./lowlevel.h:231:6: note: 'ReadSerialStringComio' declared here >int ReadSerialStringComio (DEVICEINFO *dev,byte pnt[],int le... > ^ >160 warnings and 9 errors generated. >make: *** [makefile:54: x64/lowlevel.o] Error 1 > * ERROR: app-misc/irtrans-irserver-6.09.04-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/irtrans-irserver-6.09.04-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/irtrans-irserver-6.09.04-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:irtrans-irserver-6.09.04-r1:20220917-142542.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work' > * S: '/var/tmp/portage/app-misc/irtrans-irserver-6.09.04-r1/work' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 870778
:
807655
| 807658 |
807661
|
807664
|
807667
|
807670