← Back to team overview

enterprise-support team mailing list archive

[Bug 1793131] [NEW] FTBFS gcc8

 

Public bug reported:

https://launchpadlibrarian.net/387931929/buildlog_ubuntu-cosmic-
amd64.squid3_3.5.27-1ubuntu1_BUILDING.txt.gz

error=deprecated -Wno-error=format-truncation -c -o IcmpPinger.o IcmpPinger.cc
IcmpPinger.cc: In member function ‘virtual void IcmpPinger::Recv()’:
IcmpPinger.cc:162:39: error: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct pingerEchoData’ with no trivial copy-assignment; use assignment or value-initialization instead [-Werror=class-memaccess]
     memset(&pecho, '\0', sizeof(pecho));
                                       ^
In file included from Icmp4.h:14,
                 from IcmpPinger.cc:18:
Icmp.h:25:8: note: ‘struct pingerEchoData’ declared here
 struct pingerEchoData {
        ^~~~~~~~~~~~~~


Upstream bug:
https://bugs.squid-cache.org/show_bug.cgi?id=4843

Upstream PR:
https://github.com/squid-cache/squid/pull/172

** Affects: squid
     Importance: Unknown
         Status: Unknown

** Affects: squid3 (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: Squid Bugzilla #4843
   http://bugs.squid-cache.org/show_bug.cgi?id=4843

** Also affects: squid via
   http://bugs.squid-cache.org/show_bug.cgi?id=4843
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to squid3 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1793131

Title:
  FTBFS gcc8

To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/1793131/+subscriptions


Follow ups