* Daniel Reuter <[EMAIL PROTECTED]>
>
> Hello there,
>
> I never quite understood the following warning message from gcc:
>
> sourcefile.c: linenumber: warning: assignment makes pointer from integer
> without a cast
>
> Unfortunately, I couldn't find a pointer on warning messages in the
> gcc-do
it means that an integer value was assigned to pointer variable,
pointers are quite often some kinds of integers but not neccessarily so,
I guessfollowing code would produce such an error message:
int main(void)
{
void *ptr;
int i = 319;
ptr = i; /* problem here */
return 0;
}
t
Erdmut Pfeifer <[EMAIL PROTECTED]> wrote:
>On Tue, Oct 17, 2000 at 05:03:35PM +0200, Daniel Reuter wrote:
>> I never quite understood the following warning message from gcc:
>>
>> sourcefile.c: linenumber: warning: assignment makes pointer from integer
>> without a cast
There's some documentation
On Tue, Oct 17, 2000 at 05:03:35PM +0200, Daniel Reuter wrote:
> Hello there,
>
> I never quite understood the following warning message from gcc:
>
> sourcefile.c: linenumber: warning: assignment makes pointer from integer
> without a cast
Hi,
this basically means exactly what it says:
at tha
Daniel Reuter <[EMAIL PROTECTED]> writes:
> I never quite understood the following warning message from gcc:
>
> sourcefile.c: linenumber: warning: assignment makes pointer from integer
> without a cast
Well, that means, that you use an integer, where an pointer is
expected.
See the following p
Hello there,
I never quite understood the following warning message from gcc:
sourcefile.c: linenumber: warning: assignment makes pointer from integer
without a cast
Unfortunately, I couldn't find a pointer on warning messages in the
gcc-doc.
Perhaps someone could enlighten me. Thanks.
Regards,
6 matches
Mail list logo