You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
http://play.golang.org/p/QL9XPbC_wf
What is the expected output?
Successful compilation
What do you see instead?
timeval.go:14[...]: cannot use tv.Sec (type int64) as type
_Ctype___darwin_time_t in assignment
timeval.go:15[...]: cannot use tv.Usec (type int32) as type
_Ctype___darwin_suseconds_t in assignment
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
OSX 10.7.5
Which version are you using? (run 'go version')
$ go version
go version go1.0.3
Please provide any additional information below.
The example code provided is trivial and useless. That's the shortest way I know of to
illustrate what I'm seeing, even though that same functionality is available using the
syscall package. I'm integrating against a C library that has functions that take
'struct timeval's as parameters.
The text was updated successfully, but these errors were encountered:
by yargevad:
The text was updated successfully, but these errors were encountered: