Hi Thomas,
compiling libftdi with mingw toolchain produces following warnings:
[ 29%] Building C object examples/CMakeFiles/stream_test.dir/stream_test.c.obj
/home/user/Documents/versioned/libftdi/examples/stream_test.c: In
function ‘readCallback’:
/home/user/Documents/versioned/libftdi/examples/stream_test.c:86:89:
warning: unknown conversion type character ‘l’ in format [-Wformat=]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:86:36:
warning: too many arguments for format [-Wformat-extra-args]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^~
/home/user/Documents/versioned/libftdi/examples/stream_test.c:86:89:
warning: unknown conversion type character ‘l’ in format [-Wformat=]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:86:36:
warning: too many arguments for format [-Wformat-extra-args]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^~
/home/user/Documents/versioned/libftdi/examples/stream_test.c:101:89:
warning: unknown conversion type character ‘l’ in format [-Wformat=]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:101:36:
warning: too many arguments for format [-Wformat-extra-args]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^~
/home/user/Documents/versioned/libftdi/examples/stream_test.c:101:89:
warning: unknown conversion type character ‘l’ in format [-Wformat=]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:101:36:
warning: too many arguments for format [-Wformat-extra-args]
fprintf(stderr, "Skip %7d blocks from 0x%08x to
0x%08x at blocks %10llu\n",
^~
/home/user/Documents/versioned/libftdi/examples/stream_test.c: In
function ‘main’:
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:39:
warning: unknown conversion type character ‘l’ in format [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:51:
warning: unknown conversion type character ‘L’ in format [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:57:
warning: format ‘%d’ expects argument of type ‘int’, but argument 4
has type ‘long long unsigned int’ [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:61:
warning: unknown conversion type character ‘L’ in format [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:23:
warning: too many arguments for format [-Wformat-extra-args]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^~~
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:39:
warning: unknown conversion type character ‘l’ in format [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:51:
warning: unknown conversion type character ‘L’ in format [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:57:
warning: format ‘%d’ expects argument of type ‘int’, but argument 4
has type ‘long long unsigned int’ [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d (%Le)
blocks skipped\n",
^
/home/user/Documents/versioned/libftdi/examples/stream_test.c:250:61:
warning: unknown conversion type character ‘L’ in format [-Wformat=]
fprintf(stderr,"%d errors of %llu blocks (%Le), %d