This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/24688] sco_math fixincl breaks math.h
- From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2005 00:45:01 -0000
- Subject: [Bug bootstrap/24688] sco_math fixincl breaks math.h
- References: <bug-24688-6116@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from bugzilla-gcc at thewrittenword dot com 2005-11-06 00:45 -------
I'm using the version of inclhack.def from gcc-3_4-branch. I looked at the
changes in
http://gcc.gnu.org/viewcvs/branches/gcc-3_4-branch/gcc/fixinc/inclhack.def?rev=100333&view=log
and don't see anything relating to this.
Looking at the latest inclhack.def from gcc-3_4-branch, this sed line in
sco_math is causing the problem:
sed = "/extern \"C\\+\\+\"/N;"
"/inline double abs/i\\\n"
"#ifndef __GNUC__\n";
I have no idea what math.h looks like on SCO so I have no idea how to fix. Why
don't we restrict sco_math to some mach="*sco*"?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24688