[squid-users] compile error in squid v6.1

botp botpena at gmail.com
Mon Jul 31 15:26:38 UTC 2023


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
---------------------------

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20230731/2cdf5979/attachment.htm>


More information about the squid-users mailing list