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] argv needs to be writable



  In message <20000614095105.D26867@wolery.cumb.org>you write:
  > On Wed, Jun 14, 2000 at 09:19:37AM -0700, David O'Brien wrote:
  > > On Wed, Jun 14, 2000 at 09:53:29AM -0600, Jeffrey A Law wrote:
  > > > Actually, I would prefer you to find out if any of the lang_specific_dr
  > iver
  > > > routines actually modify argv (if you already did, then just tell me wh
  > ich
  > > > one).
  > > 
  > > gccspec.c(lang_specific_driver) does not, but
  > > cppspec.c(lang_specific_driver) does.  Of course the signature of these
  > > two functions must match.
  > 
  > cppspec.c could probably be fixed to not modify argv
Someone can certainly do that, then re-constify argv at that point.  However
we need to settle on the signature of this stuff since it bleeds into other
front-ends that aren't necessarily in our source tree (like gpc for example).
jeff


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