[squid-dev] [PATCH] neutralize gperf useage of "register" keyword

Kinkie gkinkie at gmail.com
Tue Sep 22 16:30:20 UTC 2015


Hi,
   revised patch attached.

On Tue, Sep 22, 2015 at 5:28 PM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> On 23/09/2015 3:16 a.m., Kinkie wrote:
>> Hi,
>>   "register" is a deprecated keyword in c++11, and clang-3.5 is
>> enforcing that with our flags.
>> The attached patch neutralizes this behavior with a local #define;
>> it'll be needed until gperf catches up with the standards.
>> build-tested.
>
> It would be a bit safer to sed the output of gperf in the makefile.
>
> Amo
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev



-- 
    Francesco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gperf-register-keyword-mk2.patch
Type: text/x-diff
Size: 2449 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150922/617639b4/attachment-0001.patch>


More information about the squid-dev mailing list