W
Willem
gwowen wrote:
)
)> In short, it's bad form to call functions without a prototype.
)
) So if I use a C99-mode compiler (or -Wmissing-prototypes or
) equivalent), the major (sole?) reason for not casting vanishes, right?
No, another good reason for not casting is that you can change the type
of whatever you're malloc()ing without also having to change the casts.
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
)
)> In short, it's bad form to call functions without a prototype.
)
) So if I use a C99-mode compiler (or -Wmissing-prototypes or
) equivalent), the major (sole?) reason for not casting vanishes, right?
No, another good reason for not casting is that you can change the type
of whatever you're malloc()ing without also having to change the casts.
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT