From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13773 invoked by alias); 6 Nov 2005 00:45:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13662 invoked by uid 48); 6 Nov 2005 00:45:01 -0000 Date: Sun, 06 Nov 2005 00:45:00 -0000 Message-ID: <20051106004501.13660.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/24688] sco_math fixincl breaks math.h In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bugzilla-gcc at thewrittenword dot com" X-SW-Source: 2005-11/txt/msg00802.txt.bz2 List-Id: ------- 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