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
cc -g -O -Wall -Werror -DVERSION='"1.1.255"' -I/usr/include/libusb-1.0 -c -o radio.o radio.c
radio.c: In function ‘radio_validate_config’:
radio.c:322:9: error: implicit declaration of function ‘strnstr’; did you mean ‘strstr’? [-Werror=implicit-function-declaration]
322 | if (strnstr(line, "Radio:", strlen(line))) {
| ^~~~~~~
| strstr
cc1: all warnings being treated as errors
make: *** [: radio.o] Error 1
The text was updated successfully, but these errors were encountered:
n7ekb
added a commit
to n7ekb/dmrconfig
that referenced
this issue
Apr 20, 2024
I had this same issue and replaced strnstr with strstr removing the length parameter. The strnstr function is FreeUSB specific so this change made sense to me.
ec1oud
added a commit
to ec1oud/dmrconfig
that referenced
this issue
Sep 6, 2024
cc -g -O -Wall -Werror -DVERSION='"1.1.255"' -I/usr/include/libusb-1.0 -c -o radio.o radio.c
radio.c: In function ‘radio_validate_config’:
radio.c:322:9: error: implicit declaration of function ‘strnstr’; did you mean ‘strstr’? [-Werror=implicit-function-declaration]
322 | if (strnstr(line, "Radio:", strlen(line))) {
| ^~~~~~~
| strstr
cc1: all warnings being treated as errors
make: *** [: radio.o] Error 1
The text was updated successfully, but these errors were encountered: