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 17:07: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 16:49, Philippe Michel wrote:

> There is a ax_c___attribute__.m4 macro in the autoconf archive that
> handles this totally differently, by checking if __attribute__(unused)
> compiles.
> 
> I have no idea if an approach is better. It probably doesn't matter much.

You and I pretty much came up with a similar email within a few minutes.
I too mentioned ax_c___attribute__.m4 as a solution. Then we define
__attribute__ if it isn't defined in our code.

-- 
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304



reply via email to

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