[squid-dev] src/forward.h

Christos Tsantilas christos at chtsanti.net
Tue Jun 20 09:06:00 UTC 2017


Στις 20/06/2017 01:59 πμ, ο Alex Rousskov έγραψε:
>> revno: 15212
>> committer: Amos Jeffries <squid3 at treenet.co.nz>
>> branch nick: 5
>> timestamp: Tue 2017-06-20 01:53:03 +1200
>> message:
>>    Fix build errors with automake after rev.15194
>>    
>>    We cannot name files in src/ the same as files in sub-directories due to
>>    certain automake still implicitly using -I. for search paths.
> 
> 
> Aggregating frequently used forward declarations for src/ code is a good
> idea IMO. If we cannot use a src/forward.h name, then we should use
> another name to implement that idea (rather than to kill the idea
> itself). I can suggest:
> 
> 1. src/fwd.h (sufficient but should not be replicated to other dirs)
> 2. src/forward_.h (emphasizes that we are working around a problem)
> 3. src/src_fwd.h (lowers the chance of replication in other dirs)

We can use the $topdir/include/forward.h


> 
> I suggest #1, but it is not a strong preference. Any string preferences,
> objections, or better ideas?
> 
> 
> Thank you,
> 
> Alex.
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev


More information about the squid-dev mailing list