Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Sun, 2 Feb 2003 14:40:52 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: bison-1.875-1 generates code incompatible with g++ Message-ID: <20030202194052.GA9584@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <005c01c2caf1$f2781400$78d96f83 AT pomello> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005c01c2caf1$f2781400$78d96f83@pomello> User-Agent: Mutt/1.5.1i 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". -- 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/