This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to constify/prototype/clean collect2.[ch] & tlink.c, part 1/2
- To: mark at codesourcery dot com
- Subject: Re: Patch to constify/prototype/clean collect2.[ch] & tlink.c, part 1/2
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 2 Sep 1999 12:23:26 -0400 (EDT)
- Cc: egcs-patches at egcs dot cygnus dot com, jason at cygnus dot com, law at cygnus dot com
> 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