On Thu, 1 Jul 1999, Ralph Clark wrote:
> > timer.c: In function `validate_function':
> > timer.c: 87: warning: comparison of distinct pointer types lacks a cast
> > timer.c: 88: warning: comparison of distinct pointer types lacks a cast
> > ...
> > proxy_dev.c: In function `proxy_dev_init':
> > proxy_dev.c: 146: `d' might be used uninitialized in this function
> > ...
>
> Did you uncomment the warnings-enabled cc definition in the make file? When I did
> so I got a hell of a lot more warnings than that.
I have -Wall on all the time and only have the three. Maybe its
a compiler or library or kernel header thing.
The three warnings I left in just to separate the hackers from
the common programmers :-).
> Naughty boy Mike! Warnings Bad!
Nah, warnings are things you want to think about and *might*
want to fix. But "fixing" code just to get rid of warnings
is non-productive work and can introduce errors (or even hide
them if you over use casts). As long as there aren't too many
I can live with them.
Mike
--
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: [EMAIL PROTECTED] |
| 280, Silverdale Road, Earley, | Voice: +44 118 926 6996 |
| Reading RG6 7NU ENGLAND | Work: +44 118 989 0403 |
`----------------------------------------------------------------------'
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]