[go-nuts] Re: cgo long double

2018-10-07 Thread bruceesmith
Thanks Ian. I have submitted issue 28069 along with the simplest example I could figure out. I found that the behaviour is triggered when a long double is nested in an inner field of a struct; moving the long double to the outer field of the struct lets the go build complete successfully. Regar

[go-nuts] cgo long double

2018-10-07 Thread bruceesmith
The header file smi.h from libsmi (https://github.com/mikeowens/libsmi) declares a typedef using "long double" typedef long double SmiFloat128; In Go versions prior to 1.11, programs using smi.h compiled without error. In Go 1.11, cgo calls out "long double" as "unexpected". Here is

[go-nuts] Re: What release is projected to contain change 60910

2017-11-14 Thread bruceesmith
Thanks Ian On Wednesday, 15 November 2017 14:07:09 UTC+11, Bruce Smith wrote: > > Hi > > I have the challenge reported by https://github.com/golang/go/issues/20376 > and 21386, apparently fixed by > https://go-review.googlesource.com/c/go/+/60910. I'm attempting to load > multiple plugins which

[go-nuts] What release is projected to contain change 60910

2017-11-14 Thread bruceesmith
Hi I have the challenge reported by https://github.com/golang/go/issues/20376 and 21386, apparently fixed by https://go-review.googlesource.com/c/go/+/60910. I'm attempting to load multiple plugins which implement the same interface & then choose between them at runtime. I've tested with Go 1