Skip to content

Can not build on windows10 #5

Description

@zhuwei

github.com/deadsy/libusb

cgo-gcc-prolog: In function '_cgo_b02b680d4895_Cfunc_libusb_set_debug':
cgo-gcc-prolog:1212:2: warning: 'libusb_set_debug' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
In file included from ......\pkg\mod\github.com\deadsy\libusb@v0.0.0-20180330230923-04d6a756f531\libusb.go:14:
C:/TDM-GCC-64/include/libusb-1.0/libusb.h:1352:18: note: declared here
1352 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
| ^~~~~~~~~~~~~~~~

github.com/deadsy/libusb

......\pkg\mod\github.com\deadsy\libusb@v0.0.0-20180330230923-04d6a756f531\libusb.go:1094:43: cannot use int32(errcode) (type int32) as type _Ctype_int in argument to _Cfunc_libusb_strerror

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions