delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/05/21:36:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 5 Feb 2003 21:37:27 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bison-1.875-1 generates code incompatible with g++
Message-ID: <20030206023727.GF14293@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <005c01c2caf1$f2781400$78d96f83 AT pomello> <20030202194052 DOT GA9584 AT redhat DOT com> <02de01c2cd7b$a5f89b40$78d96f83 AT pomello>
Mime-Version: 1.0
In-Reply-To: <02de01c2cd7b$a5f89b40$78d96f83@pomello>
User-Agent: Mutt/1.5.1i

On Thu, Feb 06, 2003 at 01:04:06AM -0000, Max Bowsher wrote:
>Christopher Faylor wrote:
>> On Sun, Feb 02, 2003 at 07:33:22PM -0000, Max Bowsher wrote:
>>> (Ran into this when building setup)
>>>
>>> bison 1.875 produces this code fragment:
>>>
>>>> yyerrlab1:
>>>>
>>>>   /* Suppress GCC warning that yyerrlab1 is unused when no action
>>>>      invokes YYERROR.  */
>>>> #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 +
>>>>   __GNUC_MINOR__) __attribute__ ((__unused__))
>>>> #endif
>>>
>>> which compiles with gcc, but g++ doesn't accept attributes on labels.
>>>
>>> This seems to be a g++ bug.
>>>
>>> Comments?
>>
>> Probably one of the mailing lists designed for bison would have
>> observations about this:
>>
>> http://mail.gnu.org/mailman/listinfo
>>
>> Search for "bison".
>
>Thanks for the pointer. Turns out this was resolved without my input in
>bison-1.875a.
>
>It is a test release, but the changes seem to be entirely bug fixes. Would
>you consider upgrading the Cygwin package to this version? If not, would you
>consider taking just the data/yacc.c file from bison-1.875a and releasing a
>Cygwin bison-1.875-2?

I'm hoping that 1.875a will become an official release soon.  If it doesn't
I'll probably release it as is.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019