From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12929 invoked by alias); 6 Aug 2002 02:20:26 -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 12914 invoked from network); 6 Aug 2002 02:20:23 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 6 Aug 2002 02:20:23 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9A9E63D82; Mon, 5 Aug 2002 22:20:17 -0400 (EDT) Message-ID: <3D4F3261.8030209@ges.redhat.com> Date: Mon, 05 Aug 2002 19:20:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020802 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder Cc: Daniel Jacobowitz , Joel Brobecker , gdb-patches@sources.redhat.com Subject: Re: Question regarding bizarre ',' References: <20020806012134.GC916@gnat.com> <20020806012702.GA15122@nevyn.them.org> <3D4F245F.6EAF1073@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00110.txt.bz2 > By most compilers, but some (possibly deviant ones) will give you > an error, or at least a warning. I have definitely encountered this > when building GDB, and I think most array and enum initializers in > gdb do not have the trailing comma for this reason. This is true of enums (cf the alpha compiler) but not, I believe, of array initializers. Andrew