[OCLUG-devel] pointer from integer without a cast
Doug Jolley
ddjolley at gmail.com
Tue Sep 13 14:33:46 PDT 2005
>
> > Try this:
> #define _XOPEN_SOURCE
It works! You know, I did try that earlier because it was mentioned in the
man page. The only difference was that I put my define statement following
the includes and you put before. Apparently that makes a big difference!
>
> > P.S.: As a general rule, errors like that should make you
>
> think that you don't have the right function prototype
>
> included. The trick is figuring out why.
And by that I suspect that you're saying that somehow I have a function
prototype included that's returning an integer so that when I go to assign
the returned value to a pointer I get the warning that the assignment makes
a pointer from an integer without a cast. You're right, the real challenge
is figuring out why.
Thanks for the input. Hopefully I'm off and runing now.
... doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://localhost.localdomain/pipermail/oclug-devel/attachments/20050913/791d92a1/attachment.html
More information about the OCLUG-devel
mailing list