We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ends up in following error:
/home/osboxes/shared/Ohjelmointi/stlink-master/src/usb.c: In function ‘_stlink_usb_version’: /home/osboxes/shared/Ohjelmointi/stlink-master/src/usb.c:192:18: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare] if (size != rep_len) { ^~ cc1: all warnings being treated as errors make[3]: *** [CMakeFiles/stlink-static.dir/build.make:89: CMakeFiles/stlink-static.dir/src/usb.c.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:73: CMakeFiles/stlink-static.dir/all] Error 2 make[1]: *** [Makefile:152: all] Error 2 make: *** [Makefile:28: release] Error 2
The text was updated successfully, but these errors were encountered:
Hello @mmikkone. Look like this issue was already fixed in develop branch.
Sorry, something went wrong.
Thank you. I was able to build it from develop branch.
Fixed with PR #872.
slyshykO
Successfully merging a pull request may close this issue.
Make ends up in following error:
/home/osboxes/shared/Ohjelmointi/stlink-master/src/usb.c: In function ‘_stlink_usb_version’:
/home/osboxes/shared/Ohjelmointi/stlink-master/src/usb.c:192:18: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
if (size != rep_len) {
^~
cc1: all warnings being treated as errors
make[3]: *** [CMakeFiles/stlink-static.dir/build.make:89: CMakeFiles/stlink-static.dir/src/usb.c.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:73: CMakeFiles/stlink-static.dir/all] Error 2
make[1]: *** [Makefile:152: all] Error 2
make: *** [Makefile:28: release] Error 2
The text was updated successfully, but these errors were encountered: