Hi Jens, Dirk,
On 09.11.2012 11:26, "Ing.- Büro Austel" wrote:
> using the free downloadable bcc55 compiler I get the error
>
> ../../../src/libCom/cxxTemplates/epicsOnce.cpp:
> Error E2316 ../../../src/libCom/cxxTemplates/epicsSingleton.h 112:
> 'epicsSingleton<TYPE>::reference::operator =(const
> epicsSingleton<TYPE>::reference &) is not a
> member of 'epicsSingleton<TYPE>::reference'
> ***1 error in Compile ***
Is bcc55 the old Borland C++ compiler, or have they published a new version
recently? What C++ standard does it recognize? We used to support the
Borland compiler quite a long time ago, but we dropped it because it wasn't
keeping up with the C++ standards process.
On 2012-11-09 Dirk Zimoch wrote:
> It seems the "archaic Tornado gnu compiler" and bcc55 don't quite agree
> on what valid C++ template syntax looks like.
>
> The syntax looks strange to me, too. I simplified it to:
>
> reference & operator = ( const reference & );
>
> And it compiles fine with several gcc versions for Linux and as well
> with the gcc versions of vxWorks 5.5, 6.3 and 6.7. Maybe bcc is happy
> with this change, too?
> BTW: This is exactly how the operator = looked like in 3.14.8, except
> that it was private and is now public. Does anyone remember why it had
> been changed?
According to the commit that made this change, it was for the Tornado 2.0.2
g++ compiler that came with vxWorks 5.4.2. We don't support that compiler any
more, so we could probaby switch the definition back now (Jeff Hill would have
to agree to that), but if bcc55 is the old Borland compiler I don't think that
will be sufficient.
- Andrew
--
READ CAREFULLY. By reading this email, you agree, on behalf of your
employer, to release me from all obligations and waivers arising from
any and all NON-NEGOTIATED agreements, licenses, terms-of-service,
shrink-wrap, click-wrap, browse-wrap, confidentiality, non-disclosure,
non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I
have entered into with your employer, its partners, licensors, agents
and assigns, in perpetuity, without prejudice to my ongoing rights
and privileges. You further represent that you have the authority to
release me from any BOGUS AGREEMENTS on behalf of your employer.
- Replies:
- Re: bcc55 Dirk Zimoch
- References:
- bcc55 "Ing.- Büro Austel"
- Re: bcc55 Dirk Zimoch
- Re: bcc55 Dirk Zimoch
- Navigate by Date:
- Prev:
Re: bcc55 Dirk Zimoch
- Next:
Control System Staff Engineer needed at MSU's FRIB careers
- 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
- Navigate by Thread:
- Prev:
Re: bcc55 Dirk Zimoch
- Next:
Re: bcc55 Dirk Zimoch
- 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
|