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

Subject: Re: EPICS 7 Release Candidate 1
From: Michael Davidsaver <mdavidsaver@gmail.com>
To: "Peterson, Kevin M." <kmpeters@anl.gov>, "Johnson, Andrew N." <anj@aps.anl.gov>, EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Tue, 5 Dec 2017 22:07:48 -0500
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
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
ANJ, 06 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·