-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
Milestone
Description
What version of Go are you using (go version)?
go10.9
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
macOS 10.13, amd64
What did you do?
go get golang.org/x/exp/shiny/driver/gldriver
What did you expect to see?
Instead of getting the package, go spawns an error
What did you see instead?
cocoa.m:24:5: error: redefinition of enumerator 'NSEventTypeScrollWheel'
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:40:5: note: previous definition is here
cocoa.m:25:5: error: redefinition of enumerator 'NSEventTypeKeyDown'
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:32:5: note: previous definition is here
cocoa.m:28:5: error: redefinition of enumerator 'NSWindowStyleMaskTitled'
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:36:5: note: previous definition is here
cocoa.m:29:5: error: redefinition of enumerator 'NSWindowStyleMaskResizable'
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:39:5: note: previous definition is here
cocoa.m:30:5: error: redefinition of enumerator 'NSWindowStyleMaskMiniaturizable'
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:38:5: note: previous definition is here
cocoa.m:31:5: error: redefinition of enumerator 'NSWindowStyleMaskClosable'
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:37:5: note: previous definition is here
Reactions are currently unavailable