Article View: gnu.gcc.bug
Article #5956Re: Parsing error when optimizing..
From: Marius Kjeldahl
Date: Tue, 14 Jan 1997 00:00
Date: Tue, 14 Jan 1997 00:00
31 lines
1661 bytes
1661 bytes
This error was due to some "optimizations" in one of the linux include files (signal.h> that activates some "clever" optimizations which causes ACE to fail. By adding an ifdef (linux) with proper undefs for those symbols, it compiles with optimizations. Thanks to whoever found this solution and posted it on the ACE mailing list. Marius marius@funcom.com (Marius Kjeldahl) writes: > > I have a port of ACE (Adaptice Communication Environment) for linux > (2.1.17) which consistently fails whenever I try to activate > optimization (by adding the -O flag). I first noticed the bug many > months ago, but have let it rest. Now, several ACE versions later, this > bug still persists. > > The strangest part is that gcc gets a parsing error in one of the > include files just by activating -O . > > ACE is a rather big package, so I fear it would be very difficult to > pin down / isolate the bug, and was hoping that somebody with > knowledge about the inner workings of gcc would be able to offer some > advice. > > Thanks in advance.. > > Marius
Technical Details
Message-ID:
<52wwtgr84k.fsf@ace.funcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<52915xsgbr.fsf@ace.funcom.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,b3109a9e944ab40d X-Google-Attributes: gid113d02,public From: marius@funcom.com (Marius Kjeldahl) Subject: Re: Parsing error when optimizing.. Date: 1997/01/14 Message-ID: <52wwtgr84k.fsf@ace.funcom.com> X-Deja-AN: 209728581 sender: bug-gcc-request@prep.ai.mit.edu cache-post-path: araga.funcom.com!unknown@ace.funcom.com references: <52915xsgbr.fsf@ace.funcom.com> organization: Funcom x-gateway: relay7.UU.NET from bug-gcc to gnu.gcc.bug; Tue, 14 Jan 1997 06:31:36 EST newsgroups: gnu.gcc.bug