[Debian-med-packaging] Bug#808537: Please help (Was: Bug#808537: jellyfish: FTBFS: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations])

Andreas Tille andreas at an3as.eu
Wed Dec 23 20:22:25 UTC 2015


Hi Gert,

On Wed, Dec 23, 2015 at 06:46:28PM +0100, Gert Wollny wrote:
> > I was hoping that Gert could provide any hint how he fixed #778005
> > but he seems to be offline.  Any hint how to deal with his?
> 
> I was indeed AFK and will be a for few more hours. 

How were you able to respond without keyboard? ;-)
Very cool - thanks a lot!
 
> ----- Forwarded message from Andreas Tille <andreas at an3as.eu> -----
> > Cc: Gert Wollny <gw.fossdev at gmail.com>
> > Subject: Re: Bug#808537: jellyfish: FTBFS: error: 'template<class>
> > class std::auto_ptr' is deprecated [-Werror=deprecated-declarations]
> 
> I'll take a look at the code later, but the problem is that when c++11
> is enabled (with g++5 the default I think), then std::auto_ptr is
> deprecated, hence there is a warning. But since someone decided to add
> the -Werror=deprecated-declarations compile flag this warning is
> propagated to an error. 
> 
> One fix is to remove the compile flag, another one replace
> std::auto_ptr with std::unique_ptr. 

I commited a patch but now one unit test is failing... :-(

Kind regards

       Andreas. 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list