alpha-dec-osf5.0 fixinclude problem

Bruce Korb bkorb@allegronetworks.com
Thu Mar 1 07:15:00 GMT 2001


Hi Greg,

This looks pretty condemning.
Please send me the original and hacked (fixed) versions of sys/types.h.

> # 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



More information about the Gcc-bugs mailing list