[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison-1.875: g++ and __attribute__ line

From: Paul Eggert
Subject: Re: bison-1.875: g++ and __attribute__ line
Date: Fri, 3 Jan 2003 18:01:18 -0800

> Date: Fri, 3 Jan 2003 18:38:10 -0700 (MST)
> From: "Nelson H. F. Beebe" <address@hidden>
> It seems to me that this is in disagreement with the documented
> purpose of __attribute__(()),

It is documented in the GCC 3.2 manual, under the node "Attribute
Syntax", as follows:

  An attribute specifier list may appear after the colon following a
  label, other than a `case' or `default' label.  The only attribute it
  makes sense to use after a label is `unused'.

Perhaps it's buggy in older GCC compilers, though.  Does it fix things
if you change

#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)


#if defined (__GNUC_MINOR__) && 3002 <= (__GNUC__ * 1000 + __GNUC_MINOR__)

in data/yacc.c?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]