From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4352 invoked by alias); 10 Feb 2012 18:05:33 -0000 Received: (qmail 4338 invoked by uid 22791); 10 Feb 2012 18:05:31 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Feb 2012 18:05:13 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1AI4oFV017372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 10 Feb 2012 13:04:50 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1AI4oQS028701; Fri, 10 Feb 2012 13:04:50 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id q1AI4lPI006008; Fri, 10 Feb 2012 13:04:48 -0500 From: Tom Tromey To: Jan Kratochvil Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [no-commit-intention] Naive unnamed fields for main_type [Re: [patch] Fix gdb-gdb.py for flds_bnds copy-pastes] References: <20120209092727.GA2664@host2.jankratochvil.net> <20120209093119.GA2722@host2.jankratochvil.net> <20120209151621.GB3474@adacore.com> <20120209153642.GA12261@host2.jankratochvil.net> Date: Fri, 10 Feb 2012 18:05:00 -0000 In-Reply-To: <20120209153642.GA12261@host2.jankratochvil.net> (Jan Kratochvil's message of "Thu, 9 Feb 2012 16:36:42 +0100") Message-ID: <874nuyef9c.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: 2012-02/txt/msg00206.txt.bz2 >>>>> "Jan" =3D=3D Jan Kratochvil writes: Jan> I do not see anything even close to C90 compatibility, there are tons = of Jan> errors with `gcc -std=3Dc90 -pedantic', `sort -u' of them below. I'm not sure that all these problems really represent C90 incompatibilities. Some of them are GNU extensions either discovered by configure (or did you reconfigure with those options?) or by looking at __GNUC__ (which is ok in the sense that we just shouldn't bother supporting builds with -pedantic). Jan> coff-x86_64.c:174:13: error: ISO C90 does not support =E2=80=98long lo= ng=E2=80=99 [-Werror=3Dlong-long] Definitely a real bug :) Jan> error: ISO C forbids forward references to =E2=80=98enum=E2=80=99 type= s [-Werror=3Dedantic] Do these really say 'edantic' (missing 'p')? If so, could you report it as a GCC bug? Tom