1 | version:1 |
---|
2 | :debug:main mdnsd has no conflicts |
---|
3 | :debug:main Executing org.macports.main (mdnsd) |
---|
4 | :debug:main dropping privileges: euid changed to 503, egid changed to 501. |
---|
5 | :debug:archivefetch archivefetch phase started at Fri Feb 16 10:12:44 PST 2018 |
---|
6 | :msg:archivefetch ---> Fetching archive for mdnsd |
---|
7 | :debug:archivefetch Executing org.macports.archivefetch (mdnsd) |
---|
8 | :debug:archivefetch euid/egid changed to: 0/0 |
---|
9 | :debug:archivefetch chowned /opt/local/var/macports/incoming to macports |
---|
10 | :debug:archivefetch euid/egid changed to: 503/501 |
---|
11 | :info:archivefetch ---> mdnsd-0.7G_0.darwin_16.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified |
---|
12 | :msg:archivefetch ---> Attempting to fetch mdnsd-0.7G_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/mdnsd |
---|
13 | :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found |
---|
14 | :msg:archivefetch ---> Attempting to fetch mdnsd-0.7G_0.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/mdnsd |
---|
15 | :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found |
---|
16 | :msg:archivefetch ---> Attempting to fetch mdnsd-0.7G_0.darwin_16.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/mdnsd |
---|
17 | :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found |
---|
18 | :debug:archivefetch Privilege de-escalation not attempted as not running as root. |
---|
19 | :debug:fetch fetch phase started at Fri Feb 16 10:12:44 PST 2018 |
---|
20 | :notice:fetch ---> Fetching distfiles for mdnsd |
---|
21 | :debug:fetch Executing org.macports.fetch (mdnsd) |
---|
22 | :debug:fetch Privilege de-escalation not attempted as not running as root. |
---|
23 | :debug:checksum checksum phase started at Fri Feb 16 10:12:44 PST 2018 |
---|
24 | :notice:checksum ---> Verifying checksums for mdnsd |
---|
25 | :debug:checksum Executing org.macports.checksum (mdnsd) |
---|
26 | :info:checksum ---> Checksumming mdnsd-0.7G.tar.gz |
---|
27 | :debug:checksum Calculated (md5) is 3692107785567b0eff6cec979506da3b |
---|
28 | :debug:checksum Correct (md5) checksum for mdnsd-0.7G.tar.gz |
---|
29 | :debug:checksum Privilege de-escalation not attempted as not running as root. |
---|
30 | :debug:extract extract phase started at Fri Feb 16 10:12:44 PST 2018 |
---|
31 | :notice:extract ---> Extracting mdnsd |
---|
32 | :debug:extract Executing org.macports.extract (mdnsd) |
---|
33 | :info:extract ---> Extracting mdnsd-0.7G.tar.gz |
---|
34 | :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/mdnsd/mdnsd-0.7G.tar.gz' |
---|
35 | :debug:extract Environment: |
---|
36 | :debug:extract CC_PRINT_OPTIONS='YES' |
---|
37 | :debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work/.CC_PRINT_OPTIONS' |
---|
38 | :debug:extract CPATH='/opt/local/include' |
---|
39 | :debug:extract LIBRARY_PATH='/opt/local/lib' |
---|
40 | :debug:extract MACOSX_DEPLOYMENT_TARGET='10.12' |
---|
41 | :info:extract Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mdnsd/mdnsd-0.7G.tar.gz' | /usr/bin/tar -xf - |
---|
42 | :debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mdnsd/mdnsd-0.7G.tar.gz' | /usr/bin/tar -xf - |
---|
43 | :debug:extract euid/egid changed to: 0/0 |
---|
44 | :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work to macports |
---|
45 | :debug:extract euid/egid changed to: 503/501 |
---|
46 | :debug:extract Privilege de-escalation not attempted as not running as root. |
---|
47 | :debug:patch patch phase started at Fri Feb 16 10:12:44 PST 2018 |
---|
48 | :debug:patch Executing org.macports.patch (mdnsd) |
---|
49 | :debug:patch Privilege de-escalation not attempted as not running as root. |
---|
50 | :debug:configure configure phase started at Fri Feb 16 10:12:44 PST 2018 |
---|
51 | :notice:configure ---> Configuring mdnsd |
---|
52 | :debug:configure Preferred compilers: clang macports-clang-4.0 macports-clang-3.9 |
---|
53 | :debug:configure Using compiler 'Xcode Clang' |
---|
54 | :debug:configure Executing org.macports.configure (mdnsd) |
---|
55 | :debug:configure Privilege de-escalation not attempted as not running as root. |
---|
56 | :debug:build build phase started at Fri Feb 16 10:12:44 PST 2018 |
---|
57 | :notice:build ---> Building mdnsd |
---|
58 | :debug:build Executing org.macports.build (mdnsd) |
---|
59 | :debug:build Environment: |
---|
60 | :debug:build CC_PRINT_OPTIONS='YES' |
---|
61 | :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work/.CC_PRINT_OPTIONS' |
---|
62 | :debug:build CPATH='/opt/local/include' |
---|
63 | :debug:build LIBRARY_PATH='/opt/local/lib' |
---|
64 | :debug:build MACOSX_DEPLOYMENT_TARGET='10.12' |
---|
65 | :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work/mdnsd-0.7G" && /usr/bin/make -j8 -w all |
---|
66 | :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work/mdnsd-0.7G" && /usr/bin/make -j8 -w all |
---|
67 | :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work/mdnsd-0.7G' |
---|
68 | :info:build gcc -g -o mquery mquery.c mdnsd.c 1035.c |
---|
69 | :info:build gcc -g -o mhttp mhttp.c mdnsd.c 1035.c sdtxt.c xht.c |
---|
70 | :info:build mquery.c:18:9: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] |
---|
71 | :info:build printf("A %s for %d seconds to ip %s\n",a->name,now,inet_ntoa(a->ip)); |
---|
72 | :info:build ^ |
---|
73 | :info:build mquery.c:18:9: note: include the header <stdio.h> or explicitly provide a declaration for 'printf' |
---|
74 | :info:build mquery.c:18:61: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration] |
---|
75 | :info:build printf("A %s for %d seconds to ip %s\n",a->name,now,inet_ntoa(a->ip)); |
---|
76 | :info:build ^ |
---|
77 | :info:build mquery.c:18:61: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] |
---|
78 | :info:build printf("A %s for %d seconds to ip %s\n",a->name,now,inet_ntoa(a->ip)); |
---|
79 | :info:build ~~ ^~~~~~~~~~~~~~~~ |
---|
80 | :info:build %d |
---|
81 | :info:build mquery.c:29:1: warning: control reaches end of non-void function [-Wreturn-type] |
---|
82 | :info:build } |
---|
83 | :info:build ^ |
---|
84 | :info:build mquery.c:39:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] |
---|
85 | :info:build bzero(&in, sizeof(in)); |
---|
86 | :info:build ^ |
---|
87 | :info:build mquery.c:39:5: note: include the header <strings.h> or explicitly provide a declaration for 'bzero' |
---|
88 | :info:build mquery.c:49:52: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] |
---|
89 | :info:build if(bind(s,(struct sockaddr*)&in,sizeof(in))) { close(s); return 0; } |
---|
90 | :info:build ^ |
---|
91 | :info:build mquery.c:51:31: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] |
---|
92 | :info:build mc.imr_multiaddr.s_addr = inet_addr("224.0.0.251"); |
---|
93 | :info:build ^ |
---|
94 | :info:build mquery.c:37:16: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] |
---|
95 | :info:build char ttl = 255; |
---|
96 | :info:build ~~~ ^~~ |
---|
97 | :info:build mquery.c:77:69: error: non-void function 'main' should return a value [-Wreturn-type] |
---|
98 | :info:build if(argc != 3) { printf("usage: mquery 12 _http._tcp.local.\n"); return; } |
---|
99 | :info:build ^ |
---|
100 | :info:build mquery.c:80:65: warning: implicitly declaring library function 'strerror' with type 'char *(int)' [-Wimplicit-function-declaration] |
---|
101 | :info:build if((s = msock()) == 0) { printf("can't create socket: %s\n",strerror(errno)); return 1; } |
---|
102 | :info:build ^ |
---|
103 | :info:build mquery.c:80:65: note: include the header <string.h> or explicitly provide a declaration for 'strerror' |
---|
104 | :info:build mquery.c:82:27: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] |
---|
105 | :info:build mdnsd_query(d,argv[2],atoi(argv[1]),ans,0); |
---|
106 | :info:build ^ |
---|
107 | :info:build mquery.c:93:84: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
108 | :info:build while((bsize = recvfrom(s,buf,MAX_PACKET_LEN,0,(struct sockaddr*)&from,&ssize)) > 0) |
---|
109 | :info:build ^~~~~~ |
---|
110 | :info:build /usr/include/sys/socket.h:693:25: note: passing argument to parameter here |
---|
111 | :info:build socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); |
---|
112 | :info:build ^ |
---|
113 | :info:build 11 warnings and 1 error generated. |
---|
114 | :info:build mhttp.c:14:5: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] |
---|
115 | :info:build printf("conflicting name detected %s for type %d\n",name,type); |
---|
116 | :info:build ^ |
---|
117 | :info:build mhttp.c:14:5: note: include the header <stdio.h> or explicitly provide a declaration for 'printf' |
---|
118 | :info:build mhttp.c:15:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] |
---|
119 | :info:build exit(1); |
---|
120 | :info:build ^ |
---|
121 | :info:build mhttp.c:15:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' |
---|
122 | :info:build mhttp.c:26:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] |
---|
123 | :info:build write(_zzz[1]," ",1); |
---|
124 | :info:build ^ |
---|
125 | :info:build mhttp.c:37:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] |
---|
126 | :info:build bzero(&in, sizeof(in)); |
---|
127 | :info:build ^ |
---|
128 | :info:build mhttp.c:37:5: note: include the header <strings.h> or explicitly provide a declaration for 'bzero' |
---|
129 | :info:build mhttp.c:47:52: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] |
---|
130 | :info:build if(bind(s,(struct sockaddr*)&in,sizeof(in))) { close(s); return 0; } |
---|
131 | :info:build ^ |
---|
132 | :info:build mhttp.c:49:31: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] |
---|
133 | :info:build mc.imr_multiaddr.s_addr = inet_addr("224.0.0.251"); |
---|
134 | :info:build ^ |
---|
135 | :info:build mhttp.c:35:16: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] |
---|
136 | :info:build char ttl = 255; |
---|
137 | :info:build ~~~ ^~~ |
---|
138 | :info:build mhttp.c:79:91: error: non-void function 'main' should return a value [-Wreturn-type] |
---|
139 | :info:build if(argc < 4) { printf("usage: mhttp 'unique name' 12.34.56.78 80 '/optionalpath'\n"); return; } |
---|
140 | :info:build ^ |
---|
141 | :info:build mhttp.c:82:12: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] |
---|
142 | :info:build port = atoi(argv[3]); |
---|
143 | :info:build ^ |
---|
144 | :info:build mhttp.c:83:87: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration] |
---|
145 | :info:build printf("Announcing .local site named '%s' to %s:%d and extra path '%s'\n",argv[1],inet_ntoa(ip),port,argv[4]); |
---|
146 | :info:build ^ |
---|
147 | :info:build mhttp.c:83:87: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] |
---|
148 | :info:build printf("Announcing .local site named '%s' to %s:%d and extra path '%s'\n",argv[1],inet_ntoa(ip),port,argv[4]); |
---|
149 | :info:build ~~ ^~~~~~~~~~~~~ |
---|
150 | :info:build %d |
---|
151 | :info:build mhttp.c:89:5: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] |
---|
152 | :info:build pipe(_zzz); |
---|
153 | :info:build ^ |
---|
154 | :info:build mhttp.c:91:65: warning: implicitly declaring library function 'strerror' with type 'char *(int)' [-Wimplicit-function-declaration] |
---|
155 | :info:build if((s = msock()) == 0) { printf("can't create socket: %s\n",strerror(errno)); return 1; } |
---|
156 | :info:build ^ |
---|
157 | :info:build mhttp.c:91:65: note: include the header <string.h> or explicitly provide a declaration for 'strerror' |
---|
158 | :info:build mhttp.c:93:5: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] |
---|
159 | :info:build sprintf(hlocal,"%s._http._tcp.local.",argv[1]); |
---|
160 | :info:build ^ |
---|
161 | :info:build mhttp.c:93:5: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf' |
---|
162 | :info:build mhttp.c:93:13: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
163 | :info:build sprintf(hlocal,"%s._http._tcp.local.",argv[1]); |
---|
164 | :info:build ^~~~~~ |
---|
165 | :info:build mhttp.c:94:13: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
166 | :info:build sprintf(nlocal,"http-%s.local.",argv[1]); |
---|
167 | :info:build ^~~~~~ |
---|
168 | :info:build mhttp.c:96:24: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
169 | :info:build mdnsd_set_host(d,r,hlocal); |
---|
170 | :info:build ^~~~~~ |
---|
171 | :info:build ./mdnsd.h:82:46: note: passing argument to parameter 'name' here |
---|
172 | :info:build void mdnsd_set_host(mdnsd d, mdnsdr r, char *name); |
---|
173 | :info:build ^ |
---|
174 | :info:build mhttp.c:97:24: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
175 | :info:build r = mdnsd_unique(d,hlocal,QTYPE_SRV,600,con,0); |
---|
176 | :info:build ^~~~~~ |
---|
177 | :info:build ./mdnsd.h:72:36: note: passing argument to parameter 'host' here |
---|
178 | :info:build mdnsdr mdnsd_unique(mdnsd d, char *host, int type, long int ttl, void (*conflict)(char *host, int type, void *arg), void *arg); |
---|
179 | :info:build ^ |
---|
180 | :info:build mhttp.c:98:32: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
181 | :info:build mdnsd_set_srv(d,r,0,0,port,nlocal); |
---|
182 | :info:build ^~~~~~ |
---|
183 | :info:build ./mdnsd.h:84:81: note: passing argument to parameter 'name' here |
---|
184 | :info:build void mdnsd_set_srv(mdnsd d, mdnsdr r, int priority, int weight, int port, char *name); |
---|
185 | :info:build ^ |
---|
186 | :info:build mhttp.c:99:24: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
187 | :info:build r = mdnsd_unique(d,nlocal,QTYPE_A,600,con,0); |
---|
188 | :info:build ^~~~~~ |
---|
189 | :info:build ./mdnsd.h:72:36: note: passing argument to parameter 'host' here |
---|
190 | :info:build mdnsdr mdnsd_unique(mdnsd d, char *host, int type, long int ttl, void (*conflict)(char *host, int type, void *arg), void *arg); |
---|
191 | :info:build ^ |
---|
192 | :info:build mhttp.c:100:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
193 | :info:build mdnsd_set_raw(d,r,(unsigned char *)&ip,4); |
---|
194 | :info:build ^~~~~~~~~~~~~~~~~~~~ |
---|
195 | :info:build ./mdnsd.h:81:45: note: passing argument to parameter 'data' here |
---|
196 | :info:build void mdnsd_set_raw(mdnsd d, mdnsdr r, char *data, int len); |
---|
197 | :info:build ^ |
---|
198 | :info:build mhttp.c:101:24: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
199 | :info:build r = mdnsd_unique(d,hlocal,16,600,con,0); |
---|
200 | :info:build ^~~~~~ |
---|
201 | :info:build ./mdnsd.h:72:36: note: passing argument to parameter 'host' here |
---|
202 | :info:build mdnsdr mdnsd_unique(mdnsd d, char *host, int type, long int ttl, void (*conflict)(char *host, int type, void *arg), void *arg); |
---|
203 | :info:build ^ |
---|
204 | :info:build mhttp.c:103:32: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] |
---|
205 | :info:build if(argc == 5 && argv[4] && strlen(argv[4]) > 0) xht_set(h,"path",argv[4]); |
---|
206 | :info:build ^ |
---|
207 | :info:build mhttp.c:103:32: note: include the header <string.h> or explicitly provide a declaration for 'strlen' |
---|
208 | :info:build mhttp.c:106:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
209 | :info:build mdnsd_set_raw(d,r,packet,len); |
---|
210 | :info:build ^~~~~~ |
---|
211 | :info:build ./mdnsd.h:81:45: note: passing argument to parameter 'data' here |
---|
212 | :info:build void mdnsd_set_raw(mdnsd d, mdnsdr r, char *data, int len); |
---|
213 | :info:build ^ |
---|
214 | :info:build mhttp.c:107:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] |
---|
215 | :info:build free(packet); |
---|
216 | :info:build ^ |
---|
217 | :info:build mhttp.c:118:36: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] |
---|
218 | :info:build if(FD_ISSET(_zzz[0],&fds)) read(_zzz[0],buf,MAX_PACKET_LEN); |
---|
219 | :info:build ^ |
---|
220 | :info:build mhttp.c:122:84: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
221 | :info:build while((bsize = recvfrom(s,buf,MAX_PACKET_LEN,0,(struct sockaddr*)&from,&ssize)) > 0) |
---|
222 | :info:build ^~~~~~ |
---|
223 | :info:build /usr/include/sys/socket.h:693:25: note: passing argument to parameter here |
---|
224 | :info:build socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); |
---|
225 | :info:build ^ |
---|
226 | :info:build 26 warnings and 1 error generated. |
---|
227 | :info:build mdnsd.c:98:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
228 | :info:build if((type == c->rr.type || type == 255) && strcmp(c->rr.name, host) == 0) |
---|
229 | :info:build ^~~~~~~~~~ |
---|
230 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
231 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
232 | :info:build ^ |
---|
233 | :info:build mdnsd.c:107:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
234 | :info:build if(type == r->rr.type && strcmp(r->rr.name, host) == 0) |
---|
235 | :info:build ^~~~~~~~~~ |
---|
236 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
237 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
238 | :info:build ^ |
---|
239 | :info:build mdnsd.c:116:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
240 | :info:build if(rr->rdname) len += strlen(rr->rdname); // worst case |
---|
241 | :info:build ^~~~~~~~~~ |
---|
242 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here |
---|
243 | :info:build size_t strlen(const char *__s); |
---|
244 | :info:build ^ |
---|
245 | :info:build mdnsd.c:124:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
246 | :info:build if(strcmp(r->name,a->name) || r->type != a->type) return 0; |
---|
247 | :info:build ^~~~~~~ |
---|
248 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
249 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
250 | :info:build ^ |
---|
251 | :info:build mdnsd.c:124:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
252 | :info:build if(strcmp(r->name,a->name) || r->type != a->type) return 0; |
---|
253 | :info:build ^~~~~~~ |
---|
254 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
255 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
256 | :info:build ^ |
---|
257 | :info:build mdnsd.c:125:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
258 | :info:build if(r->type == QTYPE_SRV && !strcmp(r->known.srv.name,a->rdname) && a->srv.port == r->known.srv.port && a->srv.weight == r->known.srv.weight && a->srv.priority == r->known.srv.priority) return 1; |
---|
259 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
260 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
261 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
262 | :info:build ^ |
---|
263 | :info:build mdnsd.c:125:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
264 | :info:build if(r->type == QTYPE_SRV && !strcmp(r->known.srv.name,a->rdname) && a->srv.port == r->known.srv.port && a->srv.weight == r->known.srv.weight && a->srv.priority == r->known.srv.priority) return 1; |
---|
265 | :info:build ^~~~~~~~~ |
---|
266 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
267 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
268 | :info:build ^ |
---|
269 | :info:build mdnsd.c:126:91: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
270 | :info:build if((r->type == QTYPE_PTR || r->type == QTYPE_NS || r->type == QTYPE_CNAME) && !strcmp(a->rdname,r->known.ns.name)) return 1; |
---|
271 | :info:build ^~~~~~~~~ |
---|
272 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
273 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
274 | :info:build ^ |
---|
275 | :info:build mdnsd.c:126:101: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
276 | :info:build if((r->type == QTYPE_PTR || r->type == QTYPE_NS || r->type == QTYPE_CNAME) && !strcmp(a->rdname,r->known.ns.name)) return 1; |
---|
277 | :info:build ^~~~~~~~~~~~~~~~ |
---|
278 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
279 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
280 | :info:build ^ |
---|
281 | :info:build mdnsd.c:98:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
282 | :info:build if((type == c->rr.type || type == 255) && strcmp(c->rr.name, host) == 0) |
---|
283 | :info:build ^~~~~~~~~~ |
---|
284 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
285 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
286 | :info:build ^ |
---|
287 | :info:build mdnsd.c:107:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
288 | :info:build if(type == r->rr.type && strcmp(r->rr.name, host) == 0) |
---|
289 | :info:build ^~~~~~~~~~ |
---|
290 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
291 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
292 | :info:build ^ |
---|
293 | :info:build mdnsd.c:116:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
294 | :info:build if(rr->rdname) len += strlen(rr->rdname); // worst case |
---|
295 | :info:build ^~~~~~~~~~ |
---|
296 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here |
---|
297 | :info:build size_t strlen(const char *__s); |
---|
298 | :info:build ^ |
---|
299 | :info:build mdnsd.c:186:27: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] |
---|
300 | :info:build u = (struct unicast *)malloc(sizeof(struct unicast)); |
---|
301 | :info:build ^ |
---|
302 | :info:build mdnsd.c:186:27: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc' |
---|
303 | :info:build mdnsd.c:124:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
304 | :info:build if(strcmp(r->name,a->name) || r->type != a->type) return 0; |
---|
305 | :info:build ^~~~~~~ |
---|
306 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
307 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
308 | :info:build ^ |
---|
309 | :info:build mdnsd.c:124:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
310 | :info:build if(strcmp(r->name,a->name) || r->type != a->type) return 0; |
---|
311 | :info:build ^~~~~~~ |
---|
312 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
313 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
314 | :info:build ^ |
---|
315 | :info:build mdnsd.c:201:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
316 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
317 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
318 | :info:build mdnsd.c:125:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
319 | :info:build if(r->type == QTYPE_SRV && !strcmp(r->known.srv.name,a->rdname) && a->srv.port == r->known.srv.port && a->srv.weight == r->known.srv.weight && a->srv.priority == r->known.srv.priority) return 1; |
---|
320 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
321 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
322 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
323 | :info:build ^ |
---|
324 | :info:build mdnsd.c:125:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
325 | :info:build if(r->type == QTYPE_SRV && !strcmp(r->known.srv.name,a->rdname) && a->srv.port == r->known.srv.port && a->srv.weight == r->known.srv.weight && a->srv.priority == r->known.srv.priority) return 1; |
---|
326 | :info:build ^~~~~~~~~ |
---|
327 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
328 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
329 | :info:build ^ |
---|
330 | :info:build mdnsd.c:201:15: note: place parentheses around the assignment to silence this warning |
---|
331 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
332 | :info:build ^ |
---|
333 | :info:build ( ) |
---|
334 | :info:build mdnsd.c:201mdnsd.c::15126:: 91note:: use '==' to turn this assignment into an equality comparisonwarning |
---|
335 | :info:build : passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
336 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
337 | :info:build ^ |
---|
338 | :info:build == |
---|
339 | :info:build if((r->type == QTYPE_PTR || r->type == QTYPE_NS || r->type == QTYPE_CNAME) && !strcmp(a->rdname,r->known.ns.name)) return 1; |
---|
340 | :info:build ^~~~~~~~~ |
---|
341 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
342 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
343 | :info:build ^ |
---|
344 | :info:build mdnsd.c:126:101: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
345 | :info:build if((r->type == QTYPE_PTR || r->type == QTYPE_NS || r->type == QTYPE_CNAME) && !strcmp(a->rdname,r->known.ns.name)) return 1; |
---|
346 | :info:build ^~~~~~~~~~~~~~~~ |
---|
347 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
348 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
349 | :info:build ^ |
---|
350 | :info:build mdnsd.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
351 | :info:build while(c = _c_next(d,c,q->name,q->type)) c->q = 0; |
---|
352 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
353 | :info:build mdnsd.c:211:13: note: place parentheses around the assignment to silence this warning |
---|
354 | :info:build while(c = _c_next(d,c,q->name,q->type)) c->q = 0; |
---|
355 | :info:build ^ |
---|
356 | :info:build ( ) |
---|
357 | :info:build mdnsd.c:211:13: note: use '==' to turn this assignment into an equality comparison |
---|
358 | :info:build while(c = _c_next(d,c,q->name,q->type)) c->q = 0; |
---|
359 | :info:build ^ |
---|
360 | :info:build == |
---|
361 | :info:build mdnsd.c:222:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] |
---|
362 | :info:build free(q->name); |
---|
363 | :info:build ^ |
---|
364 | :info:build mdnsd.c:229:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
365 | :info:build int i = _namehash(r->rr.name) % SPRIME; |
---|
366 | :info:build ^~~~~~~~~~ |
---|
367 | :info:build mdnsd.c:67:27: note: passing argument to parameter 's' here |
---|
368 | :info:build int _namehash(const char *s) |
---|
369 | :info:build ^ |
---|
370 | :info:build mdnsd.c:249:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
371 | :info:build r->conflict(r->rr.name,r->rr.type,r->arg); |
---|
372 | :info:build ^~~~~~~~~~ |
---|
373 | :info:build mdnsd.c:186:27: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] |
---|
374 | :info:build u = (struct unicast *)malloc(sizeof(struct unicast)); |
---|
375 | :info:build ^ |
---|
376 | :info:build mdnsd.c:186:27: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc' |
---|
377 | :info:build mdnsd.c:201:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
378 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
379 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
380 | :info:build mdnsd.c:201:15: note: place parentheses around the assignment to silence this warning |
---|
381 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
382 | :info:build ^ |
---|
383 | :info:build ( ) |
---|
384 | :info:build mdnsd.c:201:15: note: use '==' to turn this assignment into an equality comparison |
---|
385 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
386 | :info:build ^ |
---|
387 | :info:build == |
---|
388 | :info:build mdnsd.c:287:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
389 | :info:build int i = _namehash(r->name) % LPRIME; |
---|
390 | :info:build ^~~~~~~ |
---|
391 | :info:build mdnsd.c:67:27: note: passing argument to parameter 's' here |
---|
392 | :info:build int _namehash(const char *s) |
---|
393 | :info:build ^ |
---|
394 | :info:build mdnsd.c:291:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
395 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; |
---|
396 | :info:build ^~~~~~~ |
---|
397 | :info:build mdnsd.c:93:57: note: passing argument to parameter 'host' here |
---|
398 | :info:build struct cached *_c_next(mdnsd d, struct cached *c, char *host, int type) |
---|
399 | :info:build ^ |
---|
400 | :info:build mdnsd.c:291:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
401 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; |
---|
402 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
403 | :info:build mdnsd.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
404 | :info:build mdnsd.c:291 while(c = _c_next(d,c,q->name,q->type)) c->q = 0; |
---|
405 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
406 | :info:build :17: note: place parentheses around the assignment to silence this warning |
---|
407 | :info:build mdnsd.c:211:13: note: place parentheses around the assignment to silence this warning |
---|
408 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; |
---|
409 | :info:build ^ |
---|
410 | :info:build while(c = _c_next(d,c,q->name,q->type)) c->q = 0; ( ) |
---|
411 | :info:build ^ |
---|
412 | :info:build ( ) |
---|
413 | :info:build mdnsd.c:291mdnsd.c::17211:: 13note:: use '==' to turn this assignment into an equality comparisonnote |
---|
414 | :info:build : use '==' to turn this assignment into an equality comparison |
---|
415 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; while(c = _c_next(d,c,q->name,q->type)) c->q = 0; |
---|
416 | :info:build ^ ^ |
---|
417 | :info:build == == |
---|
418 | :info:build mdnsd.c:297:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
419 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
420 | :info:build ^~~~~~~ |
---|
421 | :info:build mdnsd.c:93:57: note: passing argument to parameter 'host' here |
---|
422 | :info:build mdnsd.c:222:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]struct cached *_c_next(mdnsd d, struct cached *c, char *host, int type) |
---|
423 | :info:build free(q->name); |
---|
424 | :info:build ^ ^ |
---|
425 | :info:build mdnsd.c:297:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
426 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
427 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
428 | :info:build mdnsd.c:297:17: note: place parentheses around the assignment to silence this warning |
---|
429 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
430 | :info:build ^ |
---|
431 | :info:build ( ) |
---|
432 | :info:build mdnsd.c:297:17: note: use '==' to turn this assignment into an equality comparison |
---|
433 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
434 | :info:build ^ |
---|
435 | :info:build == |
---|
436 | :info:build mdnsd.c:308:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
437 | :info:build c->rr.name = strdup(r->name); |
---|
438 | :info:build ^~~~~~~ |
---|
439 | :info:build /usr/include/string.h:117:26: note: passing argument to parameter '__s1' here |
---|
440 | :info:build char *strdup(const char *__s1); |
---|
441 | :info:build ^ |
---|
442 | :info:build mdnsd.c:308:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
443 | :info:build c->rr.name = strdup(r->name); |
---|
444 | :info:build ^ ~~~~~~~~~~~~~~~ |
---|
445 | :info:build mdnsd.c:229:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
446 | :info:build int i = _namehash(r->rr.name) % SPRIME; |
---|
447 | :info:build ^~~~~~~~~~ |
---|
448 | :info:build mdnsd.c:67:27: note: passing argument to parameter 's' here |
---|
449 | :info:build int _namehash(const char *s) |
---|
450 | :info:build ^ |
---|
451 | :info:build mdnsd.c:322:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
452 | :info:build c->rr.rdname = strdup(r->known.ns.name); |
---|
453 | :info:build ^~~~~~~~~~~~~~~~ |
---|
454 | :info:build /usr/include/string.h:117:26: note: passing argument to parameter '__s1' here |
---|
455 | :info:build char *strdup(const char *__s1); |
---|
456 | :info:build ^ |
---|
457 | :info:build mdnsd.c:322:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
458 | :info:build c->rr.rdname = strdup(r->known.ns.name); |
---|
459 | :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
460 | :info:build mdnsd.c:325:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
461 | :info:build c->rr.rdname = strdup(r->known.srv.name); |
---|
462 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
463 | :info:build /usr/include/string.h:117:26: note: passing argument to parameter '__s1' here |
---|
464 | :info:build char *strdup(const char *__s1); |
---|
465 | :info:build ^ |
---|
466 | :info:build mdnsd.c:325:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
467 | :info:build c->rr.rdname = strdup(r->known.srv.name); |
---|
468 | :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
469 | :info:build mdnsd.c:333:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
470 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
471 | :info:build ^~~~~~~ |
---|
472 | :info:build mdnsd.c:84:55: note: passing argument to parameter 'host' here |
---|
473 | :info:build struct query *_q_next(mdnsd d, struct query *q, char *host, int type) |
---|
474 | :info:build ^ |
---|
475 | :info:build mdnsd.c:333:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
476 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
477 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
478 | :info:build mdnsd.c:333:13: note: place parentheses around the assignment to silence this warning |
---|
479 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
480 | :info:build ^ |
---|
481 | :info:build ( ) |
---|
482 | :info:build mdnsd.cmdnsd.c::249:17: warning333: :passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
483 | :info:build 13: note: use '==' to turn this assignment into an equality comparison |
---|
484 | :info:build r->conflict(r->rr.name,r->rr.type,r->arg); |
---|
485 | :info:build ^~~~~~~~~~ |
---|
486 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
487 | :info:build ^ |
---|
488 | :info:build == |
---|
489 | :info:build mdnsd.c:287:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
490 | :info:build int i = _namehash(r->name) % LPRIME; |
---|
491 | :info:build ^~~~~~~ |
---|
492 | :info:build mdnsd.c:67:27: note: passing argument to parameter 's' here |
---|
493 | :info:build int _namehash(const char *s) |
---|
494 | :info:build ^ |
---|
495 | :info:build mdnsd.c:291:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
496 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; |
---|
497 | :info:build ^~~~~~~ |
---|
498 | :info:build mdnsd.c:93:57: note: passing argument to parameter 'host' here |
---|
499 | :info:build struct cached *_c_next(mdnsd d, struct cached *c, char *host, int type) |
---|
500 | :info:build ^ |
---|
501 | :info:build mdnsd.c:291:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
502 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; |
---|
503 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
504 | :info:build mdnsd.c:291:17: note: place parentheses around the assignment to silence this warning |
---|
505 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; |
---|
506 | :info:build ^ |
---|
507 | :info:build ( ) |
---|
508 | :info:build mdnsd.c:291:17: note: use '==' to turn this assignment into an equality comparison |
---|
509 | :info:build while(c = _c_next(d,c,r->name,r->type)) c->rr.ttl = 0; |
---|
510 | :info:build ^ |
---|
511 | :info:build == |
---|
512 | :info:build mdnsd.c:297:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
513 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
514 | :info:build ^~~~~~~ |
---|
515 | :info:build mdnsd.c:93:57: note: passing argument to parameter 'host' here |
---|
516 | :info:build struct cached *_c_next(mdnsd d, struct cached *c, char *host, int type) |
---|
517 | :info:build ^ |
---|
518 | :info:build mdnsd.c:297:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
519 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
520 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
521 | :info:build mdnsd.c:297:17: note: place parentheses around the assignment to silence this warning |
---|
522 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
523 | :info:build ^ |
---|
524 | :info:build ( ) |
---|
525 | :info:build mdnsd.c:297:17: note: use '==' to turn this assignment into an equality comparison |
---|
526 | :info:build while(c = _c_next(d,c,r->name,r->type)) |
---|
527 | :info:build ^ |
---|
528 | :info:build == |
---|
529 | :info:build mdnsd.c:308:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
530 | :info:build c->rr.name = strdup(r->name); |
---|
531 | :info:build ^~~~~~~ |
---|
532 | :info:build /usr/include/string.h:117:26: note: passing argument to parameter '__s1' here |
---|
533 | :info:build char *strdup(const char *__s1); |
---|
534 | :info:build ^ |
---|
535 | :info:build mdnsd.c:308:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
536 | :info:build c->rr.name = strdup(r->name); |
---|
537 | :info:build ^ ~~~~~~~~~~~~~~~ |
---|
538 | :info:build mdnsd.c:322:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
539 | :info:build c->rr.rdname = strdup(r->known.ns.name); |
---|
540 | :info:build ^~~~~~~~~~~~~~~~ |
---|
541 | :info:build /usr/include/string.h:117:26: note: passing argument to parameter '__s1' here |
---|
542 | :info:build char *strdup(const char *__s1); |
---|
543 | :info:build ^ |
---|
544 | :info:build mdnsd.c:322:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
545 | :info:build c->rr.rdname = strdup(r->known.ns.name); |
---|
546 | :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
547 | :info:build mdnsd.c:325:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
548 | :info:build c->rr.rdname = strdup(r->known.srv.name); |
---|
549 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
550 | :info:build /usr/include/string.h:117:26: note: passing argument to parameter '__s1' here |
---|
551 | :info:build char *strdup(const char *__s1); |
---|
552 | :info:build ^ |
---|
553 | :info:build mdnsd.c:325:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
554 | :info:build c->rr.rdname = strdup(r->known.srv.name); |
---|
555 | :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
556 | :info:build mdnsd.c:333:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
557 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
558 | :info:build ^~~~~~~ |
---|
559 | :info:build mdnsd.c:84:55: note: passing argument to parameter 'host' here |
---|
560 | :info:build struct query *_q_next(mdnsd d, struct query *q, char *host, int type) |
---|
561 | :info:build ^ |
---|
562 | :info:build mdnsd.c:333:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
563 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
564 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
565 | :info:build mdnsd.c:333:13: note: place parentheses around the assignment to silence this warning |
---|
566 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
567 | :info:build ^ |
---|
568 | :info:build ( ) |
---|
569 | :info:build mdnsd.c:333:13: note: use '==' to turn this assignment into an equality comparison |
---|
570 | :info:build if(c->q = _q_next(d, 0, r->name, r->type)) |
---|
571 | :info:build ^ |
---|
572 | :info:build == |
---|
573 | :info:build mdnsd.c:423:63: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
574 | :info:build if(m->qd[i].class != d->class || (r = _r_next(d,0,m->qd[i].name,m->qd[i].type)) == 0) continue; |
---|
575 | :info:build ^~~~~~~~~~~~~ |
---|
576 | :info:build mdnsd.c:102:41: note: passing argument to parameter 'host' here |
---|
577 | :info:build mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) |
---|
578 | :info:build ^ |
---|
579 | :info:build mdnsd.c:428:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
580 | :info:build for(;r != 0; r = _r_next(d,r,m->qd[i].name,m->qd[i].type)) |
---|
581 | :info:build ^~~~~~~~~~~~~ |
---|
582 | :info:build mdnsd.c:102:41: note: passing argument to parameter 'host' here |
---|
583 | :info:build mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) |
---|
584 | :info:build ^ |
---|
585 | :info:build mdnsd.c:434:69: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
586 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
587 | :info:build ^~~~~~~~~~~~~ |
---|
588 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
589 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
590 | :info:build ^ |
---|
591 | :info:build mdnsd.c:434:83: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
592 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
593 | :info:build ^~~~~~~~~~~~~ |
---|
594 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
595 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
596 | :info:build ^ |
---|
597 | :info:build mdnsd.c:441:65: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
598 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
599 | :info:build ^~~~~~~~~~~~~ |
---|
600 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
601 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
602 | :info:build ^ |
---|
603 | :info:build mdnsd.c:441:79: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
604 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
605 | :info:build ^~~~~~~~~~~~~ |
---|
606 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
607 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
608 | :info:build ^ |
---|
609 | :info:build mdnsd.c:452:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
610 | :info:build if((r = _r_next(d,0,m->an[i].name,m->an[i].type)) != 0 && r->unique && _a_match(&m->an[i],&r->rr) == 0) _conflict(d,r); |
---|
611 | :info:build ^~~~~~~~~~~~~ |
---|
612 | :info:build mdnsd.c:102:41: note: passing argument to parameter 'host' here |
---|
613 | :info:build mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) |
---|
614 | :info:build ^ |
---|
615 | :info:build mdnsd.c:466:13: warning: implicit declaration of function 'htons' is invalid in C99 [-Wimplicit-function-declaration] |
---|
616 | :info:build *port = htons(5353); |
---|
617 | :info:build ^ |
---|
618 | :info:build mdnsd.c:467:11: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] |
---|
619 | :info:build *ip = inet_addr("224.0.0.251"); |
---|
620 | :info:build ^ |
---|
621 | :info:build mdnsd.c:423:63: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
622 | :info:build if(m->qd[i].class != d->class || (r = _r_next(d,0,m->qd[i].name,m->qd[i].type)) == 0) continue; |
---|
623 | :info:build ^~~~~~~~~~~~~ |
---|
624 | :info:build mdnsd.c:102:41: note: passing argument to parameter 'host' here |
---|
625 | :info:build mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) |
---|
626 | :info:build ^ |
---|
627 | :info:build mdnsd.c:428:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
628 | :info:build for(;r != 0; r = _r_next(d,r,m->qd[i].name,m->qd[i].type)) |
---|
629 | :info:build ^~~~~~~~~~~~~ |
---|
630 | :info:build mdnsd.c:102:41: note: passing argument to parameter 'host' here |
---|
631 | :info:build mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) |
---|
632 | :info:build ^ |
---|
633 | :info:build mdnsd.c:577:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
634 | :info:build message_qd(m,q->name,q->type,d->class); |
---|
635 | :info:build ^~~~~~~ |
---|
636 | :info:build ./1035.h:71:51: note: passing argument to parameter 'name' here |
---|
637 | :info:build void message_qd(struct message *m, unsigned char *name, unsigned short int type, unsigned short int class); |
---|
638 | :info:build ^ |
---|
639 | :info:build mdnsd.c:434:69: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
640 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
641 | :info:build ^~~~~~~~~~~~~ |
---|
642 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
643 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
644 | :info:build ^ |
---|
645 | :info:build mdnsd.c:434:83: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
646 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
647 | :info:build ^~~~~~~~~~~~~ |
---|
648 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
649 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
650 | :info:build mdnsd.c ^: |
---|
651 | :info:build 599:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
652 | :info:build message_an(m,q->name,q->type,d->class,c->rr.ttl - d->now.tv_sec); |
---|
653 | :info:build ^~~~~~~ |
---|
654 | :info:build ./1035.h:74:51: note: passing argument to parameter 'name' here |
---|
655 | :info:build void message_an(struct message *m, unsigned char *name, unsigned short int type, unsigned short int class, unsigned long int ttl); |
---|
656 | :info:build ^ |
---|
657 | :info:build mdnsd.c:441:65: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
658 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
659 | :info:build ^~~~~~~~~~~~~ |
---|
660 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
661 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
662 | :info:build ^ |
---|
663 | :info:build mdnsd.c:441:79: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
664 | :info:build if(m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name,m->an[j].name)) continue; |
---|
665 | :info:build ^~~~~~~~~~~~~ |
---|
666 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
667 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
668 | :info:build ^ |
---|
669 | :info:build mdnsd.c:452:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
670 | :info:build if((r = _r_next(d,0,m->an[i].name,m->an[i].type)) != 0 && r->unique && _a_match(&m->an[i],&r->rr) == 0) _conflict(d,r); |
---|
671 | :info:build ^~~~~~~~~~~~~ |
---|
672 | :info:build mdnsd.c:102:41: note: passing argument to parameter 'host' here |
---|
673 | :info:build mdnsdr _r_next(mdnsd d, mdnsdr r, char *host, int type) |
---|
674 | :info:build ^ |
---|
675 | :info:build mdnsd.c:466:13: warning: implicit declaration of function 'htons' is invalid in C99 [-Wimplicit-function-declaration] |
---|
676 | :info:build *port = htons(5353); |
---|
677 | :info:build ^ |
---|
678 | :info:build mdnsd.c:467:11: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] |
---|
679 | :info:build *ip = inet_addr("224.0.0.251"); |
---|
680 | :info:build ^ |
---|
681 | :info:build mdnsd.c:577:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
682 | :info:build message_qd(m,q->name,q->type,d->class); |
---|
683 | :info:build ^~~~~~~ |
---|
684 | :info:build ./1035.h:71:51: note: passing argument to parameter 'name' here |
---|
685 | :info:build void message_qd(struct message *m, unsigned char *name, unsigned short int type, unsigned short int class); |
---|
686 | :info:build ^ |
---|
687 | :info:build mdnsd.c:668:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
688 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
689 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
690 | :info:build mdnsd.c:668:19: note: place parentheses around the assignment to silence this warning |
---|
691 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
692 | :info:build ^ |
---|
693 | :info:build ( ) |
---|
694 | :info:build mdnsd.c:668:19: note: use '==' to turn this assignment into an equality comparison |
---|
695 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
696 | :info:build ^ |
---|
697 | :info:build == |
---|
698 | :info:build mdnsd.c:599:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
699 | :info:build message_an(m,q->name,q->type,d->class,c->rr.ttl - d->now.tv_sec); |
---|
700 | :info:build ^~~~~~~ |
---|
701 | :info:build ./1035.h:74:51: note: passing argument to parameter 'name' here |
---|
702 | :info:build void message_an(struct message *m, unsigned char *name, unsigned short int type, unsigned short int class, unsigned long int ttl); |
---|
703 | :info:build ^ |
---|
704 | :info:build mdnsd.c:693:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
705 | :info:build r->rr.name = strdup(host); |
---|
706 | :info:build ^ ~~~~~~~~~~~~ |
---|
707 | :info:build mdnsd.c:743:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
708 | :info:build r->rr.rdname = strdup(name); |
---|
709 | :info:build ^ ~~~~~~~~~~~~ |
---|
710 | :info:build mdnsd.c:668:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
711 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
712 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
713 | :info:build mdnsd.c:668:19: note: place parentheses around the assignment to silence this warning |
---|
714 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
715 | :info:build ^ |
---|
716 | :info:build ( ) |
---|
717 | :info:build mdnsd.c:668:19: note: use '==' to turn this assignment into an equality comparison |
---|
718 | :info:build while(cur = _c_next(d,cur,q->name,q->type)) |
---|
719 | :info:build ^ |
---|
720 | :info:build == |
---|
721 | :info:build mdnsd.c:693:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
722 | :info:build r->rr.name = strdup(host); |
---|
723 | :info:build ^ ~~~~~~~~~~~~ |
---|
724 | :info:build mdnsd.c:743:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
725 | :info:build r->rr.rdname = strdup(name); |
---|
726 | :info:build ^ ~~~~~~~~~~~~ |
---|
727 | :info:build 42 warnings generated. |
---|
728 | :info:build 42 warnings generated. |
---|
729 | :info:build 1035.c:89:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
730 | :info:build 1035.c:89:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
731 | :info:build if(strcmp(*namep,m->_labels[x])) continue; |
---|
732 | :info:build ^~~~~~ |
---|
733 | :info:build /usr/include/string.h:77 if(strcmp(*namep,m->_labels[x])) continue; |
---|
734 | :info:build ^~~~~~ |
---|
735 | :info:build :25: note: passing argument to parameter '__s1' here |
---|
736 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter '__s1' here |
---|
737 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
738 | :info:build ^ |
---|
739 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
740 | :info:build ^ |
---|
741 | :info:build 1035.c:89:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
742 | :info:build 1035.c:89:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
743 | :info:build if(strcmp(*namep,m->_labels[x])) continue; |
---|
744 | :info:build ^~~~~~~~~~~~~ |
---|
745 | :info:build /usr/include/string.h:77:43: note: if(strcmp(*namep,m->_labels[x])) continue;passing argument to parameter '__s2' here |
---|
746 | :info:build ^~~~~~~~~~~~~ |
---|
747 | :info:build /usr/include/string.h:77:43: note: passing argument to parameter '__s2' here |
---|
748 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
749 | :info:build ^ |
---|
750 | :info:build int strcmp(const char *__s1, const char *__s2); |
---|
751 | :info:build ^ |
---|
752 | :info:build 1035.c:208:32: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
753 | :info:build rr[i].known.a.name = m->_packet + m->_len; |
---|
754 | :info:build ^ ~~~~~~~~~~~~~~~~~~~~ |
---|
755 | :info:build 1035.c:208:32: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]1035.c |
---|
756 | :info:build :210:13: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] |
---|
757 | :info:build rr[i].known.a.name = m->_packet + m->_len; |
---|
758 | :info:build ^ ~~~~~~~~~~~~~~~~~~~~ |
---|
759 | :info:build sprintf(rr[i].known.a.name,"%d.%d.%d.%d",(*bufp)[0],(*bufp)[1],(*bufp)[2],(*bufp)[3]); |
---|
760 | :info:build ^ |
---|
761 | :info:build 1035.c:210:13: 1035.c:210:13:note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf' |
---|
762 | :info:build warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] |
---|
763 | :info:build sprintf(rr[i].known.a.name,"%d.%d.%d.%d",(*bufp)[0],(*bufp)[1],(*bufp)[2],(*bufp)[3]); |
---|
764 | :info:build ^ |
---|
765 | :info:build 1035.c:210:13: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf' |
---|
766 | :info:build 1035.c:268:5: error: assignment to cast is illegal, lvalue casts are not supported |
---|
767 | :info:build my(m->qd, sizeof(struct question) * m->qdcount); |
---|
768 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
769 | :info:build 1035.c:244:49: note: expanded from macro 'my' |
---|
770 | :info:build #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; |
---|
771 | :info:build ^~~~~~~~ ~ |
---|
772 | :info:build 1035.c:268:5: error: assignment to cast is illegal, lvalue casts are not supported |
---|
773 | :info:build my(m->qd, sizeof(struct question) * m->qdcount); |
---|
774 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
775 | :info:build 1035.c:244:49: note: expanded from macro 'my' |
---|
776 | :info:build #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; |
---|
777 | :info:build ^~~~~~~~ ~ |
---|
778 | :info:build 1035.c:277:5: error: assignment to cast is illegal, lvalue casts are not supported |
---|
779 | :info:build my(m->an, sizeof(struct resource) * m->ancount); |
---|
780 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
781 | :info:build 1035.c:244:49: note: expanded from macro 'my' |
---|
782 | :info:build #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; |
---|
783 | :info:build ^~~~~~~~ ~ |
---|
784 | :info:build 1035.c:278:5: error: assignment to cast is illegal, lvalue casts are not supported |
---|
785 | :info:build 1035.c my(m->ns, sizeof(struct resource) * m->nscount);: |
---|
786 | :info:build 277 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: |
---|
787 | :info:build 5: error1035.c: :assignment to cast is illegal, lvalue casts are not supported244 |
---|
788 | :info:build :49: note: expanded from macro 'my' |
---|
789 | :info:build my(m->an, sizeof(struct resource) * m->ancount); |
---|
790 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
791 | :info:build 1035.c:244:49: note #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y;: |
---|
792 | :info:build expanded from macro 'my' ^~~~~~~~ ~ |
---|
793 | :info:build #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; |
---|
794 | :info:build ^~~~~~~~ ~ |
---|
795 | :info:build 1035.c:279:5: error: assignment to cast is illegal, lvalue casts are not supported |
---|
796 | :info:build 1035.c:278: my(m->ar, sizeof(struct resource) * m->arcount);5 |
---|
797 | :info:build : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
798 | :info:build error: assignment to cast is illegal, lvalue casts are not supported |
---|
799 | :info:build 1035.c:244:49: note: expanded from macro 'my' |
---|
800 | :info:build my(m->ns, sizeof(struct resource) * m->nscount); |
---|
801 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
802 | :info:build 1035.c:244:49: note: expanded from macro 'my' |
---|
803 | :info:build #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; |
---|
804 | :info:build ^~~~~~~~ ~ |
---|
805 | :info:build #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; |
---|
806 | :info:build ^~~~~~~~ ~ |
---|
807 | :info:build 1035.c:279:5: error: assignment to cast is illegal, lvalue casts are not supported |
---|
808 | :info:build my(m->ar, sizeof(struct resource) * m->arcount); |
---|
809 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
810 | :info:build 1035.c:244:49: note: expanded from macro 'my' |
---|
811 | :info:build #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; |
---|
812 | :info:build ^~~~~~~~ ~ |
---|
813 | :info:build 4 warnings and 4 errors generated. |
---|
814 | :info:build 4 warnings and 4 errors generated. |
---|
815 | :info:build make: *** [mquery] Error 1 |
---|
816 | :info:build make: *** Waiting for unfinished jobs.... |
---|
817 | :info:build sdtxt.c:49:32: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] |
---|
818 | :info:build buf = (unsigned char *)malloc(1); |
---|
819 | :info:build ^ |
---|
820 | :info:build sdtxt.c:49:32: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc' |
---|
821 | :info:build 1 warning generated. |
---|
822 | :info:build xht.c:43:27: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] |
---|
823 | :info:build if(n->key != 0 && strcmp(key, n->key) == 0) |
---|
824 | :info:build ^ |
---|
825 | :info:build xht.c:43:27: note: include the header <string.h> or explicitly provide a declaration for 'strcmp' |
---|
826 | :info:build xht.c:53:17: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] |
---|
827 | :info:build xnew = (xht)malloc(sizeof(struct xht_struct)); |
---|
828 | :info:build ^ |
---|
829 | :info:build xht.c:53:17: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc' |
---|
830 | :info:build xht.c:56:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] |
---|
831 | :info:build bzero(xnew->zen,sizeof(struct xhn_struct)*prime); |
---|
832 | :info:build ^ |
---|
833 | :info:build xht.c:56:5: note: include the header <strings.h> or explicitly provide a declaration for 'bzero' |
---|
834 | :info:build xht.c:86:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] |
---|
835 | :info:build free(n->key); |
---|
836 | :info:build ^ |
---|
837 | :info:build xht.c:93:1: warning: control reaches end of non-void function [-Wreturn-type] |
---|
838 | :info:build } |
---|
839 | :info:build ^ |
---|
840 | :info:build xht.c:110:5: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] |
---|
841 | :info:build memcpy(ckey,key,klen); |
---|
842 | :info:build ^ |
---|
843 | :info:build xht.c:110:5: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' |
---|
844 | :info:build 6 warnings generated. |
---|
845 | :info:build make: *** [mhttp] Error 1 |
---|
846 | :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work/mdnsd-0.7G' |
---|
847 | :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/work/mdnsd-0.7G" && /usr/bin/make -j8 -w all |
---|
848 | :info:build Exit code: 2 |
---|
849 | :error:build Failed to build mdnsd: command execution failed |
---|
850 | :debug:build Error code: CHILDSTATUS 36856 2 |
---|
851 | :debug:build Backtrace: command execution failed |
---|
852 | :debug:build while executing |
---|
853 | :debug:build "system {*}$notty {*}$nice $fullcmdstring" |
---|
854 | :debug:build invoked from within |
---|
855 | :debug:build "command_exec build" |
---|
856 | :debug:build (procedure "portbuild::build_main" line 8) |
---|
857 | :debug:build invoked from within |
---|
858 | :debug:build "$procedure $targetname" |
---|
859 | :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mdnsd/mdnsd/main.log for details. |
---|