EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: STATIC_ASSERT and -Wunused-local-typedefs
From: "Johnson, Andrew N." <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 8 Jul 2015 15:21:47 +0000
My Ubuntu builds of 3.15 and 3.16 using gcc 4.8.4 don't show this warning, so I think the EPICS_UNUSED that we added already fixed it, just not on 3.14 (which doesn't have the EPICS_UNUSED macro.

- Andrew

-- 
Sent from my iPad

> On Jul 6, 2015, at 4:12 PM, Andrew Johnson <[email protected]> wrote:
> 
> 
>> On 07/06/2015 02:23 PM, Michael Davidsaver wrote:
>> FYI, it seems that as of gcc 4.8 there is a new warning which is
>> triggered by STATIC_ASSERT in Base.
>> 
>> This warning means that the assertion is *not* being violated.
> 
> I see that in 3.15 we already include the EPICS_UNUSED attribute in that
> macro, does it help to move it immediately after the 'int'?
> 
> - Andrew
> 
> -- 
> Light thinks it travels faster than anything but it is wrong.
> No matter how fast light travels, it finds the darkness has
> always got there first, and is waiting for it.
>    -- Terry Pratchett, Reaper Man


References:
STATIC_ASSERT and -Wunused-local-typedefs Michael Davidsaver
Re: STATIC_ASSERT and -Wunused-local-typedefs Andrew Johnson

Navigate by Date:
Prev: Re: STATIC_ASSERT and -Wunused-local-typedefs Andrew Johnson
Next: Jenkins build became unstable: epics-base-3.16 #28 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: STATIC_ASSERT and -Wunused-local-typedefs Andrew Johnson
Next: Jenkins build became unstable: epics-base-3.16 #28 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·