EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20252026  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  <20252026 
<== Date ==> <== Thread ==>

Subject: Re: Compile error for base R7.0.8.1
From: Jörn Dreyer via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 24 Jul 2025 13:40:15 +0200
Thanks for the hint Simon,

using

GCC=/usr/bin/gcc-14 GXX=/usr/bin/g++-14 make

on my system (OpenSuSE Tumbleweed) solved the problem.

Regards

Jörn

Am Donnerstag, 24. Juli 2025, 12:18:56 Mitteleuropäische Sommerzeit schrieb Simon Rose via Tech-talk:
> 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




References:
Compile error for base R7.0.8.1 Jörn Dreyer via Tech-talk
Re: Compile error for base R7.0.8.1 Simon Rose via Tech-talk

Navigate by Date:
Prev: RE: Using AD plugins on asyn port Abdalla Ahmad via Tech-talk
Next: Re: [EXTERNAL] Re: Support for DBR_INT64 missing in caget/camonitor? Kasemir, Kay 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  <20252026 
Navigate by Thread:
Prev: Re: Compile error for base R7.0.8.1 Simon Rose via Tech-talk
Next: Thanks for all the fish John Dobbins 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  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·