Comment 5 for bug 1712668

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated

With those 3 diffs applied, the build progresses further, but now failed at this point:

(...)
purge.cc: In function ‘int log_extended(const char*, int, long int, const SquidMetaList*)’:
purge.cc:258:1: error: ‘%08lx’ directive output truncated writing 16 bytes into a region of size 13 [-Werror=format-truncation=]
 log_extended( const char* fn, int code, long size, const SquidMetaList* meta )
 ^~~~~~~~~~~~

This is probably the fix:
commit 6a41367f4985bf1b3fcd3aa32d1dc9d0108ba350
Author: Lubos Uhliarik <email address hidden>
Date: Mon May 8 23:09:20 2017 +1200

    Bug 4695: squidpurge: GCC 7 build errors