Experimental Physics and Industrial Control System
On 12/05/2017 03:17 PM, Peterson, Kevin M. wrote:
> d:\epics7\base-7.0.1-rc1\modules\pva2pva\pdbapp\pdbgroup.h(136): note: see declaration of 'PDBGroupChannel'
> ../pdb.cpp(61): error C2664: 'std::shared_ptr<PVIFBuilder>::shared_ptr(std::shared_ptr<PVIFBuilder> &&) noexcept': cannot convert argument 1 from 'std::auto_ptr
> <PVIFBuilder>' to 'std::auto_ptr<PVIFBuilder> &&'
hmm, seems like that MSVC implementation of shared_ptr doesn't have all of the constructor overloads.
Maybe they've just jumped the gun by removing the deprecated (in c++17) form, even when building in c++98?
http://en.cppreference.com/w/cpp/memory/shared_ptr/shared_ptr
Can you try to rebuild everything in >= c++11 mode by adding the "/std" compiler flag?
When built with >= c++11 compatibility, unique_ptr is used instead of (deprecated) auto_ptr here.
https://msdn.microsoft.com/en-us/library/mt490614.aspx
- Replies:
- RE: EPICS 7 Release Candidate 1 Mark Rivers
- Re: EPICS 7 Release Candidate 1 Mark Rivers
- References:
- EPICS 7 Release Candidate 1 Andrew Johnson
- Re: EPICS 7 Release Candidate 1 Peterson, Kevin M.
- Navigate by Date:
- Prev:
RE: Help needed on adl to opi standalone converter Mark Rivers
- Next:
Re: caget() from C++ Church, Eric D
- 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: EPICS 7 Release Candidate 1 Mark Engbretson
- Next:
RE: EPICS 7 Release Candidate 1 Mark Rivers
- 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