Re: [go-nuts] Is it possible to redefine basic data types?

2017-06-09 Thread Alessandro Re
On Thursday, June 8, 2017 at 6:49:41 PM UTC+2, Ian Lance Taylor wrote: > > On Thu, Jun 8, 2017 at 9:15 AM, Alessandro Re > wrote: > > Besides being possible, and probably not really practical, is it safe? > Are > > there any practical use cases where redefining some ba

[go-nuts] Is it possible to redefine basic data types?

2017-06-08 Thread Alessandro Re
Dear all, I was wondering if it is useful to redefine basic data types, for example type int int32 or, as in my case that I am dealing with CGO type int C.int Besides being possible, and probably not really practical, is it safe? Are there any practical use cases where redefining some basic d

Re: [go-nuts] Re: Can't find textflag.h in Fedora 25 when getting gonum/floats

2017-01-20 Thread Alessandro Re
ou've install gccgo, not go (sometimes called golang-go by operating system vendors). If you uninstall gccgo and install Go from the website, https://golang.org/dl/, it should work fine. On Thursday, 19 January 2017 22:03:10 UTC+11, Alessandro Re wrote: Hello, few months back, on Fedora 23,

[go-nuts] Can't find textflag.h in Fedora 25 when getting gonum/floats

2017-01-19 Thread Alessandro Re
Hello, few months back, on Fedora 23, I wrote a code that used gonum/floats. Now on Fedora 25 I was trying to use that code again, but I fail in building it because a certain header file can't be found when getting gonum/floats. Here some details: MyGo$ go get github.com/gonum/floats # github.c