Re: Mysterious warning (comparison between pointer and integer)
Re: Mysterious warning (comparison between pointer and integer)
- Subject: Re: Mysterious warning (comparison between pointer and integer)
- From: Alastair Houghton <email@hidden>
- Date: Thu, 12 Jul 2007 10:52:27 +0100
On 12 Jul 2007, at 10:19, Stephane Sudre wrote:
On 11 juil. 07, at 12:37, Alastair Houghton wrote:
I think, though I'm not certain, that you may be missing a
#include <arpa/inet.h>
at the top of your file. The line you're getting a warning for
expands to
Correct. With the addition of this header it's working fine. Thanks.
I don't really understand why gcc does not just state that the
prototype is unknown.
Because that warning is not enabled by default using Xcode's default
project templates. I tend to enable more warnings in projects I'm
working on, just to avoid confusion like this; the only downside is
that some of the potentially useful warnings trigger a lot for
typical Objective-C code.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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