1 | version:1 |
---|
2 | :debug:main glimpse has no conflicts |
---|
3 | :debug:main Executing org.macports.main (glimpse) |
---|
4 | :debug:main changing euid/egid - current euid: 0 - current egid: 0 |
---|
5 | :debug:main egid changed to: 501 |
---|
6 | :debug:main euid changed to: 502 |
---|
7 | :debug:main Skipping completed org.macports.archivefetch (glimpse) |
---|
8 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
9 | :debug:main Skipping completed org.macports.fetch (glimpse) |
---|
10 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
11 | :debug:main Skipping completed org.macports.checksum (glimpse) |
---|
12 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
13 | :debug:main Skipping completed org.macports.extract (glimpse) |
---|
14 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
15 | :debug:main Skipping completed org.macports.patch (glimpse) |
---|
16 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
17 | :debug:main Skipping completed org.macports.configure (glimpse) |
---|
18 | :debug:main Privilege de-escalation not attempted as not running as root. |
---|
19 | :debug:build build phase started at Mon Feb 17 12:19:00 CET 2014 |
---|
20 | :notice:build ---> Building glimpse |
---|
21 | :debug:build Executing org.macports.build (glimpse) |
---|
22 | :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9' |
---|
23 | :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5" && /usr/bin/make -j8 -w all LDFLAGS=-L/opt/local/lib' |
---|
24 | :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5" && /usr/bin/make -j8 -w all LDFLAGS=-L/opt/local/lib |
---|
25 | :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5' |
---|
26 | :info:build for d in compress agrep libtemplate index ; do \ |
---|
27 | :info:build ( cd $d; /Applications/Xcode.app/Contents/Developer/usr/bin/make ); \ |
---|
28 | :info:build done |
---|
29 | :info:build /usr/bin/clang -c -Iindex -Iagrep -Ilibtemplate/include -o get_filename.o get_filename.c |
---|
30 | :info:build /usr/bin/clang -c -Iindex -Iagrep -Ilibtemplate/include -o get_index.o get_index.c |
---|
31 | :info:build /usr/bin/clang -Iindex -Iagrep -Ilibtemplate/include -c -o index/io.o index/io.c |
---|
32 | :info:build make: *** No rule to make target `lib/libcast.a', needed by `notsglimpse'. Stop. |
---|
33 | :info:build make: *** Waiting for unfinished jobs.... |
---|
34 | :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/compress' |
---|
35 | :info:build /usr/bin/clang -I../index -I../agrep -I../libtemplate/include -O2 -c -o misc.o misc.c |
---|
36 | :info:build /usr/bin/clang -I../index -I../agrep -I../libtemplate/include -O2 -c -o main_tbuild.o main_tbuild.c |
---|
37 | :info:build get_index.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
38 | :info:build free_list(p1) |
---|
39 | :info:build ^~~~~~~~~ |
---|
40 | :info:build get_index.c:53:1: warning: control reaches end of non-void function [-Wreturn-type] |
---|
41 | :info:build } |
---|
42 | :info:build ^ |
---|
43 | :info:build get_filename.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
44 | :info:build read_filenames() |
---|
45 | :info:build ^~~~~~~~~~~~~~ |
---|
46 | :info:build get_index.c:56:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
47 | :info:build sorted_union(list1, list2, f, pf, cf) |
---|
48 | :info:build ^~~~~~~~~~~~ |
---|
49 | :info:build get_index.c:66:3: error: non-void function 'sorted_union' should return a value [-Wreturn-type] |
---|
50 | :info:build return; |
---|
51 | :info:build ^ |
---|
52 | :info:build get_index.c:97:4: error: non-void function 'sorted_union' should return a value [-Wreturn-type] |
---|
53 | :info:build return; |
---|
54 | :info:build ^ |
---|
55 | :info:build get_index.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
56 | :info:build sorted_intersection(filenum, list1, list2, f) |
---|
57 | :info:build ^~~~~~~~~~~~~~~~~~~ |
---|
58 | :info:build get_index.c:129:3: error: non-void function 'sorted_intersection' should return a value [-Wreturn-type] |
---|
59 | :info:build return; |
---|
60 | :info:build ^ |
---|
61 | :info:build get_index.c:225:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
62 | :info:build purge_offsets(p1) |
---|
63 | :info:build ^~~~~~~~~~~~~ |
---|
64 | :info:build get_index.c:241:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
65 | :info:build get_set(buffer, set, offset_table, patlen, pattern, patattr, outfile, partfp, frequency, prevfreq) |
---|
66 | :info:build ^~~~~~~ |
---|
67 | :info:build get_index.c:257:14: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
68 | :info:build int delim = encode8b(0); |
---|
69 | :info:build ^ |
---|
70 | :info:build get_index.c:269:16: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
71 | :info:build indexattr = decode8b(buffer[bdx2+1]); |
---|
72 | :info:build ^ |
---|
73 | :info:build get_index.c:272:16: warning: implicit declaration of function 'decode16b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
74 | :info:build indexattr = decode16b((buffer[bdx2+1] << 8) | (buffer[bdx2 + 2])); |
---|
75 | :info:build ^ |
---|
76 | :info:build get_index.c:318:14: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] |
---|
77 | :info:build if ((ret = memagrep_search(patlen, pattern, bdx2+1, buffer, 0, outfile)) <= 0) return 0; |
---|
78 | :info:build ^ |
---|
79 | :info:build get_index.c:328:6: warning: implicit declaration of function 'get_block_numbers' is invalid in C99 [-Wimplicit-function-declaration] |
---|
80 | :info:build get_block_numbers(&buffer[bdx2], &buffer[bdx2], partfp); |
---|
81 | :info:build ^ |
---|
82 | :info:build get_index.c:344:8: warning: implicit declaration of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
83 | :info:build x = decode24b(x); |
---|
84 | :info:build ^ |
---|
85 | :info:build misc.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
86 | :info:build get_index.c:355:8: warning: implicit declaration of function 'decode12b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
87 | :info:build x = decode12b(x); |
---|
88 | :info:build ^ |
---|
89 | :info:build set_usemalloc() |
---|
90 | :info:build ^~~~~~~~~~~~~ |
---|
91 | :info:build misc.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] |
---|
92 | :info:build } |
---|
93 | :info:build ^ |
---|
94 | :info:build misc.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
95 | :info:build unset_usemalloc() |
---|
96 | :info:build ^~~~~~~~~~~~~~~ |
---|
97 | :info:build misc.c:42:1: warning: control reaches end of non-void function [-Wreturn-type] |
---|
98 | :info:build } |
---|
99 | :info:build ^ |
---|
100 | :info:build get_index.c:489:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
101 | :info:build get_index(infile, index_tab, offset_tab, pattern, patlen, patattr, index_argv, index_argc, outfile, partfp, parse, first_time) |
---|
102 | :info:build ^~~~~~~~~ |
---|
103 | :info:build misc.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
104 | :info:build myfpcopy(fp, src) |
---|
105 | :info:build ^~~~~~~~ |
---|
106 | :info:build get_filename.c:63:9: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
107 | :info:build get_index.c:524:14: fgets(buffer, MAX_NAME_SIZE, fp); |
---|
108 | :info:build warning: ^~~~~~passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
109 | :info:build |
---|
110 | :info:build misc.c:75:1 while(fgets(dest_index_buf+1, REAL_INDEX_BUF-1, f_in)) { |
---|
111 | :info:build ^~~~~~~~~~~~~~~~ |
---|
112 | :info:build : warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
113 | :info:build mystrcpy(dest, src) |
---|
114 | :info:build ^~~~~~~~ |
---|
115 | :info:build misc.c:80:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
116 | :info:build while(*dest = *src) { |
---|
117 | :info:build ~~~~~~^~~~~~ |
---|
118 | :info:build main_tbuild.c:17:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
119 | :info:build usage(progname) |
---|
120 | :info:build ^~~~~ |
---|
121 | :info:build misc.c:80:14: note: place parentheses around the assignment to silence this warning |
---|
122 | :info:build while(*dest = *src) { |
---|
123 | :info:build ^ |
---|
124 | :info:build ( ) |
---|
125 | :info:build misc.c:80:14: note: use '==' to turn this assignment into an equality comparison |
---|
126 | :info:build while(*dest = *src) { |
---|
127 | :info:build ^ |
---|
128 | :info:build == |
---|
129 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
130 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
131 | :info:build ^ |
---|
132 | :info:build get_index.c:528:112: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
133 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
134 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
135 | :info:build ^ |
---|
136 | :info:build if ((ret = get_set(&dest_index_buf[0], dest_index_set, offsetptr, patlen, pattern, patattr, outfile, partfp, &dest_index_set[REAL_PARTITION - 2], index_tab[REAL_PARTITION - 2])) != 0) |
---|
137 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
138 | :info:build In file included from index/io.c:12: |
---|
139 | :info:build index/utils.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
140 | :info:build main_tbuild.c:26:1: error: second parameter of 'main' (argument array) must be of type 'char **' |
---|
141 | :info:build main(argc, argv) |
---|
142 | :info:build ^ |
---|
143 | :info:build main_tbuild.c:44:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
144 | :info:build get_index.c:584:48: if (argv[i][0] != '-') return usage(argv[0]); |
---|
145 | :info:build ^~~~~~~ |
---|
146 | :info:build hashNk(name, len) |
---|
147 | :info:build ^~~~~~ |
---|
148 | :info:build get_filename.c:64:27: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
149 | :info:build first_line_len = strlen(buffer); |
---|
150 | :info:build ^~~~~~ |
---|
151 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
152 | :info:build size_t strlen(const char *); |
---|
153 | :info:build ^ |
---|
154 | :info:build main_tbuild.c:45:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
155 | :info:build get_filename.c:66:10: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
156 | :info:build else if (argv[i][1] == 'H') strcpy(comp_dir, argv[++i]); warning: |
---|
157 | :info:build sscanf(buffer, "%d", &file_num); ^~~~~~~~~ |
---|
158 | :info:build |
---|
159 | :info:build ^~~~~~ |
---|
160 | :info:build /usr/include/secure/_string.h/usr/include/stdio.h::83268::3336:: note: note: expanded from macro 'strcpy'passing argument to parameter here |
---|
161 | :info:build |
---|
162 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
163 | :info:build ^ |
---|
164 | :info:build misc.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
165 | :info:build passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
166 | :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); |
---|
167 | :info:build ^ |
---|
168 | :info:build build_freq(freq_words_table, freq_words_strings, freq_words_lens, freq_file, flags) |
---|
169 | :info:build ^~~~~~~~~~ |
---|
170 | :info:build main_tbuild.c:46:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
171 | :info:build sorted_union(&offset_tab[i], &offsetptr[i], &index_tab[REAL_PARTITION - 2], dest_index_set[REAL_PARTITION - 2], 0); |
---|
172 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
173 | :info:build else if (argv[i][1] == 't') threshold = atoi(argv[++i]); |
---|
174 | :info:build ^~~~~~~~~ |
---|
175 | :info:build /usr/include/stdlib.h:132:23: note: passing argument to parameter here |
---|
176 | :info:build int atoi(const char *); |
---|
177 | :info:build ^ |
---|
178 | :info:build main_tbuild.c:47:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
179 | :info:build else if (argv[i][1] == 'l') specialwords = atoi(argv[++i]); |
---|
180 | :info:build ^~~~~~~~~ |
---|
181 | :info:build /usr/include/stdlib.h:132:23: note: passing argument to parameter here |
---|
182 | :info:build int atoi(const char *); |
---|
183 | :info:build ^ |
---|
184 | :info:build main_tbuild.c:51:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
185 | :info:build else return usage(argv[0]); |
---|
186 | :info:build ^~~~~~~ |
---|
187 | :info:build get_index.c:641:49: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
188 | :info:build sorted_union(&offset_tab[i], &offsetptr[i], &index_tab[REAL_PARTITION - 2], dest_index_set[REAL_PARTITION - 2], 0); |
---|
189 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
190 | :info:build get_index.c:654:63: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
191 | :info:build sorted_intersection(i, &offset_tab[i], &offsetptr[i], &index_tab[REAL_PARTITION - 2]); |
---|
192 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
193 | :info:build index/io.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
194 | :info:build get_array_of_lines(inputfile, table, max_entry, overflow_ok) |
---|
195 | :info:build ^~~~~~~~~~~~~~~~~~ |
---|
196 | :info:build get_index.c:697:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
197 | :info:build mgrep_get_index(infile, index_tab, offset_tab, pat_list, pat_lens, pat_attr, mgrep_pat_index, num_mgrep_pat, patbufpos, index_argv, index_argc, outfile, partfp, parse, first_time) |
---|
198 | :info:build ^~~~~~~~~~~~~~~ |
---|
199 | :info:build index/io.c:66:8: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
200 | :info:build fgets(buffer, MAX_NAME_BUF, file_in); |
---|
201 | :info:build ^~~~~~ |
---|
202 | :info:build get_index.c:734:13: warning: implicit declaration of function 'fileagrep' is invalid in C99 [-Wimplicit-function-declaration] |
---|
203 | :info:build if ((ret = fileagrep(index_argc, index_argv, 0, f_in)) < 0) { |
---|
204 | :info:build ^ |
---|
205 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
206 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
207 | :info:build ^ |
---|
208 | :info:build index/io.c:67:9: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
209 | :info:build get_index.c:746:18: warning: implicit declaration of function 'memagrep_init' is invalid in C99 [-Wimplicit-function-declaration] |
---|
210 | :info:build sscanf(buffer, "%d", &num_lines); |
---|
211 | :info:build ^~~~~~ |
---|
212 | :info:build /usr/include/stdio.h:268:36: note: passing argument to parameter here |
---|
213 | :info:build if ((dummylen = memagrep_init(index_argc, index_argv, MAX_PAT, dummypat)) <= 0) { |
---|
214 | :info:build ^ |
---|
215 | :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); |
---|
216 | :info:build ^ |
---|
217 | :info:build get_index.c:779:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
218 | :info:build while(fgets(dest_index_buf+1, REAL_INDEX_BUF, f_in)) { |
---|
219 | :info:build ^~~~~~~~~~~~~~~~ |
---|
220 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
221 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
222 | :info:build ^ |
---|
223 | :info:build get_index.c:781:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
224 | :info:build sscanf(&dest_index_buf[1], "%d-", &patnum); |
---|
225 | :info:build ^~~~~~~~~~~~~~~~~~ |
---|
226 | :info:build /usr/include/stdio.h:268:36: note: passing argument to parameter here |
---|
227 | :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); |
---|
228 | :info:build ^ |
---|
229 | :info:build get_filename.c:77:3: warning: implicit declaration of function 'initialize_data_structures' is invalid in C99 [-Wimplicit-function-declaration] |
---|
230 | :info:build index/io.c:75:14: warning: initialize_data_structures(file_num);passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
231 | :info:build |
---|
232 | :info:build ^ |
---|
233 | :info:build get_index.c:793:9: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
234 | :info:build while(fgets(buffer, MAX_NAME_BUF, file_in)) { |
---|
235 | :info:build ^~~~~~ |
---|
236 | :info:build /usr/include/stdio.h:236:30: note: &setptr[REAL_PARTITION - 2], min); |
---|
237 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
238 | :info:build passing argument to parameter here |
---|
239 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
240 | :info:build ^ |
---|
241 | :info:build index/io.c:76:24: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
242 | :info:build line_length = strlen(buffer); |
---|
243 | :info:build ^~~~~~ |
---|
244 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
245 | :info:build size_t strlen(const char *); |
---|
246 | :info:build ^ |
---|
247 | :info:build get_index.c:876:79: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
248 | :info:build sorted_union(&offset_tab[i], &multi_dest_offset_table[sorted[patnum]][i], &index_tab[REAL_PARTITION - 2], multi_dest_index_set[sorted[patnum]][REAL_PARTITION - 2], 0); |
---|
249 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
250 | :info:build get_index.c:938:80: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
251 | :info:build index/io.c:107:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
252 | :info:build strcpy(np, buffer); |
---|
253 | :info:build ^~~~~~ |
---|
254 | :info:build sorted_union(&offset_tab[i], &multi_dest_offset_table[sorted[patnum]][i], &index_tab[REAL_PARTITION - 2], multi_dest_index_set[sorted[patnum]][REAL_PARTITION - 2], 0); |
---|
255 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
256 | :info:build /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' |
---|
257 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
258 | :info:build ^ |
---|
259 | :info:build get_index.c:952:94: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
260 | :info:build 6 warnings and 1 error generated. |
---|
261 | :info:build sorted_intersection(i, &offset_tab[i], &multi_dest_offset_table[sorted[patnum]][i], &index_tab[REAL_PARTITION - 2]); |
---|
262 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
263 | :info:build misc.c:274:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
264 | :info:build initialize_common(freq_file, flags) |
---|
265 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
266 | :info:build misc.c:291:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
267 | :info:build uninitialize_common() |
---|
268 | :info:build ^~~~~~~~~~~~~~~~~~~ |
---|
269 | :info:build misc.c:294:2: error: non-void function 'uninitialize_common' should return a value [-Wreturn-type] |
---|
270 | :info:build return; |
---|
271 | :info:build ^ |
---|
272 | :info:build get_index.c:1063:12: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
273 | :info:build if (stat(s, &st) == -1) { |
---|
274 | :info:build ^ |
---|
275 | :info:build /usr/include/sys/stat.h:352:22: note: passing argument to parameter here |
---|
276 | :info:build int stat(const char *, struct stat *) __DARWIN_INODE64(stat); |
---|
277 | :info:build ^ |
---|
278 | :info:build get_index.c:1084:7: warning: implicit declaration of function 'get_mini' is invalid in C99 [-Wimplicit-function-declaration] |
---|
279 | :info:build if (!get_mini(word, len, &beginoffset, &endoffset, 0, mini_array_len, minifp)) return 0; |
---|
280 | :info:build ^ |
---|
281 | :info:build index/io.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
282 | :info:build get_index_type(s, dashn, num, attr, delim) |
---|
283 | :info:build ^~~~~~~~~~~~~~ |
---|
284 | :info:build get_index.c:1091:44: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
285 | :info:build while ((curroffset < endoffset) && (fgets(s, MAX_LINE_LEN, indexfp) != NULL)) { |
---|
286 | :info:build ^ |
---|
287 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
288 | :info:build get_filename.c:126:103: warning: implicit declaration of function 'slow_mask_filenames' is invalid in C99 [-Wimplicit-function-declaration] |
---|
289 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
290 | :info:build ^ |
---|
291 | :info:build if ((num_blocks*100/num_files > DEF_MAX_INDEX_PERCENT/2) && (num_blocks > MaxNum8bPartition)) return slow_mask_filenames(index_vect, infile); |
---|
292 | :info:build ^ |
---|
293 | :info:build index/io.c:188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
294 | :info:build get_block_numbers(srcbuf, destbuf, partfp) |
---|
295 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
296 | :info:build get_index.c:1101:16: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
297 | :info:build cmp = strcmp(word, s); |
---|
298 | :info:build ^~~~ |
---|
299 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter here |
---|
300 | :info:build index/io.c:212:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
301 | :info:build int strcmp(const char *, const char *); |
---|
302 | :info:build ^ |
---|
303 | :info:build get_index.c:1101:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
304 | :info:build if (fgets(destbuf, REAL_INDEX_BUF - MAX_WORD_BUF - 1, partfp) == NULL) { |
---|
305 | :info:build ^~~~~~~ |
---|
306 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
307 | :info:build cmp = strcmp(word, s); |
---|
308 | :info:build ^ |
---|
309 | :info:build /usr/include/string.h:77:39:char *fgets(char * __restrict, int, FILE *); |
---|
310 | :info:build note: passing argument to parameter here |
---|
311 | :info:build ^int strcmp(const char *, const char *); |
---|
312 | :info:build ^ |
---|
313 | :info:build |
---|
314 | :info:build get_index.c:1112:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
315 | :info:build fputs(s, outfp); |
---|
316 | :info:build ^ |
---|
317 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
318 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
319 | :info:build ^ |
---|
320 | :info:build index/io.c:218:1: warning: control reaches end of non-void function [-Wreturn-type] |
---|
321 | :info:build } |
---|
322 | :info:build ^ |
---|
323 | :info:build get_index.c:1120:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
324 | :info:build fillup_target(result_index_set, result_offset_table, parse) |
---|
325 | :info:build ^~~~~~~~~~~~~ |
---|
326 | :info:build get_index.c:1141:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
327 | :info:build strcpy(index_argv[patindex], pat_list[i]); /* i-th pattern in its right position */ |
---|
328 | :info:build ^~~~~~~~~~~ |
---|
329 | :info:build /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' |
---|
330 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
331 | :info:build ^ |
---|
332 | :info:build get_filename.c:173:15: warning: implicit declaration of function 'memagrep' is invalid in C99 [-Wimplicit-function-declaration] |
---|
333 | :info:build if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer, outputbuffer_len, outputbuffer)) <= 0) || (agrep_outpointer <= 0)) && (errno != ERANGE)) { |
---|
334 | :info:build ^ |
---|
335 | :info:build get_index.c:1175:71: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
336 | :info:build if (-1 ==get_index(tempfile, result_index_set, result_offset_table, pat_list[i], pat_lens[i], pat_attr[i], index_argv, index_argc, nullfp, partfp, parse, first_time)) |
---|
337 | :info:build ^~~~~~~~~~~ |
---|
338 | :info:build get_index.c:1195:5: warning: incompatible pointer types passing 'unsigned char *[16]' to parameter of type 'char **' [-Wincompatible-pointer-types] |
---|
339 | :info:build pat_list, pat_lens, pat_attr, mgrep_pat_index, num_mgrep_pat, patbufpos, |
---|
340 | :info:build ^~~~~~~~ |
---|
341 | :info:build get_index.c:1239:8: warning: implicit declaration of function 'split_terminal' is invalid in C99 [-Wimplicit-function-declaration] |
---|
342 | :info:build if (split_terminal(tree->terminalindex, tree->terminalindex+1) <= 0) return -1; |
---|
343 | :info:build ^ |
---|
344 | :info:build make[1]: *** [main_tbuild.o] Error 1 |
---|
345 | :info:build make[1]: *** Waiting for unfinished jobs.... |
---|
346 | :info:build index/io.c:266:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
347 | :info:build len = strlen(filter_command[i]); |
---|
348 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
349 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
350 | :info:build size_t strlen(const char *); |
---|
351 | :info:build ^ |
---|
352 | :info:build index/io.c:272:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
353 | :info:build if ((filter_handle[i] = dlopen(filter_command[i], |
---|
354 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
355 | :info:build /usr/include/dlfcn.h:57:35: note: passing argument to parameter '__path' here |
---|
356 | :info:build extern void * dlopen(const char * __path, int __mode); |
---|
357 | :info:build ^ |
---|
358 | :info:build get_index.c:1316:64:index/io.c:326:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
---|
359 | :info:build warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
360 | :info:build escapesinglequote(in_name, escaped_in); |
---|
361 | :info:build ^~~~~~~ |
---|
362 | :info:build index/io.c:327:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
---|
363 | :info:build sorted_union(&src_offset_table[i], &curr_offset_table[i], &src_index_set[REAL_PARTITION - 2], curr_index_set[REAL_PARTITION - 2], 0); |
---|
364 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
365 | :info:build escapesinglequote(out_name, escaped_out); |
---|
366 | :info:build ^~~~~~~~ |
---|
367 | :info:build 10 warnings and 1 error generated. |
---|
368 | :info:build index/io.c:369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
369 | :info:build read_filters(index_dir, dofilter) |
---|
370 | :info:build ^~~~~~~~~~~~ |
---|
371 | :info:build index/io.c:387:20: error: non-void function 'read_filters' should return a value [-Wreturn-type] |
---|
372 | :info:build if (!dofilter) return; |
---|
373 | :info:build ^ |
---|
374 | :info:build get_index.c:1373:65: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
375 | :info:build sorted_union(&src_offset_table[i], &curr_offset_table[i], &src_index_set[REAL_PARTITION - 2], curr_index_set[REAL_PARTITION - 2], 0); |
---|
376 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
377 | :info:build get_index.c:1386:79: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
378 | :info:build sorted_intersection(i, &src_offset_table[i], &curr_offset_table[i], &src_index_set[REAL_PARTITION - 2]); |
---|
379 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
380 | :info:build index/io.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
381 | :info:build apply_filter(inname, outname) |
---|
382 | :info:build ^~~~~~~~~~~~ |
---|
383 | :info:build index/io.c:481:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
384 | :info:build if ((suffix = strstr(name+1, filter[i])) != NULL) { /* Chris Dalton */ |
---|
385 | :info:build ^~~~~~~~~ |
---|
386 | :info:build /usr/include/string.h:89:40: note: passing argument to parameter here |
---|
387 | :info:build char *strstr(const char *, const char *); |
---|
388 | :info:build ^ |
---|
389 | :info:build make[1]: *** [misc.o] Error 1 |
---|
390 | :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/compress' |
---|
391 | :info:build 42 warnings and 3 errors generated. |
---|
392 | :info:build index/io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
393 | :info:build if (strcmp(filter[i], suffix) == 0) { |
---|
394 | :info:build ^~~~~~~~~ |
---|
395 | :info:build /usr/include/string.h:77:25: note: passing argument to parameter here |
---|
396 | :info:build int strcmp(const char *, const char *); |
---|
397 | :info:build ^ |
---|
398 | :info:build index/io.c:526:9: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] |
---|
399 | :info:build get_filename.c:484:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
400 | :info:build (memagrep_search(-filter_len[i], filter[i], name_len + 2, name, 0, dummyout) > 0)) { |
---|
401 | :info:build ^ |
---|
402 | :info:build get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) |
---|
403 | :info:build ^~~~~~~~~~~~~ |
---|
404 | :info:build get_filename.c:539:6: error: non-void function 'get_filenames' should return a value [-Wreturn-type] |
---|
405 | :info:build return; |
---|
406 | :info:build ^index/io.c:566 |
---|
407 | :info:build :1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
408 | :info:build static_stop_list(word) |
---|
409 | :info:build ^~~~~~~~~~~~~~~~ |
---|
410 | :info:build get_filename.c:581:6: error: non-void function 'get_filenames' should return a value [-Wreturn-type] |
---|
411 | :info:build return; |
---|
412 | :info:build ^ |
---|
413 | :info:build make: *** [get_index.o] Error 1 |
---|
414 | :info:build get_filename.c:598:22: warning: implicit declaration of function 'memagrep_init' is invalid in C99 [-Wimplicit-function-declaration] |
---|
415 | :info:build if ((dummylen = memagrep_init(argc, argv, MAX_PAT, dummypat)) <= 0) goto end_files; |
---|
416 | :info:build ^ |
---|
417 | :info:build index/io.c:662:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
418 | :info:build my_free(ptr, size) |
---|
419 | :info:build ^~~~~~~ |
---|
420 | :info:build get_filename.c:600:12: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] |
---|
421 | :info:build index/io.c:709:1: warning: ret = memagrep_search(dummylen, dummypat, dummylen*2, beginptr, outputbuffer_len, outputbuffer); |
---|
422 | :info:build ^ |
---|
423 | :info:build type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
424 | :info:build tokenallfree() |
---|
425 | :info:build ^~~~~~~~~~~~ |
---|
426 | :info:build index/io.c:714:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
427 | :info:build tokenfree(e, len) |
---|
428 | :info:build ^~~~~~~~~ |
---|
429 | :info:build index/io.c:736:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
430 | :info:build indicesallfree() |
---|
431 | :info:build ^~~~~~~~~~~~~~ |
---|
432 | :info:build index/io.c:741:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
433 | :info:build indicesfree(e, len) |
---|
434 | :info:build ^~~~~~~~~~~ |
---|
435 | :info:build get_filename.c:673:7: error: non-void function 'get_filenames' should return a value [-Wreturn-type] |
---|
436 | :info:build return; |
---|
437 | :info:build ^ |
---|
438 | :info:build index/io.c:764:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
439 | :info:build wordallfree() |
---|
440 | :info:build ^~~~~~~~~~~ |
---|
441 | :info:build index/io.c:769:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
442 | :info:build wordfree(s, len) |
---|
443 | :info:build ^~~~~~~~ |
---|
444 | :info:build get_filename.c:752:7: error: non-void function 'get_filenames' should return a value [-Wreturn-type] |
---|
445 | :info:build return; |
---|
446 | :info:build ^ |
---|
447 | :info:build get_filename.c:778:2: error: non-void function 'get_filenames' should return a value [-Wreturn-type] |
---|
448 | :info:build return; |
---|
449 | :info:build ^ |
---|
450 | :info:build index/io.c:995:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
451 | :info:build index = hash64k(word, len); |
---|
452 | :info:build ^~~~ |
---|
453 | :info:build index/io.c:1049:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
454 | :info:build dump_mini(indexfile) |
---|
455 | :info:build ^~~~~~~~~ |
---|
456 | :info:build 10 warnings and 5 errors generated. |
---|
457 | :info:build index/io.c:1073:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
458 | :info:build sprintf(s, "%s.tmp", indexfile); |
---|
459 | :info:build ^ |
---|
460 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
461 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
462 | :info:build ^ |
---|
463 | :info:build index/io.c:1074:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
464 | :info:build if ((newindexfp = fopen(s, "w")) == NULL) { |
---|
465 | :info:build ^ |
---|
466 | :info:build /usr/include/stdio.h:240:36: note: passing argument to parameter here |
---|
467 | :info:build FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); |
---|
468 | :info:build ^ |
---|
469 | :info:build index/io.c:1081:8: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
470 | :info:build fgets(indexnumber, 256, indexfp); |
---|
471 | :info:build ^~~~~~~~~~~ |
---|
472 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
473 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
474 | :info:build ^ |
---|
475 | :info:build index/io.c:1082:8: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
476 | :info:build fgets(onefileperblock, 256, indexfp); |
---|
477 | :info:build ^~~~~~~~~~~~~~~ |
---|
478 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
479 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
480 | :info:build ^ |
---|
481 | :info:build index/io.c:1086:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
482 | :info:build while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { |
---|
483 | :info:build ^ |
---|
484 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
485 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
486 | :info:build ^ |
---|
487 | :info:build index/io.c:1088:20: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
488 | :info:build linelen = strlen(s); |
---|
489 | :info:build ^ |
---|
490 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
491 | :info:build size_t strlen(const char *); |
---|
492 | :info:build ^ |
---|
493 | :info:build index/io.c:1096:24: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
494 | :info:build hash_value = hash64k(s, j); |
---|
495 | :info:build ^ |
---|
496 | :info:build make: *** [get_filename.o] Error 1 |
---|
497 | :info:build index/io.c:1099:13: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
498 | :info:build if (fputs(s, newindexfp) == EOF) { |
---|
499 | :info:build ^ |
---|
500 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
501 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
502 | :info:build ^ |
---|
503 | :info:build index/io.c:1110:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
504 | :info:build sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); |
---|
505 | :info:build ^ |
---|
506 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
507 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
508 | :info:build ^ |
---|
509 | :info:build index/io.c:1111:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
510 | :info:build system(s); |
---|
511 | :info:build ^ |
---|
512 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
513 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
514 | :info:build ^ |
---|
515 | :info:build index/io.c:1117:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
516 | :info:build sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); |
---|
517 | :info:build ^ |
---|
518 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
519 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
520 | :info:build ^ |
---|
521 | :info:build index/io.c:1119:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
522 | :info:build rc = system(s); |
---|
523 | :info:build ^ |
---|
524 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
525 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
526 | :info:build ^ |
---|
527 | :info:build index/io.c:1130:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
528 | :info:build sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); |
---|
529 | :info:build ^ |
---|
530 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
531 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
532 | :info:build ^ |
---|
533 | :info:build index/io.c:1131:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
534 | :info:build system(s); |
---|
535 | :info:build ^ |
---|
536 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
537 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
538 | :info:build ^ |
---|
539 | :info:build index/io.c:1144:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
540 | :info:build sprintf(s, "%s.tmp", indexfile); |
---|
541 | :info:build ^ |
---|
542 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
543 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
544 | :info:build ^ |
---|
545 | :info:build index/io.c:1145:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
546 | :info:build if ((newindexfp = fopen(s, "w")) == NULL) { |
---|
547 | :info:build ^ |
---|
548 | :info:build /usr/include/stdio.h:240:36: note: passing argument to parameter here |
---|
549 | :info:build FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); |
---|
550 | :info:build ^ |
---|
551 | :info:build index/io.c:1151:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
552 | :info:build sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); |
---|
553 | :info:build ^ |
---|
554 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
555 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
556 | :info:build ^ |
---|
557 | :info:build index/io.c:1152:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
558 | :info:build if ((minifp = fopen(s, "w")) == NULL) { |
---|
559 | :info:build ^ |
---|
560 | :info:build /usr/include/stdio.h:240:36: note: passing argument to parameter here |
---|
561 | :info:build FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); |
---|
562 | :info:build ^ |
---|
563 | :info:build index/io.c:1159:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
564 | :info:build fputs(indexnumber, newindexfp); |
---|
565 | :info:build ^~~~~~~~~~~ |
---|
566 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
567 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
568 | :info:build ^ |
---|
569 | :info:build index/io.c:1160:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
570 | :info:build fputs(onefileperblock, newindexfp); |
---|
571 | :info:build ^~~~~~~~~~~~~~~ |
---|
572 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
573 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
574 | :info:build ^ |
---|
575 | :info:build index/io.c:1167:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
576 | :info:build while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { |
---|
577 | :info:build ^ |
---|
578 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
579 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
580 | :info:build ^ |
---|
581 | :info:build index/io.c:1168:20: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
582 | :info:build linelen = strlen(s); |
---|
583 | :info:build ^ |
---|
584 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
585 | :info:build size_t strlen(const char *); |
---|
586 | :info:build ^ |
---|
587 | :info:build index/io.c:1173:10: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
588 | :info:build sscanf(s, "%d", &hash_value); |
---|
589 | :info:build ^ |
---|
590 | :info:build /usr/include/stdio.h:268:36: note: passing argument to parameter here |
---|
591 | :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); |
---|
592 | :info:build ^ |
---|
593 | :info:build index/io.c:1175:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
594 | :info:build fputs(t, newindexfp); |
---|
595 | :info:build ^ |
---|
596 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
597 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
598 | :info:build ^ |
---|
599 | :info:build index/io.c:1210:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
600 | :info:build sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); |
---|
601 | :info:build ^ |
---|
602 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
603 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
604 | :info:build ^ |
---|
605 | :info:build index/io.c:1211:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
606 | :info:build system(s); |
---|
607 | :info:build ^ |
---|
608 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
609 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
610 | :info:build ^ |
---|
611 | :info:build index/io.c:1217:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
612 | :info:build sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); |
---|
613 | :info:build ^ |
---|
614 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
615 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
616 | :info:build ^ |
---|
617 | :info:build index/io.c:1218:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
618 | :info:build system(s); |
---|
619 | :info:build ^ |
---|
620 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
621 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
622 | :info:build ^ |
---|
623 | :info:build index/io.c:1236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
624 | :info:build initialize_data_structures(files) |
---|
625 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
626 | :info:build index/io.c:1261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
627 | :info:build destroy_data_structures() |
---|
628 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~ |
---|
629 | :info:build index/io.c:1463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
630 | :info:build insert_filename(name, name_index) |
---|
631 | :info:build ^~~~~~~~~~~~~~~ |
---|
632 | :info:build index/io.c:1474:20: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
633 | :info:build if (name == NULL) return; |
---|
634 | :info:build ^ |
---|
635 | :info:build index/io.c:1476:57: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
636 | :info:build if (special_parse_name(name, len, &begin, &end) == -1) return; |
---|
637 | :info:build ^ |
---|
638 | :info:build index/io.c:1479:3: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
639 | :info:build return; |
---|
640 | :info:build ^ |
---|
641 | :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/agrep' |
---|
642 | :info:build index/io.c:1496:/usr/bin/clang -L/opt/local/lib -o agrep follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o main.o |
---|
643 | :info:build 21: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
644 | :info:build if ((*pe) != NULL) return; |
---|
645 | :info:build ^ |
---|
646 | :info:build index/io.c:1515:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
647 | :info:build change_filename(name, len, index, newname) |
---|
648 | :info:build ^~~~~~~~~~~~~~~ |
---|
649 | :info:build index/io.c:1525:47: error: non-void function 'change_filename' should return a value [-Wreturn-type] |
---|
650 | :info:build if (special_get_name(name, len, temp) == -1) return; |
---|
651 | :info:build ^ |
---|
652 | :info:build index/io.c:1529:21: error: non-void function 'change_filename' should return a value [-Wreturn-type] |
---|
653 | :info:build if ((*pe) == NULL) return; |
---|
654 | :info:build ^ |
---|
655 | :info:build index/io.c:1534:2: error: non-void function 'change_filename' should return a value [-Wreturn-type] |
---|
656 | :info:build return; |
---|
657 | :info:build ^ |
---|
658 | :info:build index/io.c:1537:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
659 | :info:build delete_filename(name, name_index) |
---|
660 | :info:build ^~~~~~~~~~~~~~~ |
---|
661 | :info:build index/io.c:1548:20: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
662 | :info:build if (name == NULL) return; |
---|
663 | :info:build ^ |
---|
664 | :info:build index/io.c:1550:57: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
665 | :info:build if (special_parse_name(name, len, &begin, &end) == -1) return; |
---|
666 | :info:build ^ |
---|
667 | :info:build index/io.c:1553:3: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
668 | :info:build return; |
---|
669 | :info:build ^ |
---|
670 | :info:build index/io.c:1570:21: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
671 | :info:build if ((*pe) == NULL) return; |
---|
672 | :info:build ^ |
---|
673 | :info:build index/io.c:1577:2: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
674 | :info:build return; |
---|
675 | :info:build ^ |
---|
676 | :info:build index/io.c:1580:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
677 | :info:build init_filename_hashtable() |
---|
678 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~ |
---|
679 | :info:build index/io.c:1587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
680 | :info:build build_filename_hashtable(names, num) |
---|
681 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~ |
---|
682 | :info:build index/io.c:1598:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
683 | :info:build destroy_filename_hashtable() |
---|
684 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
685 | :info:build 66 warnings and 13 errors generated. |
---|
686 | :info:build make: *** [index/io.o] Error 1 |
---|
687 | :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/agrep' |
---|
688 | :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate' |
---|
689 | :info:build Making all in util |
---|
690 | :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate/util' |
---|
691 | :info:build make[2]: Nothing to be done for `all'. |
---|
692 | :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate/util' |
---|
693 | :info:build Making all in template |
---|
694 | :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate/template' |
---|
695 | :info:build make[2]: Nothing to be done for `all'. |
---|
696 | :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate/template' |
---|
697 | :info:build Making all in lib |
---|
698 | :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate/lib' |
---|
699 | :info:build make[2]: Nothing to be done for `all'. |
---|
700 | :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate/lib' |
---|
701 | :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/libtemplate' |
---|
702 | :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/index' |
---|
703 | :info:build /usr/bin/clang -c -I../index -I../agrep -I../libtemplate/include io.c |
---|
704 | :info:build /usr/bin/clang -c -I../index -I../agrep -I../libtemplate/include build_in.c |
---|
705 | :info:build build_in.c:128:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
706 | :info:build build_index() |
---|
707 | :info:build ^~~~~~~~~~~ |
---|
708 | :info:build build_in.c:143:9: warning: implicit declaration of function 'build_hash' is invalid in C99 [-Wimplicit-function-declaration] |
---|
709 | :info:build build_hash(); |
---|
710 | :info:build ^ |
---|
711 | :info:build build_in.c:145:9: error: non-void function 'build_index' should return a value [-Wreturn-type] |
---|
712 | :info:build return; |
---|
713 | :info:build ^ |
---|
714 | :info:build build_in.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
715 | :info:build traverse() |
---|
716 | :info:build ^~~~~~~~ |
---|
717 | :info:build build_in.c:215:19: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
718 | :info:build attribute = encode16b(tp->attribute); |
---|
719 | :info:build ^ |
---|
720 | :info:build build_in.c:350:16: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
721 | :info:build temp = encode8b(0); |
---|
722 | :info:build ^ |
---|
723 | :info:build build_in.c:379:13: warning: implicit declaration of function 'encode24b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
724 | :info:build x = encode24b(ip->index[j]); |
---|
725 | :info:build ^ |
---|
726 | :info:build build_in.c:482:12: warning: implicit declaration of function 'encode12b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
727 | :info:build x = encode12b(ip->index[j]); |
---|
728 | :info:build ^ |
---|
729 | :info:build build_in.c:588:5: warning: implicit declaration of function 'tokenallfree' is invalid in C99 [-Wimplicit-function-declaration] |
---|
730 | :info:build tokenallfree(); |
---|
731 | :info:build ^ |
---|
732 | :info:build build_in.c:589:5: warning: implicit declaration of function 'indicesallfree' is invalid in C99 [-Wimplicit-function-declaration] |
---|
733 | :info:build indicesallfree(); |
---|
734 | :info:build ^ |
---|
735 | :info:build build_in.c:590:5: warning: implicit declaration of function 'wordallfree' is invalid in C99 [-Wimplicit-function-declaration] |
---|
736 | :info:build wordallfree(); |
---|
737 | :info:build ^ |
---|
738 | :info:build build_in.c:602:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
739 | :info:build traverse1() |
---|
740 | :info:build ^~~~~~~~~ |
---|
741 | :info:build build_in.c:713:9: error: non-void function 'traverse1' should return a value [-Wreturn-type] |
---|
742 | :info:build return; |
---|
743 | :info:build ^ |
---|
744 | :info:build build_in.c:744:5: warning: implicit declaration of function 'merge_in' is invalid in C99 [-Wimplicit-function-declaration] |
---|
745 | :info:build merge_in(i2, i1, i3); |
---|
746 | :info:build ^ |
---|
747 | :info:build build_in.c:784:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
748 | :info:build build_hash() |
---|
749 | :info:build ^~~~~~~~~~ |
---|
750 | :info:build build_in.c:807:26: warning: implicit declaration of function 'region_initialize' is invalid in C99 [-Wimplicit-function-declaration] |
---|
751 | :info:build if (StructuredIndex) region_initialize(); |
---|
752 | :info:build ^ |
---|
753 | :info:build build_in.c:808:5: warning: implicit declaration of function 'init_hash_table' is invalid in C99 [-Wimplicit-function-declaration] |
---|
754 | :info:build init_hash_table(); |
---|
755 | :info:build ^ |
---|
756 | :info:build build_in.c:818:18: error: non-void function 'build_hash' should return a value [-Wreturn-type] |
---|
757 | :info:build if (tried_once) return; |
---|
758 | :info:build ^ |
---|
759 | :info:build build_in.c:831:17: warning: implicit declaration of function 'tuncompress_file' is invalid in C99 [-Wimplicit-function-declaration] |
---|
760 | :info:build if ((ret = tuncompress_file(LIST_GET(name_list, i), outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT)) > 0) { /* do not remove old .TZ file */ |
---|
761 | :info:build ^ |
---|
762 | :info:build build_in.c:832:33: warning: implicit declaration of function 'region_create' is invalid in C99 [-Wimplicit-function-declaration] |
---|
763 | :info:build if (StructuredIndex && (-1 == region_create(outname))) { |
---|
764 | :info:build ^ |
---|
765 | :info:build build_in.c:834:7: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] |
---|
766 | :info:build remove_filename(i, -1); |
---|
767 | :info:build ^ |
---|
768 | :info:build build_in.c:840:28: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] |
---|
769 | :info:build if (StructuredIndex) region_destroy(); /* cannot happen! */ |
---|
770 | :info:build ^ |
---|
771 | :info:build In file included from io.c:12: |
---|
772 | :info:build ../index/utils.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
773 | :info:build build_in.c:850:17: warning: implicit declaration of function 'apply_filter' is invalid in C99 [-Wimplicit-function-declaration] |
---|
774 | :info:build if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { |
---|
775 | :info:build ^ |
---|
776 | :info:build hashNk(name, len) |
---|
777 | :info:build ^~~~~~ |
---|
778 | :info:build build_in.c:869:7: warning: implicit declaration of function 'filetype' is invalid in C99 [-Wimplicit-function-declaration] |
---|
779 | :info:build if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ |
---|
780 | :info:build ^ |
---|
781 | :info:build io.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
782 | :info:build get_array_of_lines(inputfile, table, max_entry, overflow_ok) |
---|
783 | :info:build ^~~~~~~~~~~~~~~~~~ |
---|
784 | :info:build io.c:66:8: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
785 | :info:build fgets(buffer, MAX_NAME_BUF, file_in); |
---|
786 | :info:build ^~~~~~ |
---|
787 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
788 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
789 | :info:build ^ |
---|
790 | :info:build io.c:67:9: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
791 | :info:build sscanf(buffer, "%d", &num_lines); |
---|
792 | :info:build ^~~~~~ |
---|
793 | :info:build /usr/include/stdio.h:268:36: note: passing argument to parameter here |
---|
794 | :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); |
---|
795 | :info:build ^ |
---|
796 | :info:build io.c:75:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
797 | :info:build while(fgets(buffer, MAX_NAME_BUF, file_in)) { |
---|
798 | :info:build ^~~~~~ |
---|
799 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
800 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
801 | :info:build ^ |
---|
802 | :info:build io.c:76:24: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
803 | :info:build line_length = strlen(buffer); |
---|
804 | :info:build ^~~~~~ |
---|
805 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
806 | :info:build size_t strlen(const char *); |
---|
807 | :info:build ^ |
---|
808 | :info:build build_in.c:1021:2: error: non-void function 'build_hash' should return a value [-Wreturn-type] |
---|
809 | :info:build return; |
---|
810 | :info:build ^ |
---|
811 | :info:build io.c:107:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
812 | :info:build strcpy(np, buffer); |
---|
813 | :info:build ^~~~~~ |
---|
814 | :info:build /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' |
---|
815 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
816 | :info:build ^ |
---|
817 | :info:build io.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
818 | :info:build get_index_type(s, dashn, num, attr, delim) |
---|
819 | :info:build ^~~~~~~~~~~~~~ |
---|
820 | :info:build io.c:188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
821 | :info:build get_block_numbers(srcbuf, destbuf, partfp) |
---|
822 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
823 | :info:build io.c:212:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
824 | :info:build if (fgets(destbuf, REAL_INDEX_BUF - MAX_WORD_BUF - 1, partfp) == NULL) { |
---|
825 | :info:build ^~~~~~~ |
---|
826 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
827 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
828 | :info:build ^ |
---|
829 | :info:build io.c:218:1: warning: control reaches end of non-void function [-Wreturn-type] |
---|
830 | :info:build } |
---|
831 | :info:build ^ |
---|
832 | :info:build build_in.c:1233:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
833 | :info:build io.c:266:15: init_hash_table()warning: |
---|
834 | :info:build passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]^~~~~~~~~~~~~~~ |
---|
835 | :info:build |
---|
836 | :info:build len = strlen(filter_command[i]); |
---|
837 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
838 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
839 | :info:build size_t strlen(const char *); |
---|
840 | :info:build ^ |
---|
841 | :info:build build_in.c:1238:5: error: non-void function 'init_hash_table' should return a value [-Wreturn-type] |
---|
842 | :info:build return; |
---|
843 | :info:build ^ |
---|
844 | :info:build io.c:272:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
845 | :info:build if ((filter_handle[i] = dlopen(filter_command[i], |
---|
846 | :info:build ^~~~~~~~~~~~~~~~~ |
---|
847 | :info:build /usr/include/dlfcn.h:57:35: note: passing argument to parameter '__path' here |
---|
848 | :info:build extern void * dlopen(const char * __path, int __mode); |
---|
849 | :info:build ^ |
---|
850 | :info:build build_in.c:1267:18: warning: implicit declaration of function 'hash64k' is invalid in C99 [-Wimplicit-function-declaration] |
---|
851 | :info:build hash_value = hashword(word, wordlen); |
---|
852 | :info:build ^ |
---|
853 | :info:build ../index/glimpse.h:233:96: note: expanded from macro 'hashword' |
---|
854 | :info:build #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); |
---|
855 | :info:build ^ |
---|
856 | :info:build build_in.c:1267:18: warning: implicit declaration of function 'hash256k' is invalid in C99 [-Wimplicit-function-declaration] |
---|
857 | :info:build ../index/glimpse.h:233:123: note: expanded from macro 'hashword' |
---|
858 | :info:build #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); |
---|
859 | :info:build ^ |
---|
860 | :info:build io.c:326:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
---|
861 | :info:build escapesinglequote(in_name, escaped_in); |
---|
862 | :info:build ^~~~~~~ |
---|
863 | :info:build io.c:327:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
---|
864 | :info:build escapesinglequote(out_name, escaped_out); |
---|
865 | :info:build ^~~~~~~~ |
---|
866 | :info:build io.c:369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
867 | :info:build read_filters(index_dir, dofilter) |
---|
868 | :info:build ^~~~~~~~~~~~ |
---|
869 | :info:build io.c:387:20: error: non-void function 'read_filters' should return a value [-Wreturn-type] |
---|
870 | :info:build if (!dofilter) return; |
---|
871 | :info:build ^ |
---|
872 | :info:build build_in.c:1459:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
873 | :info:build scanword(word, buffer, buffer_end, attr) |
---|
874 | :info:build ^~~~~~~~ |
---|
875 | :info:build build_in.c:1484:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
876 | :info:build merge_in(f1, f2, f3) |
---|
877 | :info:build ^~~~~~~~ |
---|
878 | :info:build io.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
879 | :info:build build_in.c:1507:15:apply_filter(inname, outname) |
---|
880 | :info:build ^~~~~~~~~~~~ |
---|
881 | :info:build warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
882 | :info:build if (fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) dest_index_buf[0] = '\0'; |
---|
883 | :info:build ^~~~~~~~~~~~~~ |
---|
884 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
885 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
886 | :info:build ^ |
---|
887 | :info:build build_in.c:1509:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
888 | :info:build io.c:481:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
889 | :info:build dest_end_pt = strlen(dest_index_buf); |
---|
890 | :info:build ^~~~~~~~~~~~~~ |
---|
891 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
892 | :info:build if ((suffix = strstr(name+1, filter[i])) != NULL) { /* Chris Dalton */ |
---|
893 | :info:build ^~~~~~~~~ |
---|
894 | :info:build size_t strlen(const char *); |
---|
895 | :info:build ^ |
---|
896 | :info:build /usr/include/string.h:89:40: note: passing argument to parameter here |
---|
897 | :info:build char *strstr(const char *, const char *); |
---|
898 | :info:build ^ |
---|
899 | :info:build build_in.c:1510:14: warning: passing 'char [70]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
900 | :info:build scanword(word2, dest_index_buf, dest_index_buf+dest_end_pt, &attr2); |
---|
901 | :info:build ^~~~~ |
---|
902 | :info:build build_in.c:1516:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
903 | :info:build while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) { |
---|
904 | :info:build ^~~~~~~~~~~~~ |
---|
905 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
906 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
907 | :info:build ^ |
---|
908 | :info:build build_in.c:1518:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
909 | :info:build src_end_pt = strlen(src_index_buf); |
---|
910 | :info:build ^~~~~~~~~~~~~ |
---|
911 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
912 | :info:build size_t strlen(const char *); |
---|
913 | :info:build ^ |
---|
914 | :info:build build_in.c:1519:15: warning: passing 'char [70]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
915 | :info:build scanword(word1, src_index_buf, src_index_buf+src_end_pt, &attr1); |
---|
916 | :info:build ^~~~~ |
---|
917 | :info:build build_in.c:1525:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
918 | :info:build fputs(dest_index_buf, f3); |
---|
919 | :info:build ^~~~~~~~~~~~~~ |
---|
920 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
921 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
922 | :info:build ^ |
---|
923 | :info:build build_in.c:1528:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
924 | :info:build if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) { |
---|
925 | :info:build ^~~~~~~~~~~~~~ |
---|
926 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
927 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
928 | :info:build ^ |
---|
929 | :info:build io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
930 | :info:build build_in.c:1534:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
931 | :info:build if (strcmp(filter[i], suffix) == 0) { |
---|
932 | :info:build ^~~~~~~~~ |
---|
933 | :info:build /usr/include/string.h dest_end_pt = strlen(dest_index_buf);: |
---|
934 | :info:build 77 ^~~~~~~~~~~~~~:25: note: |
---|
935 | :info:build passing argument to parameter here |
---|
936 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
937 | :info:build size_t strlen(const char *); |
---|
938 | :info:build ^ |
---|
939 | :info:build int strcmp(const char *, const char *); |
---|
940 | :info:build ^ |
---|
941 | :info:build build_in.c:1535:19: warning: passing 'char [70]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
942 | :info:build scanword(word2, dest_index_buf, dest_index_buf+dest_end_pt, &attr2); |
---|
943 | :info:build ^~~~~ |
---|
944 | :info:build io.c:526:9: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] |
---|
945 | :info:build build_in.c:1557:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
946 | :info:build strcpy(merge_index_buf, src_index_buf); /* save the word itself */ |
---|
947 | :info:build ^~~~~~~~~~~~~~~ |
---|
948 | :info:build /usr/include/secure/_string.h: (memagrep_search(-filter_len[i], filter[i], name_len + 2, name, 0, dummyout) > 0)) { |
---|
949 | :info:build ^ |
---|
950 | :info:build 83:27: note: expanded from macro 'strcpy' |
---|
951 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
952 | :info:build ^ |
---|
953 | :info:build build_in.c:1557:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
954 | :info:build strcpy(merge_index_buf, src_index_buf); /* save the word itself */ |
---|
955 | :info:build ^~~~~~~~~~~~~ |
---|
956 | :info:build /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' |
---|
957 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
958 | :info:build ^ |
---|
959 | :info:build build_in.c:1558:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
960 | :info:build merge_len = strlen(src_index_buf); /* merge_index_buf[merge_len] is '\0', merge_index_buf[merge_len-1] is a part of the word */ |
---|
961 | :info:build ^~~~~~~~~~~~~ |
---|
962 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
963 | :info:build size_t strlen(const char *); |
---|
964 | :info:build ^ |
---|
965 | :info:build build_in.c:1571:12: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
966 | :info:build x = decode8b(src_index_buf[bdx1]); |
---|
967 | :info:build ^ |
---|
968 | :info:build build_in.c:1577:9: warning: implicit declaration of function 'decode12b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
969 | :info:build x = decode12b(x); |
---|
970 | :info:build ^ |
---|
971 | :info:build build_in.c:1590:12: warning: implicit declaration of function 'decode16b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
972 | :info:build x = decode16b(x); |
---|
973 | :info:build ^ |
---|
974 | :info:build build_in.c:1595:12: warning: implicit declaration of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] |
---|
975 | :info:build x = decode24b(x);io.c:566:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
976 | :info:build ^ |
---|
977 | :info:build |
---|
978 | :info:build static_stop_list(word) |
---|
979 | :info:build ^~~~~~~~~~~~~~~~ |
---|
980 | :info:build build_in.c:1611:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
981 | :info:build strcpy(merge_index_buf, dest_index_buf); /* save the word itself */ |
---|
982 | :info:build ^~~~~~~~~~~~~~~ |
---|
983 | :info:build /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy' |
---|
984 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
985 | :info:build ^ |
---|
986 | :info:build build_in.c:1611:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
987 | :info:build strcpy(merge_index_buf, dest_index_buf); /* save the word itself */ |
---|
988 | :info:build ^~~~~~~~~~~~~~ |
---|
989 | :info:build /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' |
---|
990 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
991 | :info:build ^ |
---|
992 | :info:build build_in.c:1612:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
993 | :info:build merge_len = strlen(merge_index_buf); |
---|
994 | :info:build ^~~~~~~~~~~~~~~ |
---|
995 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
996 | :info:build size_t strlen(const char *); |
---|
997 | :info:build ^ |
---|
998 | :info:build io.c:662:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
999 | :info:build my_free(ptr, size) |
---|
1000 | :info:build ^~~~~~~ |
---|
1001 | :info:build io.c:709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1002 | :info:build tokenallfree() |
---|
1003 | :info:build ^~~~~~~~~~~~ |
---|
1004 | :info:build io.c:714:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1005 | :info:build tokenfree(e, len) |
---|
1006 | :info:build ^~~~~~~~~ |
---|
1007 | :info:build io.c:736:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1008 | :info:build indicesallfree() |
---|
1009 | :info:build ^~~~~~~~~~~~~~ |
---|
1010 | :info:build io.c:741:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1011 | :info:build indicesfree(e, len) |
---|
1012 | :info:build ^~~~~~~~~~~ |
---|
1013 | :info:build io.c:764:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1014 | :info:build wordallfree() |
---|
1015 | :info:build ^~~~~~~~~~~ |
---|
1016 | :info:build io.c:769:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1017 | :info:build wordfree(s, len) |
---|
1018 | :info:build ^~~~~~~~ |
---|
1019 | :info:build io.c:995:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1020 | :info:build index = hash64k(word, len); |
---|
1021 | :info:build ^~~~ |
---|
1022 | :info:build io.c:1049:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1023 | :info:build dump_mini(indexfile) |
---|
1024 | :info:build ^~~~~~~~~ |
---|
1025 | :info:build io.c:1073:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1026 | :info:build sprintf(s, "%s.tmp", indexfile); |
---|
1027 | :info:build ^ |
---|
1028 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
1029 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1030 | :info:build ^ |
---|
1031 | :info:build io.c:1074:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1032 | :info:build if ((newindexfp = fopen(s, "w")) == NULL) { |
---|
1033 | :info:build ^ |
---|
1034 | :info:build /usr/include/stdio.h:240:36: note: passing argument to parameter here |
---|
1035 | :info:build FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); |
---|
1036 | :info:build ^ |
---|
1037 | :info:build io.c:1081:8: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1038 | :info:build fgets(indexnumber, 256, indexfp); |
---|
1039 | :info:build ^~~~~~~~~~~ |
---|
1040 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
1041 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1042 | :info:build ^ |
---|
1043 | :info:build io.c:1082:8: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1044 | :info:build fgets(onefileperblock, 256, indexfp);build_in.c:1756:69: warning: |
---|
1045 | :info:build ^~~~~~~~~~~~~~~ |
---|
1046 | :info:build format specifies type 'int' but the argument has type 'unsigned char *' [-Wformat] |
---|
1047 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
1048 | :info:build fprintf(stderr,"Had to Realloc merge buffer (#3), new size is %d\n",merge_index_buf); |
---|
1049 | :info:build ~~ ^~~~~~~~~~~~~~~ |
---|
1050 | :info:build %s |
---|
1051 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1052 | :info:build ^ |
---|
1053 | :info:build io.c:1086:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1054 | :info:build while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { |
---|
1055 | :info:build ^ |
---|
1056 | :info:build /usr/include/stdio.h:build_in.c:1771:47: warning: format specifies type 'int' but the argument has type 'unsigned char *' [-Wformat] |
---|
1057 | :info:build 236:30: note: passing argument to parameter here |
---|
1058 | :info:build fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf); |
---|
1059 | :info:build ~~ ^~~~~~~~~~~~~~~ |
---|
1060 | :info:build %s |
---|
1061 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1062 | :info:build ^ |
---|
1063 | :info:build build_in.c:1782:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1064 | :info:build fputs(merge_index_buf, f3);io.c:1088:20: warning: |
---|
1065 | :info:build passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~ |
---|
1066 | :info:build |
---|
1067 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1068 | :info:build linelen = strlen(s); |
---|
1069 | :info:build ^ |
---|
1070 | :info:build /usr/include/string.h:82:int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs);28 |
---|
1071 | :info:build : ^ |
---|
1072 | :info:build note: passing argument to parameter here |
---|
1073 | :info:build size_t strlen(const char *); |
---|
1074 | :info:build ^ |
---|
1075 | :info:build build_in.c:1787:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1076 | :info:build strcpy(merge_index_buf, src_index_buf); |
---|
1077 | :info:build ^~~~~~~~~~~~~~~ |
---|
1078 | :info:build /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy' |
---|
1079 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
1080 | :info:build ^ |
---|
1081 | :info:build build_in.c:1787:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1082 | :info:build strcpy(merge_index_buf, src_index_buf); |
---|
1083 | :info:build ^~~~~~~~~~~~~ |
---|
1084 | :info:build /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' |
---|
1085 | :info:build __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) |
---|
1086 | :info:build ^ |
---|
1087 | :info:build build_in.c:1788:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1088 | :info:build bdx = strlen(merge_index_buf); /* merge_index_buf[bdx] is '\0', merge_index_buf[bdx-1] is '\n' */ |
---|
1089 | :info:build ^~~~~~~~~~~~~~~ |
---|
1090 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
1091 | :info:build io.c:1096:size_t strlen(const char *);24 |
---|
1092 | :info:build : ^ |
---|
1093 | :info:build warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1094 | :info:build hash_value = hash64k(s, j); |
---|
1095 | :info:build ^ |
---|
1096 | :info:build io.c:1099:13: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1097 | :info:build build_in.c:1810:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1098 | :info:build if (fputs(s, newindexfp) == EOF) { |
---|
1099 | :info:build ^ |
---|
1100 | :info:build /usr/include/stdio.h fputs(merge_index_buf, f3);:244:35: note: passing argument to parameter here |
---|
1101 | :info:build |
---|
1102 | :info:build ^~~~~~~~~~~~~~~ |
---|
1103 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1104 | :info:build ^ |
---|
1105 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1106 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1107 | :info:build ^ |
---|
1108 | :info:build io.c:1110:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1109 | :info:build sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); |
---|
1110 | :info:build ^ |
---|
1111 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
1112 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1113 | :info:build ^ |
---|
1114 | :info:build io.c:1111:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1115 | :info:build system(s); |
---|
1116 | :info:build ^ |
---|
1117 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
1118 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
1119 | :info:build ^build_in.c:1861:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1120 | :info:build |
---|
1121 | :info:build if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == 0) { |
---|
1122 | :info:build ^~~~~~~~~~~~~~ |
---|
1123 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
1124 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1125 | :info:build ^ |
---|
1126 | :info:build build_in.c:1867:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1127 | :info:build io.c:1117:10: warning: dest_end_pt = strlen(dest_index_buf);passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1128 | :info:build |
---|
1129 | :info:build ^~~~~~~~~~~~~~ |
---|
1130 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
1131 | :info:build size_t strlen(const char *); |
---|
1132 | :info:build ^ |
---|
1133 | :info:build build_in.c:1868:19: warning: passing 'char [70]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1134 | :info:build scanword(word2, dest_index_buf, dest_index_buf+dest_end_pt, &attr2); |
---|
1135 | :info:build ^~~~~ |
---|
1136 | :info:build sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); |
---|
1137 | :info:build build_in.c ^: |
---|
1138 | :info:build 1871:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1139 | :info:build /usr/include/secure/_stdio.h:47:28: fputs(src_index_buf, f3); |
---|
1140 | :info:build note: ^~~~~~~~~~~~~expanded from macro 'sprintf' |
---|
1141 | :info:build |
---|
1142 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1143 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1144 | :info:build ^ |
---|
1145 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1146 | :info:build ^ |
---|
1147 | :info:build build_in.c:1876:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1148 | :info:build io.c:1119:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(cmp != 0) fputs(src_index_buf, f3); |
---|
1149 | :info:build |
---|
1150 | :info:build ^~~~~~~~~~~~~ |
---|
1151 | :info:build /usr/include/stdio.h:244:35: note: rc = system(s);passing argument to parameter here |
---|
1152 | :info:build |
---|
1153 | :info:build ^ |
---|
1154 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
1155 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1156 | :info:build ^ |
---|
1157 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
1158 | :info:build ^ |
---|
1159 | :info:build build_in.c:1878:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1160 | :info:build while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) { |
---|
1161 | :info:build ^~~~~~~~~~~~~ |
---|
1162 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
1163 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1164 | :info:build ^ |
---|
1165 | :info:build build_in.c:1880:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1166 | :info:build io.c:1130:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1167 | :info:build src_end_pt = strlen(src_index_buf); |
---|
1168 | :info:build ^~~~~~~~~~~~~ |
---|
1169 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
1170 | :info:build size_t strlen(const char *); |
---|
1171 | :info:build ^ |
---|
1172 | :info:build sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); |
---|
1173 | :info:build ^ |
---|
1174 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'build_in.c:1881:19: warning: |
---|
1175 | :info:build passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1176 | :info:build fputs(src_index_buf, f3); |
---|
1177 | :info:build ^~~~~~~~~~~~~ |
---|
1178 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1179 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1180 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); ^ |
---|
1181 | :info:build |
---|
1182 | :info:build ^ |
---|
1183 | :info:build build_in.c:1886:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1184 | :info:build io.c:1131:9 fputs(dest_index_buf, f3); : |
---|
1185 | :info:build ^~~~~~~~~~~~~~warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1186 | :info:build |
---|
1187 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1188 | :info:build system(s); |
---|
1189 | :info:build ^ |
---|
1190 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter hereint fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1191 | :info:build |
---|
1192 | :info:build ^ |
---|
1193 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
1194 | :info:build ^ |
---|
1195 | :info:build build_in.c:1888:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1196 | :info:build while(fgets(dest_index_buf, REAL_INDEX_BUF, f2)) { |
---|
1197 | :info:build ^~~~~~~~~~~~~~ |
---|
1198 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
1199 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1200 | :info:build ^ |
---|
1201 | :info:build build_in.c:1890:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1202 | :info:build dest_end_pt = strlen(dest_index_buf); |
---|
1203 | :info:build ^~~~~~~~~~~~~~ |
---|
1204 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
1205 | :info:build io.c:size_t strlen(const char *);1144 |
---|
1206 | :info:build : ^10 |
---|
1207 | :info:build : warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1208 | :info:build sprintf(s, "%s.tmp", indexfile); |
---|
1209 | :info:build ^ |
---|
1210 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
1211 | :info:build build_in.c:1891:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1212 | :info:build fputs(dest_index_buf, f3); |
---|
1213 | :info:build ^~~~~~~~~~~~~~ |
---|
1214 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1215 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1216 | :info:build ^ |
---|
1217 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1218 | :info:build ^ |
---|
1219 | :info:build io.c:1145:26:build_in.c:1895:5: error: non-void function 'merge_in' should return a value [-Wreturn-type] |
---|
1220 | :info:build warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return; |
---|
1221 | :info:build |
---|
1222 | :info:build ^ |
---|
1223 | :info:build build_in.c:1898:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1224 | :info:build if ((newindexfp = fopen(s, "w")) == NULL) { |
---|
1225 | :info:build ^ |
---|
1226 | :info:build /usr/include/stdio.h:remove_filename(fileindex, new_partition)240:36: |
---|
1227 | :info:build ^~~~~~~~~~~~~~~note: |
---|
1228 | :info:build passing argument to parameter here |
---|
1229 | :info:build build_in.c:1901:60: error: non-void function 'remove_filename' should return a value [-Wreturn-type] |
---|
1230 | :info:build FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); |
---|
1231 | :info:build ^ |
---|
1232 | :info:build if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; |
---|
1233 | :info:build ^ |
---|
1234 | :info:build io.c:1151:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1235 | :info:build sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); |
---|
1236 | :info:build ^ |
---|
1237 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
1238 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1239 | :info:build ^ |
---|
1240 | :info:build io.c:1152:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1241 | :info:build if ((minifp = fopen(s, "w")) == NULL) { |
---|
1242 | :info:build ^ |
---|
1243 | :info:build /usr/include/stdio.h:240:36: note: passing argument to parameter here |
---|
1244 | :info:build FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); |
---|
1245 | :info:build ^ |
---|
1246 | :info:build build_in.c:1946:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1247 | :info:build get_new_index(deletedlist, oldfileindex) |
---|
1248 | :info:build ^~~~~~~~~~~~~ |
---|
1249 | :info:build io.c:1159:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1250 | :info:build fputs(indexnumber, newindexfp); |
---|
1251 | :info:build ^~~~~~~~~~~ |
---|
1252 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1253 | :info:build build_in.c:1965:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1254 | :info:build delete_removed_indices(deletedlist) |
---|
1255 | :info:build ^~~~~~~~~~~~~~~~~~~~~~ |
---|
1256 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1257 | :info:build ^ |
---|
1258 | :info:build io.c:1160:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1259 | :info:build fputs(onefileperblock, newindexfp); |
---|
1260 | :info:build ^~~~~~~~~~~~~~~ |
---|
1261 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1262 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1263 | :info:build ^ |
---|
1264 | :info:build io.c:1167:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1265 | :info:build while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { |
---|
1266 | :info:build ^ |
---|
1267 | :info:build /usr/include/stdio.h:236:30: note: passing argument to parameter here |
---|
1268 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1269 | :info:build ^ |
---|
1270 | :info:build build_in.c:2034:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1271 | :info:build while (fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { |
---|
1272 | :info:build ^~~~~~~~~~~~~ |
---|
1273 | :info:build /usr/include/stdio.h:236:30io.c:1168:20:: note: warning: passing argument to parameter here |
---|
1274 | :info:build passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1275 | :info:build char *fgets(char * __restrict, int, FILE *); |
---|
1276 | :info:build ^ |
---|
1277 | :info:build linelen = strlen(s); |
---|
1278 | :info:build ^ |
---|
1279 | :info:build /usr/include/string.h:82:28: note: passing argument to parameter here |
---|
1280 | :info:build size_t strlen(const char *); |
---|
1281 | :info:build ^ |
---|
1282 | :info:build io.c:1173:10: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1283 | :info:build sscanf(s, "%d", &hash_value); |
---|
1284 | :info:build ^ |
---|
1285 | :info:build /usr/include/stdio.h:268:36: note: passing argument to parameter here |
---|
1286 | :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); |
---|
1287 | :info:build ^ |
---|
1288 | :info:build build_in.c:2056:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1289 | :info:build fputs(dest_index_buf, i_out); |
---|
1290 | :info:build ^~~~~~~~~~~~~~ |
---|
1291 | :info:build /usr/include/stdio.hio.c:1175:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1292 | :info:build :244: fputs(t, newindexfp); |
---|
1293 | :info:build ^ |
---|
1294 | :info:build 35: /usr/include/stdio.h:244note: passing argument to parameter here |
---|
1295 | :info:build :35: note: passing argument to parameter here |
---|
1296 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1297 | :info:build ^ |
---|
1298 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1299 | :info:build ^ |
---|
1300 | :info:build io.c:1210:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1301 | :info:build sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); |
---|
1302 | :info:build ^ |
---|
1303 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
1304 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1305 | :info:build ^ |
---|
1306 | :info:build io.c:1211:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1307 | :info:build system(s); |
---|
1308 | :info:build ^ |
---|
1309 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
1310 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
1311 | :info:build ^ |
---|
1312 | :info:build io.c:1217:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1313 | :info:build sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); |
---|
1314 | :info:build ^ |
---|
1315 | :info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' |
---|
1316 | :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) |
---|
1317 | :info:build ^ |
---|
1318 | :info:build io.c:1218:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1319 | :info:build system(s); |
---|
1320 | :info:build ^ |
---|
1321 | :info:build /usr/include/stdlib.h:177:25: note: passing argument to parameter here |
---|
1322 | :info:build int system(const char *) __DARWIN_ALIAS_C(system); |
---|
1323 | :info:build ^ |
---|
1324 | :info:build io.c:1236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1325 | :info:build initialize_data_structures(files) |
---|
1326 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1327 | :info:build build_in.c:2216:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] |
---|
1328 | :info:build fputs(dest_index_buf, i_out); |
---|
1329 | :info:build ^~~~~~~~~~~~~~ |
---|
1330 | :info:build /usr/include/stdio.h:244:35: note: passing argument to parameter here |
---|
1331 | :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); |
---|
1332 | :info:build ^ |
---|
1333 | :info:build build_in.c:2239:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1334 | :info:build initialize_disable_list(files) |
---|
1335 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~ |
---|
1336 | :info:build io.c:1261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1337 | :info:build destroy_data_structures() |
---|
1338 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~ |
---|
1339 | :info:build 72 warnings and 7 errors generated. |
---|
1340 | :info:build make[1]: *** [build_in.o] Error 1 |
---|
1341 | :info:build make[1]: *** Waiting for unfinished jobs.... |
---|
1342 | :info:build io.c:1463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1343 | :info:build insert_filename(name, name_index) |
---|
1344 | :info:build ^~~~~~~~~~~~~~~ |
---|
1345 | :info:build io.c:1474:20: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
1346 | :info:build if (name == NULL) return; |
---|
1347 | :info:build ^ |
---|
1348 | :info:build io.c:1476:57: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
1349 | :info:build if (special_parse_name(name, len, &begin, &end) == -1) return; |
---|
1350 | :info:build ^ |
---|
1351 | :info:build io.c:1479:3: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
1352 | :info:build return; |
---|
1353 | :info:build ^ |
---|
1354 | :info:build io.c:1496:21: error: non-void function 'insert_filename' should return a value [-Wreturn-type] |
---|
1355 | :info:build if ((*pe) != NULL) return; |
---|
1356 | :info:build ^ |
---|
1357 | :info:build io.c:1515:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1358 | :info:build change_filename(name, len, index, newname) |
---|
1359 | :info:build ^~~~~~~~~~~~~~~ |
---|
1360 | :info:build io.c:1525:47: error: non-void function 'change_filename' should return a value [-Wreturn-type] |
---|
1361 | :info:build if (special_get_name(name, len, temp) == -1) return; |
---|
1362 | :info:build ^ |
---|
1363 | :info:build io.c:1529:21: error: non-void function 'change_filename' should return a value [-Wreturn-type] |
---|
1364 | :info:build if ((*pe) == NULL) return; |
---|
1365 | :info:build ^ |
---|
1366 | :info:build io.c:1534:2: error: non-void function 'change_filename' should return a value [-Wreturn-type] |
---|
1367 | :info:build return; |
---|
1368 | :info:build ^ |
---|
1369 | :info:build io.c:1537:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1370 | :info:build delete_filename(name, name_index) |
---|
1371 | :info:build ^~~~~~~~~~~~~~~ |
---|
1372 | :info:build io.c:1548:20: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
1373 | :info:build if (name == NULL) return; |
---|
1374 | :info:build ^ |
---|
1375 | :info:build io.c:1550:57: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
1376 | :info:build if (special_parse_name(name, len, &begin, &end) == -1) return; |
---|
1377 | :info:build ^ |
---|
1378 | :info:build io.c:1553:3: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
1379 | :info:build return; |
---|
1380 | :info:build ^ |
---|
1381 | :info:build io.c:1570:21: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
1382 | :info:build if ((*pe) == NULL) return; |
---|
1383 | :info:build ^ |
---|
1384 | :info:build io.c:1577:2: error: non-void function 'delete_filename' should return a value [-Wreturn-type] |
---|
1385 | :info:build return; |
---|
1386 | :info:build ^ |
---|
1387 | :info:build io.c:1580:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1388 | :info:build init_filename_hashtable() |
---|
1389 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~ |
---|
1390 | :info:build io.c:1587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1391 | :info:build build_filename_hashtable(names, num) |
---|
1392 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1393 | :info:build io.c:1598:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] |
---|
1394 | :info:build destroy_filename_hashtable() |
---|
1395 | :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1396 | :info:build 66 warnings and 13 errors generated. |
---|
1397 | :info:build make[1]: *** [io.o] Error 1 |
---|
1398 | :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5/index' |
---|
1399 | :info:build make: *** [build-sub] Error 2 |
---|
1400 | :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5' |
---|
1401 | :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/work/glimpse-4.18.5" && /usr/bin/make -j8 -w all LDFLAGS=-L/opt/local/lib |
---|
1402 | :info:build Exit code: 2 |
---|
1403 | :error:build org.macports.build for port glimpse returned: command execution failed |
---|
1404 | :debug:build Error code: CHILDSTATUS 1547 2 |
---|
1405 | :debug:build Backtrace: command execution failed |
---|
1406 | while executing |
---|
1407 | "system -nice 0 $fullcmdstring" |
---|
1408 | ("eval" body line 1) |
---|
1409 | invoked from within |
---|
1410 | "eval system $notty $nice \$fullcmdstring" |
---|
1411 | invoked from within |
---|
1412 | "command_exec build" |
---|
1413 | (procedure "portbuild::build_main" line 8) |
---|
1414 | invoked from within |
---|
1415 | "$procedure $targetname" |
---|
1416 | :info:build Warning: targets not executed for glimpse: org.macports.activate org.macports.build org.macports.destroot org.macports.install |
---|
1417 | :notice:build Please see the log file for port glimpse for details: |
---|
1418 | /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_glimpse/glimpse/main.log |
---|