[RFC] Fixes to bootstrap from a C++ compiler (part 1)
Andreas Schwab
schwab@suse.de
Sat Jun 26 00:18:00 GMT 2004
Mark Mitchell <mark@codesourcery.com> writes:
> (Personally, I've always viewed the implicit conversion from "void *" to
> other pointer types in C a bug in the type system and I try to avoid
> relying on it.)
On the other hand, a cast will suppress some conversion warnings, so
errors are more likely to go unnoticed. C++ has more fine grained casts
that can better express the intented conversion and allows for better
checking.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc-patches
mailing list