On 12/08/11 08:14, Pawel Worach wrote:
Hi!
Here is patch for squid3 trunk that fixes a couple of compile errors with
clang++ trunk.
The hack in src/ChunkedCodingParser.cc gets rid of a warning that complains
about a empty if statement.
There is still an issue on FreeBSD where strtoll ends up undefined, I still
have no idea what is going on there.
Thank you. Applied with tweaks.
The %Zu and main() changes won't work with some of the more pedantic
compilers. I've applied slightly different changes that we have found
more portable. Namely %lu, and int main(int,char*[])
Regarding strtoll(). That is probably related to our compat layer
defining an alternative strtoll() version which does not commit buffer
overruns.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.14
Beta testers wanted for 3.2.0.10