Implicit declaration of function 'writev'
Implicit declaration of function 'writev'
- Subject: Implicit declaration of function 'writev'
- From: Jonathon Kuo <email@hidden>
- Date: Wed, 12 Jan 2011 10:14:21 -0800
Xcode 3.2.5, OSX 10.6.5, Cocoa, gcc 4.2.1
The man page for writev(2) says to include unistd.h:
#import <unistd.h>
. . .
writev( ... ); warning: implicit declaration of function 'writev'
The linker resolves it, but why is the compiler warning about this, and how do I silence it?
_______________________________________________
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