This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Fixes to bootstrap from a C++ compiler (part 1)
Daniel Jacobowitz wrote:
I can't find the message where it was decided, but here's some places
where Kaveh did it:
Well, how do people feel about this? Is it good to rely on C's implicit
conversion between "void *" and other pointer types, or is OK to insert
casts necessary to satisfy the more restrictive C++ rule (where pointer
types implicitly convert to "void*" or not vice versa)?
(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.)