warning: implicit declaration of function 'mach_reply_port'
warning: implicit declaration of function 'mach_reply_port'
- Subject: warning: implicit declaration of function 'mach_reply_port'
- From: John MacMullin <email@hidden>
- Date: Fri, 11 Jun 2010 15:08:05 -0700
I have implemented some signal handling straight out of the archives, part of which follows:
#import <signal.h> #import <mach/mach_error.h> #import <mach/mach_traps.h> #include <assert.h> #include <pthread.h>
.....
void InstallSignalHandler(void) { assert(pthread_main_np()); if ((signalMachPort = mach_reply_port())) {
.....
I am now receiving a warning error on the build: warning: implicit declaration of function 'mach_reply_port'
The docs and internet search suggest mach_reply_port is a system call. That being the case, why the message? What's its declaration and am I missing an include?
John MacMullin
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden