Closed sbinet closed 4 years ago
I don't follow the unstable Go versions.
If Go 1.15 will be released and this error will still appear I will try to fix it.
On Tue, 02 Jun 2020 01:00:10 -0700 Sebastien Binet notifications@github.com wrote:
build fails on Go master (what will be Go-1.15):
github.com/ziutek/ftdi # github.com/ziutek/ftdi ../../../../pkg/mod/github.com/ziutek/ftdi@v0.0.0-20181130113013-aef9e445a2fa/device.go:279:43: cannot use _Ctype_enum_ftdi_interface(c) (type _Ctype_enum_ftdi_interface) as type uint32 in assignment ../../../../pkg/mod/github.com/ziutek/ftdi@v0.0.0-20181130113013-aef9e445a2fa/eeprom.go:194:39: cannot use names[n] (type _Ctype_enum_ftdi_eeprom_value) as type uint32 in assignment ../../../../pkg/mod/github.com/ziutek/ftdi@v0.0.0-20181130113013-aef9e445a2fa/eeprom.go:205:39: cannot use names[n] (type _Ctype_enum_ftdi_eeprom_value) as type uint32 in assignment ../../../../pkg/mod/github.com/ziutek/ftdi@v0.0.0-20181130113013-aef9e445a2fa/eeprom.go:358:39: cannot use cbusFunction[n] (type _Ctype_enum_ftdi_eeprom_value) as type uint32 in assignment ../../../../pkg/mod/github.com/ziutek/ftdi@v0.0.0-20181130113013-aef9e445a2fa/eeprom.go:366:39: cannot use cbusFunction[n] (type _Ctype_enum_ftdi_eeprom_value) as type uint32 in assignment ../../../../pkg/mod/github.com/ziutek/ftdi@v0.0.0-20181130113013-aef9e445a2fa/error.go:24:57: cannot use _Ctype_enum_libusb_error(e) (type _Ctype_enum_libusb_error) as type int32 in argument to _Cfunc_libusb_strerror
could this be addressed? thanks.
build fails on Go master (what will be Go-1.15):
could this be addressed? thanks.