x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DCONFIGDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -I../directx/include -I../directx/include/directx6 -I.. -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,defs -Wall -MT snprintpkt.o -MD -MP -MF .deps/snprintpkt.Tpo -c -o snprintpkt.o snprintpkt.c
rm -f libresident2.a
rm -f libmisc.a
ar cru libresident2.a
ar cru libmisc.a
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libresident2.a
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libmisc.a
ppdirectinit.c: In function ‘parport_ecp’:
ppdirectinit.c:393:45: warning: variable ‘readIntrThreshold’ set but not used [-Wunused-but-set-variable]
393 | int fifo_depth, writeIntrThreshold, readIntrThreshold;
| ^~~~~~~~~~~~~~~~~ ppdirectinit.c:393:25: warning: variable ‘writeIntrThreshold’ set but not used [-Wunused-but-set-variable]
393 | int fifo_depth, writeIntrThreshold, readIntrThreshold;
| ^~~~~~~~~~~~~~~~~~
eppfpga.c: In function ‘main’:
eppfpga.c:240:63: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
240 | for (tst = eppfpgatests; tst->name && strcmp(optarg, tst->name); tst++);
| ^~~~~~ eppfpga.c:52:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
51 | #include "fpga.h"
+++ |+#include <string.h>
52 |
eppfpga.c:139:53: warning: variable ‘ppdev’ set but not used [-Wunused-but-set-variable]
139 | const char *ppuser = NULL, *ppkdrv = NULL, *ppdev = NULL;
| ^~~~~ eppfpga.c:139:37: warning: variable ‘ppkdrv’ set but not used [-Wunused-but-set-variable]
139 | const char *ppuser = NULL, *ppkdrv = NULL, *ppdev = NULL;
| ^~~~~~
eppfpga.c:139:21: warning: variable ‘ppuser’ set but not used [-Wunused-but-set-variable]
139 | const char *ppuser = NULL, *ppkdrv = NULL, *ppdev = NULL;
| ^~~~~~
eppfpga.c:138:67: warning: variable ‘w9xring0’ set but not used [-Wunused-but-set-variable]
138 | unsigned int iobase = 0x378, ntddkgenport = 0, ntdrv = 0, w9xring0 = 0, ppflags = 0;
| ^~~~~~~~
eppfpga.c:138:56: warning: variable ‘ntdrv’ set but not used [-Wunused-but-set-variable]
138 | unsigned int iobase = 0x378, ntddkgenport = 0, ntdrv = 0, w9xring0 = 0, ppflags = 0;
| ^~~~~ eppfpga.c:138:38: warning: variable ‘ntddkgenport’ set but not used [-Wunused-but-set-variable]
138 | unsigned int iobase = 0x378, ntddkgenport = 0, ntdrv = 0, w9xring0 = 0, ppflags = 0;
| ^~~~~~~~~~~~
fpgatests.c: In function ‘ledtest’:
fpgatests.c:319:21: warning: operation on ‘led’ may be undefined [-Wsequence-point]
319 | led = (++led) & 3;
| ~~~~^~~~~~~~~~~~~
fpgatests.c: In function ‘chkledtest’:
fpgatests.c:579:21: warning: operation on ‘led’ may be undefined [-Wsequence-point]
579 | led = (++led) & 3;
| ~~~~^~~~~~~~~~~~~
fpgatests.c: In function ‘eppafskmodemtest’:
fpgatests.c:1414:29: warning: variable ‘txbyte’ set but not used [-Wunused-but-set-variable]
1414 | unsigned char stat, txbyte;
| ^~~~~~
fpgatests.c: In function ‘sppafskmodemtest’:
fpgatests.c:1600:29: warning: variable ‘txbyte’ set but not used [-Wunused-but-set-variable]
1600 | unsigned char stat, txbyte;
| ^~~~~~
fpgatests.c: In function ‘saudio’:
fpgatests.c:2692:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
2692 | lprintf(0, "read(%d) failed %i (%s)\n", sizeof(bufu)/2, ocnts, strerror(errno));
| ~^ ~~~~~~~~~~~~~~
| | |
| int long unsigned int
| %ld
cc1: some warnings being treated as errors
make[3]: *** [Makefile:559: eppfpga.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 11:28:02 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,376 |