g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: bcc55
From: Andrew Johnson <anj@aps.anl.gov>
To: tech-talk@aps.anl.gov
Date: Fri, 9 Nov 2012 11:33:12 -0500
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  <20122013  2014 
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  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·