Re: [go-nuts] identifier ... may conflict with identifiers generated by cgo

2019-01-21 Thread Ian Lance Taylor
On Mon, Jan 21, 2019 at 3:56 AM Tamás Gulácsi wrote: > > Instead of > > ns := make([]*_Ctype_char, 2*len(namespaces)+1) > > Use > > > ns := make([]*C.char, 2*len(namespaces)+1) Let me add that using C.char has always been the documented and supported way to use cgo, and I have no

[go-nuts] identifier ... may conflict with identifiers generated by cgo

2019-01-21 Thread Tamás Gulácsi
Instead of ns := make([]*_Ctype_char, 2*len(namespaces)+1) Use ns := make([]*C.char, 2*len(namespaces)+1) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from

[go-nuts] identifier ... may conflict with identifiers generated by cgo

2019-01-21 Thread Peter Kleiweg
Installing packages with go1.12beta2 I get these messages: ... github.com/rug-compling/alpinocorpus-go/alpinocorpus/reader.go:39:15: identifier "_Ctype_alpinocorpus_iter" may conflict with identifiers generated by cgo ...