ayttm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-devel] Re: [Ayttm-users] forgot one point


From: Colin Leroy
Subject: [Ayttm-devel] Re: [Ayttm-users] forgot one point
Date: Wed, 15 Jan 2003 08:33:54 +0100

On Wed, 15 Jan 2003 01:08:26 +0530 (IST) Philip S Tellis
<address@hidden> wrote:

> in general, don't typecast unless you absolutely have to.  this will 
> ensure that the compiler warns you about incompatible pointer 
> conversions.

Thought again about this. I guess the best would be to avoid typecasting
during development, so we actually see the compiler warnings, but add the
explicit casts later, once the code is known good, in order to
- avoid frightening users ;)
- keep a clean gcc output so we don't miss the future warnings.

What do you think ?
-- 
Colin
http://www.colino.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]