From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27247 invoked by alias); 4 Apr 2002 21:12:27 -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 27235 invoked from network); 4 Apr 2002 21:12:27 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sources.redhat.com with SMTP; 4 Apr 2002 21:12:27 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id 0D6E85EA11; Thu, 4 Apr 2002 16:12:13 -0500 (EST) To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: PATCH: check for `inline' keyword References: <20020404001137.979665EA11@zwingli.cygnus.com> <3CABD852.5000504@cygnus.com> From: Jim Blandy Date: Thu, 04 Apr 2002 13:12:00 -0000 In-Reply-To: <3CABD852.5000504@cygnus.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00128.txt.bz2 Andrew Cagney writes: > > This allows GDB to use the `inline' keyword, but still build under > > compilers that don't support it. > > Um, I'm curious. On which machine? Why does GDB want to use the > inline keyword? The test works by trying to compile a function with the inline keyword, and seeing if any errors are reported. So it should work for any compiler, on any machine. The macro code has some uses of `inline'. They're not too important.