Re: [OT] gcc-warnings
Erdmut Pfeifer <e.pfeifer@science-computing.de> 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 warnings in 'info gcc' / "Invoking GCC" /
"Warning Options".
>It's a warning and not an error, because under various circumstances
>integers and pointers are assigment-compatible (at the machine-level,
>both are just integer numbers).
Watch out; this isn't necessarily true on 64-bit architectures ...
(well, they'll still both be integers, but the lengths are likely to be
different).
--
Colin Watson [cjw44@flatline.org.uk]
Reply to: