Hi All,
' been compiling (using default setting) squid since v5, my last version was 5.9, but, when i tried 6.1, i get the following error (enclosed in dashed lines):
---------------------------------------------
In file included from ActionParams.cc:13:0:
../../src/ipc/TypedMsgHdr.h: In instantiation of ‘void Ipc::TypedMsgHdr::getPod(Pod&) const [with Pod = RequestFlags]’:
ActionParams.cc:29:25: required from here
../../src/ipc/TypedMsgHdr.h:120:5: error: static assertion failed: getPod() used for a POD
static_assert(std::is_trivially_copyable<Pod>::value, "getPod() used for a POD");
^~~~~~~~~~~~~
../../src/ipc/TypedMsgHdr.h: In instantiation of ‘void Ipc::TypedMsgHdr::putPod(const Pod&) [with Pod = RequestFlags]’:
ActionParams.cc:44:25: required from here
../../src/ipc/TypedMsgHdr.h:128:5: error: static assertion failed: putPod() used for a POD
static_assert(std::is_trivially_copyable<Pod>::value, "putPod() used for a POD");
^~~~~~~~~~~~~
Makefile:894: recipe for target 'ActionParams.lo' failed
../../src/ipc/TypedMsgHdr.h: In instantiation of ‘void Ipc::TypedMsgHdr::getPod(Pod&) const [with Pod = RequestFlags]’:
ActionParams.cc:29:25: required from here
../../src/ipc/TypedMsgHdr.h:120:5: error: static assertion failed: getPod() used for a POD
static_assert(std::is_trivially_copyable<Pod>::value, "getPod() used for a POD");
^~~~~~~~~~~~~
../../src/ipc/TypedMsgHdr.h: In instantiation of ‘void Ipc::TypedMsgHdr::putPod(const Pod&) [with Pod = RequestFlags]’:
ActionParams.cc:44:25: required from here
../../src/ipc/TypedMsgHdr.h:128:5: error: static assertion failed: putPod() used for a POD
static_assert(std::is_trivially_copyable<Pod>::value, "putPod() used for a POD");
^~~~~~~~~~~~~
Makefile:894: recipe for target 'ActionParams.lo' failed
---------------------------
my steps are just basic:
1. ./configure
2. make
3. make install
they work fine, until i tried v6.1.
its obvious i have no knowledge on this. any help is highly appreciated.
thanks and kind regards
--botp
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users