From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17895 invoked by alias); 7 Mar 2002 01:41:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17764 invoked from network); 7 Mar 2002 01:40:58 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.135.44) by sources.redhat.com with SMTP; 7 Mar 2002 01:40:58 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0670E3D8E; Wed, 6 Mar 2002 20:40:45 -0500 (EST) Message-ID: <3C86C51D.6030403@cygnus.com> Date: Wed, 06 Mar 2002 17:41:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.8) Gecko/20020210 X-Accept-Language: en-us MIME-Version: 1.0 To: Alexandre Oliva Cc: gdb-patches@sources.redhat.com, Don Libes Subject: Re: expect won't build with Tru64 cc References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00086.txt.bz2 > Using the following C compiler on alphaev6-dec-osf4.0f > > % cc -V | head -1 > DEC C V5.9-010 on Digital UNIX V4.0 (Rev. 1229) > > GDB won't build (both CVS and mainline). One of the reasons is that > expect contains an ill-formed C construct that the DEC C compiler > rejects (actually, it warns about it, but the #define fails to take > effect). This patch fixes the problem. I don't know whether this is > already fixed in expect upstream, so I'm Cc:ing Don Libes. > > GDB/expect maintainers, ok to install in mainline and 5.2 branch? Just so I'm sure I'm not seeing anything, the problem is that the ``#'' isn't at the start of the line? If that is the case then yes, fine. If it really is the case then I think I'm going to have to add this to the coding standard/ARI for GDB, it is just too wierd. (I've a fuzzy memory of seeing this before). Andrew