You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build blink1-tool on FreeBSD (with #14 merged), I get the following compiler warning:
hidapi/libusb/hid.c: In function 'get_usb_string':
hidapi/libusb/hid.c:353:18: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types]
res = iconv(ic, &inptr, &inbytes, &outptr, &outbytes);
^
In file included from hidapi/libusb/hid.c:48:0:
/usr/local/include/iconv.h:85:15: note: expected 'char **' but argument is of type 'const char **'
extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
^
The text was updated successfully, but these errors were encountered:
duncan-bayne
changed the title
Build produces compiler warnings on FreeBSD 11.2
Build produces compiler warning on FreeBSD 11.2
Nov 15, 2018
When I build blink1-tool on FreeBSD (with #14 merged), I get the following compiler warning:
The text was updated successfully, but these errors were encountered: