Skip to content
New issue

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

error: 'libusb_set_debug' is deprecated: Use libusb_set_option instead #70

Closed
jeremiah opened this issue Jan 17, 2019 · 3 comments
Closed

Comments

@jeremiah
Copy link

When compiling flashrom with libusb I get the following error after issuing make;

ch341a_spi.c: In functionch341a_spi.c: In function 'ch341a_spi_init':
ch341a_spi.c:447:2: error: 'libusb_set_debug' is deprecated: Use libusb_set_option instead [-Werror=deprecated-declarations]
libusb_set_debug(NULL, 3); // Enable information, warning and error messages (only).
^~~~~~~~~~~~~~~~

@jeremiah
Copy link
Author

Sent PR #71 which works for me.

@i-c-o-n
Copy link
Contributor

i-c-o-n commented Feb 3, 2019

This shoud have been fixed by 291764a. It seems you used a different version to produce the error than your PR is based on.

@jeremiah
Copy link
Author

jeremiah commented Feb 5, 2019

Okay, thanks. Closing.

@jeremiah jeremiah closed this as completed Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants