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

Amos Jeffries squid3 at treenet.co.nz
Tue Sep 22 15:28:17 UTC 2015


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


More information about the squid-dev mailing list