Re: #include <net/if_dl.h> deadlocks Xcode
Re: #include <net/if_dl.h> deadlocks Xcode
- Subject: Re: #include <net/if_dl.h> deadlocks Xcode
- From: Chris Espinosa <email@hidden>
- Date: Mon, 30 Mar 2009 23:41:17 -0700
On Mar 30, 2009, at 11:09 PM, Roni Music wrote:
Create a new iPhone project with Xcode
include the header below to a file
#include <net/if_dl.h>
save the file
try to build to project
Xcode deadlocks and I need to force quit Xcode
Same problem if building for the iPhone simulator or for a real device
Ordinary OS X Cocoa/Carbon projects works fine
This is Xcode 3.1.2
iMac 2 GHz Intel Core Duo running OS X 10.5.6
Am I missing something or should I file a bug report?
For some users depending on network configuration, files in /usr/
include/net cause the compiler to look in /net, which makes the OS
scan the network for mounted devices. This takes a while. It's not
deadlocked and it will eventually complete, and subsequent runs should
not have a delay.
A workaround is to just include <id_dl.h> and provide a System Header
Search Path to $(SDKROOT)/usr/include/net to avoid the enumeration of /
net.
Chris
_______________________________________________
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