[squid-dev] Build failed in Jenkins: trunk-full-matrix ยป clang,d-debian-unstable #202

2016-07-29 Thread noc
See -- [...truncated 3712 lines...] libtool: compile: ccache clang -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../include -W

Re: [squid-dev] [PATCH] Deletors for std::unique_ptr fixing r14735

2016-07-29 Thread Alex Rousskov
On 07/29/2016 04:56 PM, Alex Rousskov wrote: > On 07/29/2016 12:29 PM, Alex Rousskov wrote: > I found two macro-free ways to do this. The so called "smart" one does > most of the work for us, but requires repeating the function name twice, > once with decltype() and once without: > > typedef H

Re: [squid-dev] [PATCH] Deletors for std::unique_ptr fixing r14735

2016-07-29 Thread Alex Rousskov
On 07/29/2016 12:29 PM, Alex Rousskov wrote: > If possible, we should avoid macros and should learn how to use C++11 > correctly. In general, it makes little sense to suffer the pains of > switching to C++11 and then use macros for things C++11 is supposed to > provide or support natively. > > Ho

Re: [squid-dev] [PATCH] Deletors for std::unique_ptr WAS: Re: Broken trunk after r14735

2016-07-29 Thread Alex Rousskov
On 07/29/2016 09:27 AM, Amos Jeffries wrote: >>> typedef std::unique_ptr> BIO_Pointer; > I got this config parsing crash replicated here and tried a dozen or so > combinations. It does seem to keep coming back to my earlier approach of > using per-type Functors as the most reliable solution. AFAI

[squid-dev] [PATCH] Deletors for std::unique_ptr WAS: Re: Broken trunk after r14735

2016-07-29 Thread Amos Jeffries
On 26/07/2016 2:10 a.m., Alex Rousskov wrote: > On 07/24/2016 01:04 AM, Amos Jeffries wrote: > >> does replacing "BIO_free" with "BIO_vfree" in the ssl/gadgets.h >> definition of BIO_POinter fix this one? > > Same startup exception (quoted below) after patching trunk revision > 14756 with > >>