Package: osmctools
Version: 0.1-2
There quite a lot of warnings when building osmctools they should
really be fixed:
gcc -DHAVE_CONFIG_H -I. -I../include -D_FORTIFY_SOURCE=2 -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -c -o osmconvert.o osmconvert.c
osmconvert.c: In function 'cww__flush':
osmconvert.c:6177:8: warning: ignoring return value of 'write',
declared with attribute warn_unused_result [-Wunused-result]
write(cww__fd,cww__buf,(char*)cww__bufp-(char*)cww__buf);
^
osmconvert.c: In function 'cwn__flush':
osmconvert.c:6046:8: warning: ignoring return value of 'write',
declared with attribute warn_unused_result [-Wunused-result]
write(cwn__fd,cwn__buf,(char*)cwn__bufp-(char*)cwn__buf);
^
osmconvert.c: In function 'rr__flush':
osmconvert.c:5919:8: warning: ignoring return value of 'write',
declared with attribute warn_unused_result [-Wunused-result]
write(rr__fd,rr__buf,(char*)rr__bufp-(char*)rr__buf);
^
osmconvert.c: In function 'posr__flush':
osmconvert.c:5638:8: warning: ignoring return value of 'write',
declared with attribute warn_unused_result [-Wunused-result]
write(posr__fd,posr__buf,(char*)posr__bufp-(char*)posr__buf);
^
osmconvert.c: In function 'assistant':
osmconvert.c:11032:14: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(s)
^
osmconvert.c:11044:14: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(s)
^
osmconvert.c:11072:8: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(s)
^
osmconvert.c:11084:10: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(input_file)
^
osmconvert.c:11110:10: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(s)
^
osmconvert.c:11165:12: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(changefile)
^
osmconvert.c:11186:12: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(polygon_file)
^
osmconvert.c:11211:12: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
D(minlon)
^
osmconvert.c:11213:12: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
D(minlat)
^
osmconvert.c:11215:12: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
D(maxlon)
^
osmconvert.c:11217:12: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
D(maxlat)
^
osmconvert.c:11231:12: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result [-Wunused-result]
DI(s)
^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wl,-z,relro -o osmconvert osmconvert.o -lz
gcc -DHAVE_CONFIG_H -I. -I../include -D_FORTIFY_SOURCE=2 -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -c -o osmfilter.o osmfilter.c
osmfilter.c: In function 'rr__flush':
osmfilter.c:3022:8: warning: ignoring return value of 'write',
declared with attribute warn_unused_result [-Wunused-result]
write(rr__fd,rr__buf,(char*)rr__bufp-(char*)rr__buf);
^
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wl,-z,relro -o osmfilter osmfilter.o
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]