This is the mail archive of the gcc@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: Include Hackery is dead :-(



  In message <34390C06.7553@datadesign.com>you write:
  > A month or so ago, I  played around with a toy to generate
  > a shell script that did the same thing as the original.
Yup.  Unfortunately I never got a chance to look closely at it.

  > Over the weekend, I changed the template to generate "C"
  > data structures instead.  It was trivial to get the program
  > to scan the text of each header file and decide if a particular
  > fix applied or not.  That hackery was done in about 3 hours.
  > Five hours after that, I have determined that Sun OS's
  > SVR4.0 streams code is broken and I am not very interested
  > in beating my brains against it until I get it to work.
Depending on streams was probably not a good idea anyway.  Though
the idea of avoiding the write if nothing changed is a good one.

jeff



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