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: Stopgap patch for gcc/fixinc/fixinc.c for older systems




  In message <199905230756.AAA05569@aldrington.ppp.cs.sfu.ca>you write:
  > The file gcc/fixinc/fixincl.c relies on several POSIXisms related to
  > wait() (e.g., WSTOPSIG) and stat() (e.g., S_ISREG and S_IRUSR).  Older
  > systems, such as 4.x BSD (x<4), need definitions for these macros.
  > 
  > Some of these are defined in gcc/system.h, but not all.  If/when fixincl.c
  > uses system.h, I can put the necessary definitions there, but as a stop-gap
  > measure, I've put the necessary definitions directly into fixincl.c.
  > 
  > (I might have tried making fixincl.c use system.h myself, but I saw that
  > it was something on Bruce Korb's to-do list, so I'm assuming it's
  > non-trivial for some reason (otherwise he'd have just done it, rather
  > than write down that it should be done)).
I'm going to install this on the branch, but not in the mainline tree.

fixinc should be using system.h, and I don't see anything particularly
difficult about making it do so.  So, let's do this right in the mainline
sources instead of hacking fixinc up in this manner.

Thanks,
jeff


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