systerdes.c:108:6: error: conflicting types for '_expand'
108 | void _expand(unsigned char const *e, unsigned char *data, unsigned char *result)
| ^~~~~~~
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdlib.h:741,
from systerdes.c:22:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/malloc.h:113:25: note: previous declaration of '_expand' was here
113 | _CRTIMP void *__cdecl _expand(void *_Memory,size_t _NewSize);
| ^~~~~~~
make: *** [Makefile:32: systerdes.o] Error 1
make: *** Waiting for unfinished jobs....
syster.c: In function '_init_common':
syster.c:493:24: warning: array subscript 8 is outside array bounds of 'unsigned char[8]' [-Warray-bounds]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:659:17: note: while referencing 'data'
659 | unsigned char data[8] = { 0x80, 0x01, 0x11, 0x00, 0x7B, 0x0A, 0x00, 0x00 };
| ^~~~
syster.c:493:24: warning: array subscript 8 is outside array bounds of 'unsigned char[8]' [-Warray-bounds]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:624:17: note: while referencing 'data'
624 | unsigned char data[8] = { 0xFF,0x01,0x01,0x00,0x7B,0x0A,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: array subscript 8 is outside array bounds of 'unsigned char[8]' [-Warray-bounds]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:590:17: note: while referencing 'data'
590 | unsigned char data[8] = { 0x80,0x05,0x11,0x00,0x88,0x15,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: array subscript 8 is outside array bounds of 'unsigned char[8]' [-Warray-bounds]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:560:17: note: while referencing 'data'
560 | unsigned char data[8] = { 0xFF,0x05,0x11,0x00,0x88,0x15,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: array subscript 8 is outside array bounds of 'unsigned char[8]' [-Warray-bounds]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:526:17: note: while referencing 'data'
526 | unsigned char data[8] = { 0xFF,0x01,0x11,0x00,0x88,0x15,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: '*((void *)&data+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:526:17: note: '*((void *)&data+8)' was declared here
526 | unsigned char data[8] = { 0xFF,0x01,0x11,0x00,0x88,0x15,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: '*((void *)&data+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:560:17: note: '*((void *)&data+8)' was declared here
560 | unsigned char data[8] = { 0xFF,0x05,0x11,0x00,0x88,0x15,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: '*((void *)&data+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:590:17: note: '*((void *)&data+8)' was declared here
590 | unsigned char data[8] = { 0x80,0x05,0x11,0x00,0x88,0x15,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: '*((void *)&data+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:624:17: note: '*((void *)&data+8)' was declared here
624 | unsigned char data[8] = { 0xFF,0x01,0x01,0x00,0x7B,0x0A,0x00,0x00 };
| ^~~~
syster.c:493:24: warning: '*((void *)&data+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
493 | s->blocks[j].ecm = i < 4 || i > 12 ? rand() + 0xFF : data[i-4];
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syster.c:659:17: note: '*((void *)&data+8)' was declared here
659 | unsigned char data[8] = { 0x80, 0x01, 0x11, 0x00, 0x7B, 0x0A, 0x00, 0x00 };
| ^~~~