Andrew Stitcher created PROTON-2765:
---------------------------------------
Summary: [go] Go compilation fails with go 1.21
Key: PROTON-2765
URL: https://issues.apache.org/jira/browse/PROTON-2765
Project: Qpid Proton
Issue Type: Bug
Components: go-binding
Reporter: Andrew Stitcher
Assignee: Andrew Stitcher
Error message is:
{noformat}
# github.com/apache/qpid-proton/go/pkg/amqp
Error: go/pkg/amqp/types.go:32:9: cannot define new methods on non-local type
C.pn_type_t
Error: go/pkg/amqp/unmarshal.go:729:13: cannot define new methods on non-local
type *C.pn_data_t
Error: go/pkg/amqp/unmarshal.go:730:13: cannot define new methods on non-local
type *C.pn_data_t
Error: go/pkg/amqp/unmarshal.go:731:13: cannot define new methods on non-local
type *C.pn_data_t
make[2]: *** [go/CMakeFiles/go-build] Error 1
make[1]: *** [go/CMakeFiles/go-build.dir/all] Error 2
make: *** [all] Error 2
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]