This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
re[2]: alpha-dec-osf5.0 fixinclude problem
- To: Bruce Korb <bkorb at allegronetworks dot com>
- Subject: re[2]: alpha-dec-osf5.0 fixinclude problem
- From: Greg Freemyer <freemyer at NorcrossGroup dot com>
- Date: Thu, 1 Mar 2001 12:08:35 -0500
- cc: <gcc-bugs at gcc dot gnu dot org>
- Organization: The Norcross Group
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