From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20128 invoked by alias); 27 Mar 2009 16:59:14 -0000 Received: (qmail 20118 invoked by uid 22791); 27 Mar 2009 16:59:12 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Mar 2009 16:59:05 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n2RGvXxk002053 ; Fri, 27 Mar 2009 17:57:33 +0100 (CET) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402:d::11]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n2RGvXd1063228 ; Fri, 27 Mar 2009 17:57:33 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n2RGvXc4081854 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Fri, 27 Mar 2009 17:57:33 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "'Andreas Schwab'" Cc: "'Doug Evans'" , References: <20090326213807.2D1771C74E3@localhost> <001001c9aeb2$e08b3140$a1a193c0$@u-strasbg.fr> In-Reply-To: Subject: RE: [ob] inferior_thread: Remove "extern" in definition. Date: Fri, 27 Mar 2009 17:17:00 -0000 Message-ID: <008401c9aefd$1efe48f0$5cfadad0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00633.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Andreas Schwab > Envoy=E9=A0: Friday, March 27, 2009 12:56 PM > =C0=A0: Pierre Muller > Cc=A0: 'Doug Evans'; gdb-patches@sourceware.org > Objet=A0: Re: [ob] inferior_thread: Remove "extern" in definition. >=20 > "Pierre Muller" writes: >=20 > > I am just very curious here: > > why does GCC accept such non-sense? >=20 > It's not nonsense, but strict C. Sorry, I didn't mean to be offensive. =20 > > If it is the implementation, it can't be external at the same time... >=20 > "extern" is only about linkage. In a definition if the linkage is not > static then extern is implicit, but making it explicit is not an error. Thanks for the explanation, Pierre Muller Pascal language support maintainer for GDB