El 12/01/17 a las 19:49, Sam Hartman escribió:
>>>>>> "Alejandro" == Alejandro Pérez Méndez <[log in to unmask]> writes:
> Alejandro> Hi, I'm trying to build mech_eap on Debian testing
> Alejandro> (upcoming Debian 9) and having problems with the
> Alejandro> deprecation of auto_ptr. I'm using the "debian" branch,
> Alejandro> which already has a fix for that, but the problem seems
> Alejandro> to reside on the inclusion of
> Alejandro> "xmltooling/util/ParserPool.h". This can be worked around
> Alejandro> by remove the -Werror from the Makefile.am, but I guess
> Alejandro> that is not the proper solution for it. Has anyone else
> Alejandro> been successful building on Debian testing? I'm I missing
> Alejandro> anything?
>
> So, the debian/0.9.5-3 tag definitely works on stretch.
Indeed it does. As it does the branch origin/stretch which I didn't
notice before.
> In general, rather than using auto_ptr, you probably want to use
> unique_ptr or shared_ptr.
Right. I've read about it. It seems that the fix in branch origin/debian
(6055f4f86d19a9df7ac06317b3aacf3c38cab559) is not working as it should,
at least in my configuration (LXC container with Debian/testing).
Regards,
Alejandro
>
> In 87564f89a356401e3bc85a718ce3971a7d7e04ce
> I used unique_ptr, which is definitely the right approach for any
> automatic variable, as in the existing attribute providers.
>
> --Sam
|