gcc -DPACKAGE_NAME=\"dcraw\" -DPACKAGE_TARNAME=\"dcraw\" -DPACKAGE_VERSION=\"9.28\" -DPACKAGE_STRING=\"dcraw\ 9.28\" -DPACKAGE_BUGREPORT=\"hroch@physics.muni.cz\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dcraw\" -DVERSION=\"9.28\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_JPEGLIB_H=1 -DHAVE_LIBJPEG=1 -DHAVE_LCMS2_H=1 -DHAVE_LIBLCMS2=1 -I. -Wdate-
fujiturn.c: In function ‘main’:ljpeg -lm
fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
61 | fread (in, iwide, sizeof *in, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
78 | fread (in, iwide, sizeof *in, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fujiturn.c: In function ‘main’:
fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration]
76 | mid[orow*owide+ocol][i] = ntohs(in[icol][i]);
| ^~~~~
fujiturn.c:90:28: error: implicit declaration of function ‘htons’ [-Werror=implicit-function-declaration]
90 | out[ocol][i] = htons (
| ^~~~~
fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
61 | fread (in, iwide, sizeof *in, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
78 | fread (in, iwide, sizeof *in, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clean_crw.c: In function ‘main’:
clean_crw.c:54:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
54 | fread (buffer, 1, size, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fuji_green.c: In function ‘read_shorts’:
fuji_green.c:72:29: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration]
72 | if ((order == 0x4949) == (ntohs(0x1234) == 0x1234))
| ^~~~~
fuji_green.c:73:5: error: implicit declaration of function ‘swab’ [-Werror=implicit-function-declaration]
73 | swab (pixel, pixel, count*2);
| ^~~~
fuji_green.c: In function ‘write_psd’:
fuji_green.c:249:11: error: implicit declaration of function ‘htonl’ [-Werror=implicit-function-declaration]
249 | hw[0] = htonl(height*2); /* write the header */
| ^~~~~
fuji_green.c: In function ‘main’:
fuji_green.c:307:9: error: implicit declaration of function ‘isatty’ [-Werror=implicit-function-declaration]
307 | if (isatty(1)) {
| ^~~~~~
fuji_green.c: In function ‘read_shorts’:
fuji_green.c:71:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
71 | fread (pixel, 2, count, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fuji_green.c: In function ‘parse_tiff’:
fuji_green.c:140:11: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
140 | fgets (make, 64, ifp);
| ^~~~~~~~~~~~~~~~~~~~~
fuji_green.c:143:11: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
143 | fgets (model, 64, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~
fuji_green.c: In function ‘identify’:
fuji_green.c:160:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
160 | fread (head, 1, 32, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
parse.c: In function ‘parse_tiff_ifd’:
parse.c:431:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
431 | fgets (make, slen, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~
parse.c:434:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
434 | fgets (model, slen, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
parse.c:437:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
437 | fgets (model2, slen, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O4 -Wl,-z,relro -Wl,-z,now -o dcfujiturn fujiturn.o -llcms2 -
parse.c: In function ‘parse_rollei’:
parse.c:732:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
732 | fgets (line, 128, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [Makefile:452: dcfujiturn16-fujiturn.o] Error 1
tags 1066465 + patchBug #1066465 [src:dcraw] dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration]
tags 1066465 + pendingBug #1066465 [src:dcraw] dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration]
found -1 dcraw/9.28-4Bug #1066465 {Done: Filip Hroch <hroch@physics.muni.cz>} [src:dcraw] dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 07:48:34 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,185 |