bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] bad __attribute__ handling breaks w/newer standards, new


From: Michael Petch
Subject: Re: [Bug-gnubg] bad __attribute__ handling breaks w/newer standards, newer gcc, & glibc and causes infinite loop
Date: Wed, 7 Oct 2015 16:32:55 -0600
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 2015-10-07 15:30, Michael Petch wrote:
> #ifndef __attribute__
> # if (defined __GNUC__ \
> && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \
> || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
> # define __attribute__(Spec) /* empty */
> # endif
> #endif

Scrap this since Bison's original code technically isn't redefining
__attribute__ but declaring YY_ATTRIBUTE that may use __attribute__ (or
not).

-- 
Michael Petch
CApp::Sysware Consulting Ltd.
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304



reply via email to

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