This is the mail archive of the gcc-bugs@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[2]: alpha-dec-osf5.0 fixinclude problem


Hi Bruce,

  >>  This looks pretty condemning.

I agree, but a diff between the 2 files looks pretty innocent.  (The diff is attached)

Maybe their is something wrong with the original sys/types.h, or one of the files it includes.

  >>  Please send me the original and hacked (fixed) versions of sys/types.h.

They are attached.  Feel free to ask for more.

  >>  > # 69 "/usr/local/src/gcc.devel/gcc/objdir-gcc/gcc/include/sys/types.h" 3
  >>  > extern "C" {
  >>  > 
  >>  > extern "C" {
  >>  > 
  >>  > extern void __terminate(void) __attribute__ ((__noreturn__));

  >>  On the other hand, I just went through the various fixes.
  >>  It cannot be the ``cxx_unready'' fix because it only
  >>  applies to sys/mman.h and rpc/types.h.  Furthermore, it
  >>  unconditionally wraps the entire file.  ``hpux8_bogus_inlines''
  >>  inserts ``extern "C"'' in front of a single declaration.
  >>  Finally, ``sco_static_func'' is only active on SCO3.2 boxes
  >>  and only applies to sys/stat.h.  No other patches insert the
  >>  text.  So, possibly, one of the fixes causes the closing
  >>  brace to disappear?  Yep.  I need a look at those files.
  >>  Thanks!
  >>  	Bruce

Thank
Greg Freemyer

types.diff

types.h.fixed

types.h.orig


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