This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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:
 http://gcc.gnu.org/ml/java-patches/2003-q1/msg00059.html

I see.

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.)

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]