[squid-dev] [PATCH] remove --disable-inline and related macros

Amos Jeffries squid3 at treenet.co.nz
Sun Jan 8 05:16:19 UTC 2017


On 2017-01-08 17:56, Alex Rousskov wrote:
> On 01/07/2017 07:33 PM, Amos Jeffries wrote:
>> This now just depends on the client_side_request_cci_remove_mk1.patch
>> submitted earlier.
>> 
>> With the .cci files gone there is no longer any use of the 
>> SQUID_INLINE
>> macro. Which in turn removes the need for _USE_INLINE_ macro and then
>> the --disable-inline build option which sets that.
> 
> Perhaps I am missing some other yet-uncomitted changes, but bzr shows 
> me
> some 30 _SQUID_INLINE_ macros in r15000 and
> client_side_request_cci_remove_mk1.patch does not remove all of them.
> See bzr grep _SQUID_INLINE_.
> 

Hmm. I'm only seeing the client_side and include/squid.h ones on my v5 
checkout now (at r15000). The others all went with the earlier .cci file 
removals (late r1499x's.


> Please remove all _SQUID_INLINE_ before or while removing
> --disable-inline. No need to repost this patch for that reason alone 
> IMO.
> 

Okay. Will commit both patches then. Thanks.

> 
>> The relevant compiler specific *FLAGS option should be used instead to
>> disable compiler inlining functions without special macro usage.
> 
> Yes, of course. And we have --disable-optimizations that should be used
> in 99% of relevant cases anyway.
> 
> 
> Thank you,
> 
> Alex.

Exactly ;-)

Applied as v5 r15002.

Cheers
Amos



More information about the squid-dev mailing list