Re: [OT] gcc-warnings

2000-10-17 Thread Kjetil Ødegaard
* 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

Re: [OT] gcc-warnings

2000-10-17 Thread Erik Steffl
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

Re: [OT] gcc-warnings

2000-10-17 Thread Colin Watson
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

Re: [OT] gcc-warnings

2000-10-17 Thread Erdmut Pfeifer
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

Re: [OT] gcc-warnings

2000-10-17 Thread Moritz Schulte
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

[OT] gcc-warnings

2000-10-17 Thread Daniel Reuter
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,