-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pcap: use C.struct, not _Ctype_struct #589
Conversation
The future Go 1.12 version of the cgo tool will issue an error for Go code that uses names like _Ctype_struct_S, as that is in the namespace that cgo uses for its own generated code. Change this code to use the supported form C.struct_S, so that it builds with the future 1.12.
Looks good. Thanks |
Thanks, Ian :) |
@notti when can I expect this in the release? is there any plan for a new release nearby? |
@gconnel Was just about to ask that :) |
@mkumatag Just tagged a new release |
To pick up a fix google/gopacket#589 for Go 1.12
To pick up a fix google/gopacket#589 for Go 1.12
The future Go 1.12 version of the cgo tool will issue an error for Go
code that uses names like _Ctype_struct_S, as that is in the namespace
that cgo uses for its own generated code. Change this code to use the
supported form C.struct_S, so that it builds with the future 1.12.