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]

Re: Patch to constify/prototype/clean collect2.[ch] & tlink.c, part 1/2


 > From: Mark Mitchell <mark@codesourcery.com>
 >  
 > I think if there sare system functions that are "logically const", we
 > should just cast `const char *' to `char *' when passing them their
 > arguments.  Yes, with full warnings GCC will still complain, but so be
 > it.
 > Mark Mitchell                   mark@codesourcery.com


	Yes, I coming to the conclusion that we should either live
with the cast or fix the decls somehow in ldfcn.h.

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


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