Removing casts from code
Ulrich Drepper
drepper@redhat.com
Tue Jan 7 03:08:00 GMT 2003
Roland McGrath wrote:
> The code is C (post-1989 C), not C++.
A lot of the code is used outside glibc and perhaps even in C++ code.
> alloca returns void * as well and I have never heard of any reason a cast
> would be needed.
This is a problem with several compilers. The cast is necessary, just
look at the ChangeLog of various GNU packages.
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
More information about the Libc-alpha
mailing list