Skip to content

cmd/compile: cannot convert nil to type _Ctype on macOS High Sierra #23317

Closed
@bep

Description

@bep

See fsnotify/fsevents#33

Note that I'm not the original reporter, but I thought I should raise this just in case.

According to the reporter:

ProductName:	Mac OS X
ProductVersion:	10.13
BuildVersion:	17A365
Go Go 1.10 beta1

-> % GOROOT=/usr/local/go110 /usr/local/go110/bin/go test
# github.com/fsnotify/fsevents
./wrap.go:38: constant 36893488147419103231 overflows uint64
./wrap.go:80: cannot use f (type FSEventStreamRef) as type _Ctype_ConstFSEventStreamRef in argument to func literal
./wrap.go:85: cannot use f (type FSEventStreamRef) as type _Ctype_ConstFSEventStreamRef in argument to func literal
./wrap.go:91: cannot use f (type FSEventStreamRef) as type _Ctype_ConstFSEventStreamRef in argument to func literal
./wrap.go:97: cannot use f (type FSEventStreamRef) as type _Ctype_ConstFSEventStreamRef in argument to func literal
./wrap.go:112: cannot convert nil to type _Ctype_CFUUIDRef
./wrap.go:115: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
./wrap.go:119: cannot convert nil to type _Ctype_CFStringRef
./wrap.go:122: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
./wrap.go:175: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCString
./wrap.go:175: too many errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions