Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 817351 Details for
Bug 874558
media-video/asfrecorder-1.1-r1 - asfrecorder.c: error: call to undeclared function close; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-video:asfrecorder-1.1-r1:20221003-062836.log
media-video:asfrecorder-1.1-r1:20221003-062836.log (text/plain), 61.16 KB, created by
Toralf Förster
on 2022-10-03 08:14:50 UTC
(
hide
)
Description:
media-video:asfrecorder-1.1-r1:20221003-062836.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-03 08:14:50 UTC
Size:
61.16 KB
patch
obsolete
> * Package: media-video/asfrecorder-1.1-r1:0 > * Repository: gentoo > * Maintainer: media-video@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking ASFRecorder.zip to /var/tmp/portage/media-video/asfrecorder-1.1-r1/work >>>> Source unpacked in /var/tmp/portage/media-video/asfrecorder-1.1-r1/work >>>> Preparing source in /var/tmp/portage/media-video/asfrecorder-1.1-r1/work/ASFRecorder ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-video/asfrecorder-1.1-r1/work/ASFRecorder ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-video/asfrecorder-1.1-r1/work/ASFRecorder ... >asfrecorder.c:508:24: warning: expression result unused [-Wunused-value] > if (*dst_lo > tmp) *dst_hi--; > ^~~~~~~~~ >asfrecorder.c:679:25: warning: multiple unsequenced modifications to 'v4' > [-Wunsequenced] > v4=(deltatime<v4)?v4-=deltatime:0;put_long(ptr1-4,v4); > ~ ^ >asfrecorder.c:684:60: warning: multiple unsequenced modifications to 'v10' > [-Wunsequenced] > if(v8==8){get_long(ptr1+4,&v10);v10=(deltatime<v10)?v10-=deltatime:0... > ~ ^ >asfrecorder.c:843:12: error: call to undeclared function 'close'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > return closesocket(s); > ^ >asfrecorder.c:179:21: note: expanded from macro 'closesocket' >#define closesocket close > ^ >asfrecorder.c:1076:42: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > retval = my_send(conn_socket,Buffer,sendlen,0); > ^~~~~~ >asfrecorder.c:861:35: note: passing argument to parameter 'buf' here >int my_send(SOCKET s, const char *buf, int len, int flags) > ^ >asfrecorder.c:1093:24: warning: passing 'unsigned char[256]' 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(ContentType, ""); > ^~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:1094:24: warning: passing 'unsigned char[256]' 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(Features, ""); > ^~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:1147:49: warning: passing 'unsigned char[256]' 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(ContentType, hdrptr, siz... > ^~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >asfrecorder.c:1157:53: warning: passing 'unsigned char[256]' 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(Features, hdrptr, si... > ^~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >asfrecorder.c:1181:30: warning: passing 'unsigned char[256]' 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 (!stricmp(ContentType, "application/octet-stream")) > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1183:32: warning: passing 'unsigned char[256]' 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 (strstr(Features, "broadcast")) > ^~~~~~~~ >/usr/include/string.h:350:34: note: passing argument to parameter '__haystack' > here >extern char *strstr (const char *__haystack, const char *__needle) > ^ >asfrecorder.c:1194:35: warning: passing 'unsigned char[256]' 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 ((!stricmp(ContentType, "audio/x-ms-wax")) || > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1195:35: warning: passing 'unsigned char[256]' 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] > (!stricmp(ContentType, "audio/x-ms-wma")) || > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1196:35: warning: passing 'unsigned char[256]' 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] > (!stricmp(ContentType, "video/x-ms-asf")) || > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1197:35: warning: passing 'unsigned char[256]' 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] > (!stricmp(ContentType, "video/x-ms-afs")) || > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1198:35: warning: passing 'unsigned char[256]' 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] > (!stricmp(ContentType, "video/x-ms-wvx")) || > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1199:35: warning: passing 'unsigned char[256]' 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] > (!stricmp(ContentType, "video/x-ms-wmv")) || > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1200:35: warning: passing 'unsigned char[256]' 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] > (!stricmp(ContentType, "video/x-ms-wma")) ) > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1205:81: warning: passing '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] > ...if (!eos()) hi->redirsize = readfromstream(conn_socket, Buffer, bufsize... > ^~~~~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1209:40: warning: passing 'unsigned char[256]' 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 ( (!stricmp(ContentType, "text/html")) || > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1210:40: warning: passing 'unsigned char[256]' 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] > (!stricmp(ContentType, "text/plain")) ) > ^~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1215:85: warning: passing '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] > ...if (!eos()) hi->redirsize = readfromstream(conn_socket, Buffer, bufsize... > ^~~~~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1216:36: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > hdrptr = Buffer; > ^ ~~~~~~ >asfrecorder.c:1318:53: warning: passing '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] > readfromstream(conn_socket, &c1, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1319:53: warning: passing '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] > readfromstream(conn_socket, &c2, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1338:53: warning: passing '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] > readfromstream(conn_socket, &l1, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1339:53: warning: passing '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] > readfromstream(conn_socket, &l2, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1345:53: warning: passing '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] > readfromstream(conn_socket, &s1, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1346:53: warning: passing '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] > readfromstream(conn_socket, &s2, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1347:53: warning: passing '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] > readfromstream(conn_socket, &s3, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1348:53: warning: passing '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] > readfromstream(conn_socket, &s4, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1354:53: warning: passing '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] > readfromstream(conn_socket, &u1, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1355:53: warning: passing '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] > readfromstream(conn_socket, &u2, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1361:53: warning: passing '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] > readfromstream(conn_socket, &l1, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1362:53: warning: passing '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] > readfromstream(conn_socket, &l2, 1, rawfile); > ^~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1393:59: warning: passing '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] > ...got = readfromstream(conn_socket, Buffer + header_offset, bodylength, ra... > ^~~~~~~~~~~~~~~~~~~~~~ >asfrecorder.c:922:46: note: passing argument to parameter 'dest' here >int readfromstream(SOCKET conn_socket, char *dest, int length, FILE *rawfile) > ^ >asfrecorder.c:1483:55: warning: passing 'int *' to parameter of type > 'unsigned int *' converts between pointers to integer types with different > sign [-Wpointer-sign] > get_long(&Buffer[16], &header_length); > ^~~~~~~~~~~~~~ >asfrecorder.c:458:49: note: passing argument to parameter 'val' here >void get_long(unsigned char *pos, unsigned int *val) > ^ >asfrecorder.c:1798:12: warning: assigning to 'unsigned char *' from 'char[4096]' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > urlptr = URLBuffer; > ^ ~~~~~~~~~ >asfrecorder.c:1805:34: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (strnicmp("http://", filename, 7) && > ^~~~~~~~ >/usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:1806:34: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > strnicmp("mms://", filename, 6) && > ^~~~~~~~ >/usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:1807:34: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > strnicmp("mmsu://", filename, 7) && > ^~~~~~~~ >/usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:1808:34: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > strnicmp("mmst://", filename, 7) ) > ^~~~~~~~ >/usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:1810:29: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > infile = fopen( filename, "rb" ); > ^~~~~~~~ >/usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' > here >extern FILE *fopen (const char *__restrict __filename, > ^ >asfrecorder.c:1836:28: warning: passing '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] > urlptr += (sprintf(urlptr, "ASFRecorder")+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:1842:32: warning: passing '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] > urlptr += (sprintf(urlptr, "-m")+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:1844:32: warning: passing '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] > urlptr += (sprintf(urlptr, "%d", maxtime)+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:1851:32: warning: passing '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] > urlptr += (sprintf(urlptr, "-p")+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:1853:32: warning: passing '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] > urlptr += (sprintf(urlptr, "%d", portnum)+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:1906:42: warning: passing 'unsigned char[128]' 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 (!stricmp(Keyword, "ASF") || > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1907:42: warning: passing 'unsigned char[128]' 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] > stricmp(Keyword, "http") || > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1908:42: warning: passing 'unsigned char[128]' 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] > stricmp(Keyword, "mms") || > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1909:42: warning: passing 'unsigned char[128]' 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] > stricmp(Keyword, "mmst") || > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:1910:42: warning: passing 'unsigned char[128]' 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] > stricmp(Keyword, "mmsu") ) { > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2145:30: warning: passing 'unsigned char[128]' 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 (!stricmp(Keyword, "ASX")) > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2151:30: warning: passing 'unsigned char[128]' 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 (!stricmp(Keyword, "Entry") && (!termination)) > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2163:40: warning: passing '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] > urlptr += (sprintf(urlptr, "-e")+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2166:31: warning: passing 'unsigned char[128]' 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 ((!stricmp(Keyword, "Ref")) || (!stricmp(Keyword, "En... > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2166:61: warning: passing 'unsigned char[128]' 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 ((!stricmp(Keyword, "Ref")) || (!stricmp(Keyword, "EntryRef"))) > ^~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2170:48: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if ( (!stricmp("href", optionnamev[0])) && (opti... > ^~~~~~~~~~~~~~ >/usr/include/strings.h:116:54: note: passing argument to parameter '__s2' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2174:48: warning: passing '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] > urlptr += (sprintf(urlptr, "%s", optionargv[0])+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2196:20: warning: passing 'unsigned char[128]' 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(CurrentScope, ""); > ^~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2225:32: warning: passing 'unsigned char[128]' 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(CurrentScope, TextLine); > ^~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2225:46: warning: passing 'unsigned char[512]' 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(CurrentScope, TextLine); > ^~~~~~~~ >/usr/include/string.h:141:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2227:38: warning: passing 'unsigned char[128]' 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 (!stricmp(CurrentScope, "[Reference]")) > ^~~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2231:48: warning: passing '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] > urlptr += (sprintf(urlptr, "-e")+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2237:38: warning: passing 'unsigned char[128]' 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 (!stricmp(CurrentScope, "[Reference]")) > ^~~~~~~~~~~~ >/usr/include/strings.h:116:36: note: passing argument to parameter '__s1' here >extern int strcasecmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2240:43: warning: passing 'unsigned char[512]' 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 (!strnicmp(TextLine, "REF", 3)) > ^~~~~~~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:2251:56: warning: passing '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] > urlptr += (sprintf(urlptr, "%s",ptr)+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2271:32: warning: passing '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] > urlptr += (sprintf(urlptr, "-e")+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2305:36: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if ((!strnicmp(ptr, "ASF ", 4)) || > ^~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:2306:36: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > (!strnicmp(ptr, "ASF\t", 4)) ) > ^~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:2315:44: warning: passing '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] > urlptr += (sprintf(urlptr, "%s",ptr)+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2321:40: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if ((!strnicmp(ptr, "http://", 7)) || > ^~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:2322:40: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > (!strnicmp(ptr, "mms://", 6)) || > ^~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:2323:40: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > (!strnicmp(ptr, "mmsu://", 7)) || > ^~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:2324:40: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > (!strnicmp(ptr, "mmst://", 7)) ) > ^~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >asfrecorder.c:2328:48: warning: passing '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] > urlptr += (sprintf(urlptr, "%s",ptr)+1); > ^~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2553:12: warning: passing 'unsigned char[512]' 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(file, ""); > ^~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2554:12: warning: passing 'unsigned char[512]' 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(server_name, ""); > ^~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2570:30: warning: equality comparison with extraneous parentheses > [-Wparentheses-equality] > if ( (argv[i][0] == '-') ) > ~~~~~~~~~~~^~~~~~ >asfrecorder.c:2570:30: note: remove extraneous parentheses around the comparison > to silence this warning > if ( (argv[i][0] == '-') ) > ~ ^ ~ >asfrecorder.c:2570:30: note: use '=' to turn this equality comparison into an > assignment > if ( (argv[i][0] == '-') ) > ^~ > = >asfrecorder.c:2637:33: warning: assigning to 'unsigned char *' from 'char *' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > (URL[urlc]) = argv[i]; > ^ ~~~~~~~ >asfrecorder.c:2681:31: warning: passing 'unsigned char[512]' 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] > escape_url_string(escaped_url, URL[url]); > ^~~~~~~~~~~ >asfrecorder.c:701:30: note: passing argument to parameter 'outbuf' here >void escape_url_string(char *outbuf, char *inbuf) > ^ >asfrecorder.c:2681:44: warning: passing '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] > escape_url_string(escaped_url, URL[url]); > ^~~~~~~~ >asfrecorder.c:701:44: note: passing argument to parameter 'inbuf' here >void escape_url_string(char *outbuf, char *inbuf) > ^ >asfrecorder.c:2683:20: warning: assigning to 'char *' from 'unsigned char[512]' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > urlptr = escaped_url; > ^ ~~~~~~~~~~~ >asfrecorder.c:2696:25: warning: passing 'unsigned char[512]' 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(server_name, urlptr, dashptr-urlptr); > ^~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >asfrecorder.c:2698:24: warning: passing 'unsigned char[512]' 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(file, dashptr); > ^~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2700:35: warning: passing 'unsigned char[512]' 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] > colonptr = strchr(server_name, ':'); > ^~~~~~~~~~~ >/usr/include/string.h:246:34: note: passing argument to parameter '__s' here >extern char *strchr (const char *__s, int __c) > ^ >asfrecorder.c:2708:32: warning: passing 'unsigned char[512]' 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(server_name, ""); > ^~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2709:32: warning: passing 'unsigned char[512]' 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(file, ""); > ^~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2718:29: warning: passing 'unsigned char[512]' 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(full_path, "http://%s%s", server_name, file); > ^~~~~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2720:29: warning: passing 'unsigned char[512]' 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(full_path, "http://%s:%d%s", server_name, po... > ^~~~~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >asfrecorder.c:2738:36: warning: passing 'unsigned char[512]' 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(server_name, ""); > ^~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2739:36: warning: passing 'unsigned char[512]' 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(file, ""); > ^~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2749:29: warning: passing 'unsigned char[512]' 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(server_name, urlptr, colonptr-urlptr); > ^~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >asfrecorder.c:2754:24: warning: passing 'unsigned char[512]' 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(server_name,"")) > ^~~~~~~~~~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >asfrecorder.c:2761:21: error: call to undeclared library function 'isalpha' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > if (isalpha(server_name[0])) > ^ >asfrecorder.c:2761:21: note: include the header <ctype.h> or explicitly provide > a declaration for 'isalpha' >asfrecorder.c:2764:40: warning: passing 'unsigned char[512]' 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] > hp = gethostbyname(server_name); > ^~~~~~~~~~~ >/usr/include/netdb.h:142:51: note: passing argument to parameter '__name' here >extern struct hostent *gethostbyname (const char *__name); > ^ >asfrecorder.c:2773:28: error: call to undeclared function 'inet_addr'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > addr = inet_addr(server_name); > ^ >asfrecorder.c:2776:32: warning: passing 'unsigned char[512]' 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(server_name, hp->h_name); > ^~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2788:28: warning: passing 'unsigned char[512]' 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(filename, ""); > ^~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2793:48: warning: passing '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] > gui_start_transmission(URL[url], filename, sizeo... > ^~~~~~~~ >asfrecorder.c:285:34: note: passing argument to parameter 'url' here >int gui_start_transmission(char *url, char *filename, int filenamesize, ... > ^ >asfrecorder.c:2793:58: warning: passing 'unsigned char[512]' 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] > gui_start_transmission(URL[url], filename, sizeo... > ^~~~~~~~ >asfrecorder.c:285:45: note: passing argument to parameter 'filename' here >int gui_start_transmission(char *url, char *filename, int filenamesize, ... > ^ >asfrecorder.c:2806:32: warning: assigning to 'char *' from > 'unsigned char[65536]' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > bufptr = Buffer; > ^ ~~~~~~ >asfrecorder.c:2831:30: warning: cast to smaller integer type 'int' from 'char *' > [-Wpointer-to-int-cast] > ((int)bufptr-(int)Buffer), /* size of HTTP ... > ^~~~~~~~~~~ >asfrecorder.c:2831:42: warning: cast to smaller integer type 'int' from > 'unsigned char *' [-Wpointer-to-int-cast] > ((int)bufptr-(int)Buffer), /* size of HTTP ... > ^~~~~~~~~~~ >asfrecorder.c:2833:29: warning: passing 'unsigned char[512]' 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_name, /* server name string */ > ^~~~~~~~~~~ >asfrecorder.c:1007:23: note: passing argument to parameter 'server_name' here > char *server_name, > ^ >asfrecorder.c:2837:29: warning: passing 'unsigned char[512]' 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] > file, /* path to ASF s... > ^~~~ >asfrecorder.c:1011:23: note: passing argument to parameter 'file' here > char *file, > ^ >asfrecorder.c:2876:42: warning: assigning to 'char *' from 'unsigned char[512]' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > for (fileptr = file, tmpptr = file; (tmpptr ... > ^ ~~~~ >asfrecorder.c:2876:57: warning: assigning to 'char *' from 'unsigned char[512]' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > for (fileptr = file, tmpptr = file; (tmpptr ... > ^ ~~~~ >asfrecorder.c:2879:49: warning: passing 'unsigned char[512]' 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] > unescape_url_string(filename, fileptr); > ^~~~~~~~ >asfrecorder.c:737:32: note: passing argument to parameter 'outbuf' here >void unescape_url_string(char *outbuf, char *inbuf) > ^ >asfrecorder.c:2882:53: warning: passing 'unsigned char[512]' 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] > generate_valid_filename(filename); > ^~~~~~~~ >asfrecorder.c:766:36: note: passing argument to parameter 'buffer' here >void generate_valid_filename(char *buffer) > ^ >asfrecorder.c:2886:57: warning: passing '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] > if (!gui_start_transmission(URL[url], filena... > ^~~~~~~~ >asfrecorder.c:285:34: note: passing argument to parameter 'url' here >int gui_start_transmission(char *url, char *filename, int filenamesize, ... > ^ >asfrecorder.c:2886:67: warning: passing 'unsigned char[512]' 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 (!gui_start_transmission(URL[url], filename, sizeof(filename), hdrinf... > ^~~~~~~~ >asfrecorder.c:285:45: note: passing argument to parameter 'filename' here >int gui_start_transmission(char *url, char *filename, int filenamesize, ... > ^ >asfrecorder.c:2901:53: warning: passing 'unsigned char[512]' 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] > outfile = fopen(filename, "rb+"); > ^~~~~~~~ >/usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' > here >extern FILE *fopen (const char *__restrict __filename, > ^ >asfrecorder.c:2905:53: warning: passing 'unsigned char[512]' 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] > outfile = fopen(filename, "wb"); > ^~~~~~~~ >/usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' > here >extern FILE *fopen (const char *__restrict __filename, > ^ >asfrecorder.c:2924:49: warning: passing 'unsigned char[512]' 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(rawfilename, fileptr, (d... > ^~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >asfrecorder.c:2926:48: warning: passing 'unsigned char[512]' to parameter of > type 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > strcat(rawfilename, "_raw"); > ^~~~~~~~~~~ >/usr/include/string.h:149:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2927:48: warning: passing 'unsigned char[512]' to parameter of > type 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > strcat(rawfilename, dotptr); > ^~~~~~~~~~~ >/usr/include/string.h:149:39: note: passing argument to parameter '__dest' here >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > ^ >asfrecorder.c:2930:57: warning: passing 'unsigned char[512]' 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] > rawfile = fopen(rawfilename, "ab"); > ^~~~~~~~~~~ >/usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' > here >extern FILE *fopen (const char *__restrict __filename, > ^ >asfrecorder.c:2979:48: warning: assigning to 'char *' from > 'unsigned char[65536]' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > bufptr = Buffer; > ^ ~~~~~~ >asfrecorder.c:3001:48: warning: assigning to 'char *' from > 'unsigned char[65536]' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > bufptr = Buffer; > ^ ~~~~~~ >asfrecorder.c:3008:119: warning: data argument not used by format string > [-Wformat-extra-args] > ..."Pragma: no-cache,rate=1.000000,request-context=2\r\n",offset_hi, offset... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ >asfrecorder.c:3026:42: warning: cast to smaller integer type 'int' from 'char *' > [-Wpointer-to-int-cast] > ((int)bufptr-(int)Buffer), /* s... > ^~~~~~~~~~~ >asfrecorder.c:3026:54: warning: cast to smaller integer type 'int' from > 'unsigned char *' [-Wpointer-to-int-cast] > ((int)bufptr-(int)Buffer), /* s... > ^~~~~~~~~~~ >asfrecorder.c:3028:41: warning: passing 'unsigned char[512]' 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_name, /* s... > ^~~~~~~~~~~ >asfrecorder.c:1007:23: note: passing argument to parameter 'server_name' here > char *server_name, > ^ >asfrecorder.c:3032:41: warning: passing 'unsigned char[512]' 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] > file, /* p... > ^~~~ >asfrecorder.c:1011:23: note: passing argument to parameter 'file' here > char *file, > ^ >123 warnings and 3 errors generated. > * ERROR: media-video/asfrecorder-1.1-r1::gentoo failed (compile phase): > * Build failed > * > * Call stack: > * ebuild.sh, line 122: Called src_compile > * environment, line 1279: Called die > * The specific snippet of code: > * $(tc-getCC) -o ${PN} ${CFLAGS} ${LDFLAGS} ${PN}.c || die "Build failed" > * > * If you need support, post the output of `emerge --info '=media-video/asfrecorder-1.1-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-video/asfrecorder-1.1-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/media-video:asfrecorder-1.1-r1:20221003-062836.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/asfrecorder-1.1-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-video/asfrecorder-1.1-r1/temp/environment'. > * Working directory: '/var/tmp/portage/media-video/asfrecorder-1.1-r1/work/ASFRecorder/source' > * S: '/var/tmp/portage/media-video/asfrecorder-1.1-r1/work/ASFRecorder' >
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 874558
:
817339
|
817342
|
817345
|
817348
| 817351