Skip to content

Instantly share code, notes, and snippets.

@bvssvni
Created October 28, 2014 12:37
Show Gist options
  • Save bvssvni/162457f2d99609060ef5 to your computer and use it in GitHub Desktop.
Save bvssvni/162457f2d99609060ef5 to your computer and use it in GitHub Desktop.
Failed to run custom build command for `cocoa v0.1.0 (https://github.com/DavidPartouche/rust-cocoa#b9cbbd50)`
Process didn't exit successfully: `make -f makefile.msgsend` (status=2)
--- stdout
cc -Wall src/msgsend.m -o /Users/sven/rust/glutin/target/native/cocoa-ebcc268ffcd672e2/msgsend.o -c
--- stderr
src/msgsend.m:82:9: warning: incompatible pointer to integer conversion returning 'id' from a function with result type 'char' [-Wint-conversion]
return objc_msgSend(theReceiver, theSelector, a);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:86:15: warning: incompatible pointer types initializing 'NSPoint (*)(id, SEL, NSPoint)' with an expression of type 'NSPoint *' (aka 'struct CGPoint *') [-Wincompatible-pointer-types]
NSPoint (*f)(id self, SEL op, NSPoint p) = (NSPoint *)objc_msgSend;
^ ~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:91:15: warning: incompatible pointer types initializing 'NSPoint (*)(id, SEL)' with an expression of type 'NSPoint *' (aka 'struct CGPoint *') [-Wincompatible-pointer-types]
NSPoint (*f)(id self, SEL op) = (NSPoint *)objc_msgSend;
^ ~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:96:12: warning: incompatible pointer to integer conversion returning 'id' from a function with result type 'NSEventType' (aka 'unsigned long') [-Wint-conversion]
return objc_msgSend(theReceiver, theSelector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:101:15: warning: incompatible pointer types initializing 'NSPoint (*)(id, SEL, NSPoint, id)' with an expression of type 'NSPoint *' (aka 'struct CGPoint *') [-Wincompatible-pointer-types]
NSPoint (*f)(id self, SEL op, NSPoint a, id b) = (NSPoint *)objc_msgSend;
^ ~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:105:1: error: unknown type name 'NSEventSubtype'; did you mean 'NSEventType'?
NSEventSubtype invoke_msg_NSEventSubtype(id theReceiver, SEL theSelector) {
^~~~~~~~~~~~~~
NSEventType
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:56:20: note: 'NSEventType' declared here
typedef NSUInteger NSEventType;
^
src/msgsend.m:106:12: warning: incompatible pointer to integer conversion returning 'id' from a function with result type 'NSEventType' (aka 'unsigned long') [-Wint-conversion]
return objc_msgSend(theReceiver, theSelector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:110:12: warning: incompatible pointer types returning 'id' from a function with result type 'const char *' [-Wincompatible-pointer-types]
return objc_msgSend(theReceiver, theSelector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:114:12: warning: incompatible pointer to integer conversion returning 'id' from a function with result type 'unsigned short' [-Wint-conversion]
return objc_msgSend(theReceiver, theSelector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/msgsend.m:118:12: warning: incompatible pointer to integer conversion returning 'id' from a function with result type 'NSUInteger' (aka 'unsigned long') [-Wint-conversion]
return objc_msgSend(theReceiver, theSelector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings and 1 error generated.
make: *** [/Users/sven/rust/glutin/target/native/cocoa-ebcc268ffcd672e2/msgsend.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment