forked from zserge/tray
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
/tray/tray.h:103:28: error: too many arguments to function call, expected 0, have 2
103 | id menu = objc_msgSend((id)objc_getClass("NSMenu"), sel_registerName("new"));
| ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:59:1: note: 'objc_msgSend' declared here
59 | objc_msgSend(void /* id self, SEL op, ... */ )
| ^
In file included from tray.c:2:
/tray/tray.h:104:18: error: too many arguments to function call, expected 0, have 2
104 | objc_msgSend(menu, sel_registerName("autorelease"));
| ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:59:1: note: 'objc_msgSend' declared here
59 | objc_msgSend(void /* id self, SEL op, ... */ )
| ^
In file included from tray.c:2:
/tray/tray.h:105:18: error: too many arguments to function call, expected 0, have 3
105 | objc_msgSend(menu, sel_registerName("setAutoenablesItems:"), false);
| ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:59:1: note: 'objc_msgSend' declared here
59 | objc_msgSend(void /* id self, SEL op, ... */ )
| ^
In file included from tray.c:2:
/tray/tray.h:110:24: error: too many arguments to function call, expected 0, have 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels