Re: [go-nuts] CGO: __DARWIN_NULL weirdness

2017-06-11 Thread andrey mirtchovski
I found it: I had a typo writing "C.nil" instead of "nil". thanks for your help! On Sun, Jun 11, 2017 at 9:31 PM, Ian Lance Taylor wrote: > On Sun, Jun 11, 2017 at 7:56 PM, andrey mirtchovski > wrote: >> >> I have a piece of cgo code which doesn't do much, but links a lot of >> libraries in. As

Re: [go-nuts] CGO: __DARWIN_NULL weirdness

2017-06-11 Thread Ian Lance Taylor
On Sun, Jun 11, 2017 at 7:56 PM, andrey mirtchovski wrote: > > I have a piece of cgo code which doesn't do much, but links a lot of > libraries in. As far as I can tell all my includes are there and they > shouldn't stomp on each other (they don't when compiled in C), however > with cgo I get the