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.
> In file included from /usr/lib/epics/include/epicsEvent.h:13:0,
> from /usr/lib/epics/include/epicsThread.h:116,
> from ../mrmDataBufTx.cpp:13:
> ../mrmDataBufTx.cpp: In member function 'virtual void mrmDataBufTx::dataSend(epicsUInt32, const epicsUInt8*)':
> /usr/lib/epics/include/epicsAssert.h:50:29: warning: typedef 'static_assert_failed_at_line_100' locally defined but not used [-Wunused-local-typedefs]
> typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
> ^
> /usr/lib/epics/include/epicsAssert.h:48:28: note: in definition of macro 'STATIC_JOIN2'
> #define STATIC_JOIN2(x, y) x ## y
> ^
> /usr/lib/epics/include/epicsAssert.h:50:17: note: in expansion of macro 'STATIC_JOIN'
> typedef int STATIC_JOIN(static_assert_failed_at_line_, __LINE__) \
> ^
> ../mrmDataBufTx.cpp:100:5: note: in expansion of macro 'STATIC_ASSERT'
> STATIC_ASSERT(DataTxCtrl_len_max%4==0);
- Replies:
- Re: STATIC_ASSERT and -Wunused-local-typedefs Andrew Johnson
- Navigate by Date:
- Prev:
Build failed in Jenkins: epics-base-3.16-win32s #26 APS Jenkins
- Next:
Re: STATIC_ASSERT and -Wunused-local-typedefs Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: pCAS username change API Andrew Johnson
- Next:
Re: STATIC_ASSERT and -Wunused-local-typedefs Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|