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: A protoype patch for cccp.c



  In message <199806220055.UAA27556@caip.rutgers.edu>you write:
  >  > From: hjl@lucon.org (H.J. Lu)
  >  > 
  >  > Here is another patch.
  >  > 
  >  > -- 
  >  > H.J. Lu (hjl@gnu.org)
  >  > ---
  >  > Sat Jun 20 09:08:15 1998  H.J. Lu  (hjl@gnu.org)
  >  > 
  >  > 	* cccp.c (strerror): Add prototype.
  >  > 
  > 
  > 	Should this code consolidate and move to system.h?  Also,
  > should we check GCC_NEED_DECLARATION(strerror)?  (Is one of the headers
  > checked by that autoconf macro the "standard" home for the strerror decl?)
I think it would be a good idea.  Right now we've got a strerror
decl as well as a my_strerror function in the following files:

cccp.c
collect2.c
cpplib.c
gcc.c
protoize.c

Some of the various my_strerror definitions are slightly different --
some have VMS conditionals, others do not.  It's somewhat of a mess.


jeff


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