From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20146 invoked by alias); 19 Feb 2015 16:02:17 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 20129 invoked by uid 89); 19 Feb 2015 16:02:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 19 Feb 2015 16:02:15 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 949C73405D5; Thu, 19 Feb 2015 16:02:13 +0000 (UTC) Date: Thu, 19 Feb 2015 16:02:00 -0000 From: Mike Frysinger To: DJ Delorie Cc: gdb@sourceware.org Subject: Re: sim vs c99 Message-ID: <20150219160213.GO544@vapier> Mail-Followup-To: DJ Delorie , gdb@sourceware.org References: <201502191406.t1JE6k4X000856@greed.delorie.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u+fRANu8FDjhiqn/" Content-Disposition: inline In-Reply-To: <201502191406.t1JE6k4X000856@greed.delorie.com> X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00031.txt.bz2 --u+fRANu8FDjhiqn/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 703 On 19 Feb 2015 09:06, DJ Delorie wrote: > clang defaults to c99 and gcc is moving towards it. >=20 > The simulator won't build with -std=3Dc99, lots of these due to "extern > inline" using the c89 semantics: >=20 > libsim.a(sim-core.o): In function `sim_addr_range_hit_p': > binutils-gdb/sim/msp430/../common/sim-arange.c:290: multiple definition o= f `sim_addr_range_hit_p' > nrun.o:binutils-gdb/sim/msp430/../common/sim-arange.c:290: first defined = here >=20 > Are there any plans to switch to C99 or at least detect/support a C99 > environment? i'm not actively looking into it (and probably won't until gcc blows up), b= ut i=20 have no problem if someone else wants to do so ahead of time. -mike --u+fRANu8FDjhiqn/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU5gkFAAoJEEFjO5/oN/WBrdoQAIOnflZdL9X/9UP78Gmmgd1/ ha3CK3LVWl+uo0qlcrKYgFO9K4QtKR7LwN1sCwdTmOC4NzClsVg63FcQC4GbjZqT JQ/5ip6iNd7//oqvUI/NYXvoR/KirKr+Ajg4rwsm9SS10UhC2ayt9A5/xFAPNdED vSuv4e9aaZLI0EAv1slcb7+v2poPPo14xTl+LkLkJDwCmHlUZBlKLOleo5YZm4nO 7DnBH5QMwWSoHXoRzo+qkVozMm+QfNg9ZQgEpp/ZS+324cMmT3JC553R3liefES7 H9itTEHpwBIsbdleOO+OQbpZJZWGlOHbzOaico7ASXdSBweIClXGw5yILU6aeqPA VsXDsRN0hGakFkYuGBmjyRje5J3+jAppjAwhUwqiwO2PTre17f5L13NqhzBUGqvW vkbIHfH1YlMALCAdTdRkd9e+eGDp/UQbq1NiX/gUpvPvohzvCYSu2iKj85N6oyZf pwkfTtxr41BtWdLRBclIHzYn69ea02sf2nQ734/SYv9z6JK3mHfrhInQ8y/Z+kzi 5Izy15fs4BoTCMyPt3FxuqY1MprNj1iU8XMYBN5oK3hl42gTwqbdCh8uGhgZ32K1 mbdwS07h+wvYooXPvBZMZ9WMB7pQ3drsbuq5853ejAN//Aw/EWPC1/l4BreKcAIx prmS4VjKAs91wYTOL+tq =CjzZ -----END PGP SIGNATURE----- --u+fRANu8FDjhiqn/--