Strange Warning on i386 build
Strange Warning on i386 build
- Subject: Strange Warning on i386 build
- From: Stephane <email@hidden>
- Date: Fri, 27 Jan 2006 18:31:50 +0100
When building a project, XCode (gcc) is issuing a strange warning.
This line:
if (inet_ntop(AF_INET6,&address_,tBuffer,128)!=NULL)
is leading to this warning:
warning: comparison between pointer and integer
for the i386 compilation (the ppc (GCC 3.3) build works fine).
Yet, the inet.h file states:
const char *inet_ntop(int, const void *, char *, size_t);
A const char * or NULL are not compatible as pointers in the Intel
world?
Maybe I'm missing something obvious.
_______________________________________________
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