Attempting to build 6.7 with gcc-14 dies with: ... In file included from ../../src/CommCalls.h:16, from ../../src/comm.h:13, from ../../src/FwdState.h:16, from Asn.cc:20: ../../src/MasterXaction.h: In instantiation of 'static MasterXaction::Pointer MasterXaction::MakePortless() [with XactionInitiator::Initiator anInitiator = XactionInitiator::initAsn; Pointer = RefCount<MasterXaction>]': Asn.cc:237:75: required from here 237 | const auto mx = MasterXaction::MakePortless<XactionInitiator::initAsn>(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../../src/MasterXaction.h:49:54: error: 'InstanceId<Class, ValueType>::InstanceId(const InstanceId<Class, ValueType>&) [with Class = MasterXaction; ValueType = long unsigned int]' is private within this context 49 | return new MasterXaction(anInitiator, nullptr); | ^ In file included from ../../src/sbuf/SBuf.h:14, from ../../src/sbuf/List.h:12, from ../../src/acl/Data.h:13, from ../../src/acl/Asn.h:12, from Asn.cc:13: ../../src/base/InstanceId.h:72:5: note: declared private here 72 | InstanceId(const InstanceId &); ///< not implemented; IDs are unique | ^~~~~~~~~~ ../../src/MasterXaction.h:49:54: error: 'InstanceId<Class, ValueType>::InstanceId(const InstanceId<Class, ValueType>&) [with Class = MasterXaction; ValueType = long unsigned int]' is private within this context ... There might be others that get hit sooner/later depending on USE flags. This was an older gcc-14 (sys-devel/gcc-14.0.0_pre20231217:14) but there are a few documented gcc-14 fixes in squid 6.8 / 6.9, see https://github.com/squid-cache/squid/commits/v6