Experimental Physics and Industrial Control System
On 11/22/2017 06:28 AM, Dirk Zimoch wrote:
> ELDK 4.2 ppc 4xx cross build fails here:
> ../pvif.h: In constructor 'PDBSinglePut::PDBSinglePut(const
> std::tr1::shared_ptr<PDBSingleChannel>&, const
> std::tr1::shared_ptr<epics::pvAccess::ChannelPutRequester>&, const
> std::tr1::shared_ptr<epics::pvData::PVStructure>&)':
> ../pvif.h:291: error: 'FieldName::FieldName(const FieldName&)' is private
> ../pdbsingle.cpp:300: error: within this context
> ../pvif.h: In member function 'virtual void PDBSinglePut::put(const
> std::tr1::shared_ptr<epics::pvData::PVStructure>&, const
> std::tr1::shared_ptr<epics::pvData::BitSet>&)':
> ../pvif.h:291: error: 'FieldName::FieldName(const FieldName&)' is private
> ../pdbsingle.cpp:364: error: within this context
> ../pvif.h:291: error: 'FieldName::FieldName(const FieldName&)' is private
> ../pdbsingle.cpp:386: error: within this context
> make[4]: *** [pdbsingle.o] Error 1
Can you provide the full set of arguments passed to GCC? Also, can you
confirm that this is gcc 4.2.2?
I intentionally made the FieldName class non-copyable so that I wouldn't
accidentally copy it (and its std::vector). The lines in question eg.
pdbsingle.cpp:300 look like:
> ...attach(channel->pv->chan, value, FieldName())
Where the last argument is "const FieldName&".
To my understanding, this shouldn't involve a copy. Before I change
this code I'd like to find where my understanding is wrong.
- Replies:
- Re: EPICS 7.0.1-pre1 (pdbsingle.cpp) Dirk Zimoch
- References:
- EPICS 7.0.1-pre1 Andrew Johnson
- Re: EPICS 7.0.1-pre1 Dirk Zimoch
- Navigate by Date:
- Prev:
Re: EPICS 7.0.1-pre1 (typeCast.h) Michael Davidsaver
- Next:
Re: EPICS 7.0.1-pre1 Dirk Zimoch
- 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: EPICS 7.0.1-pre1 (typeCast.h) Dirk Zimoch
- Next:
Re: EPICS 7.0.1-pre1 (pdbsingle.cpp) Dirk Zimoch
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024