[ 
https://issues.apache.org/jira/browse/PROTON-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-2765.
-------------------------------------
    Fix Version/s: proton-c-0.40.0
       Resolution: Fixed

> [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
>            Priority: Major
>             Fix For: proton-c-0.40.0
>
>
> 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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to