Hi Jörn -
This has been fixed in 7.0.9, and is due to compilers being more strict. See https://urldefense.us/v3/__https://github.com/epics-base/epics-base/pull/579__;!!G_uCfscf7eWS!euJNE8WLfaZXPJPbnXykF2IsBmSmuriQVpmBtPNraFRRebwbeIqja1GMPJUH3dDtuYN0CqBM9blQkKXrvIxVnVM1$
Cheers,
Simon
On 2025-07-24, 11:30, "Tech-talk on behalf of Jörn Dreyer via Tech-talk" <[email protected] <mailto:[email protected]> on behalf of [email protected] <mailto:[email protected]>> wrote:
Hello,
today I ran into a bug in EPICS base R7.0.8.1 while testing e3.
It fails to build in modules/libcom/cxxTemplates:
In file included from ../cxxTemplates/resourceLib.h:43,
from ../cxxTemplates/resourceLib.cpp:15:
../cxxTemplates/tsSLList.h: In member function ‘bool tsSLIterConst<T>::operator==(const tsSLIterConst<T>&) const’:
../cxxTemplates/tsSLList.h:314:32: error: ‘const class tsSLIterConst<T>’ has no member named ‘pConstEntry’ [-Wtemplate-body]
314 | return this->pEntry == rhs.pConstEntry;
| ^~~~~~~~~~~
../cxxTemplates/tsSLList.h: In member function ‘bool tsSLIterConst<T>::operator!=(const tsSLIterConst<T>&) const’:
../cxxTemplates/tsSLList.h:320:32: error: ‘const class tsSLIterConst<T>’ has no member named ‘pConstEntry’ [-Wtemplate-body]
320 | return this->pEntry != rhs.pConstEntry;
Looking at the definition of tsSLIterConst one finds an pEntry member which is used at those positions in R7.0.9 but not in R7.0.8.
How to fix that?
Regards
Jörn Dreyer
- Replies:
- Re: Compile error for base R7.0.8.1 Jörn Dreyer via Tech-talk
- References:
- Compile error for base R7.0.8.1 Jörn Dreyer via Tech-talk
- Navigate by Date:
- Prev:
Re: Support for DBR_INT64 missing in caget/camonitor? Heinz Junkes (FHI) via Tech-talk
- Next:
RE: Using AD plugins on asyn port Abdalla Ahmad via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
<2025>
2026
- Navigate by Thread:
- Prev:
Compile error for base R7.0.8.1 Jörn Dreyer via Tech-talk
- Next:
Re: Compile error for base R7.0.8.1 Jörn Dreyer via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
<2025>
2026
|