← Back to team overview

enterprise-support team mailing list archive

[Bug 1712668] [NEW] squid3: ftbfs with gcc7: dynamic exception specifications are deprecated

 

Public bug reported:

squid 3.5.23 in artful:
(...)
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I../.. -I../../include -I../../lib -I../../src -I../../include  -isystem /usr/include/mit-krb5  -I../../lib -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT -m64 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/home/ubuntu/squid3-3.5.23=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ntlmauth.lo ntlmauth.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -isystem /usr/include/mit-krb5 -I../../lib -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT -m64 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/home/ubuntu/squid3-3.5.23=. -fstack-protector-strong -Wformat -Werror=format-security -c ntlmauth.cc  -fPIC -DPIC -o .libs/ntlmauth.o
In file included from ../../include/util.h:37:0,
                 from ntlmauth.cc:20:
../../include/SquidNew.h:21:51: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
 _SQUID_EXTERNNEW_ void *operator new(size_t size) throw (std::bad_alloc)
                                                   ^~~~~
../../include/SquidNew.h:29:54: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
 _SQUID_EXTERNNEW_ void *operator new[] (size_t size) throw (std::bad_alloc)
                                                      ^~~~~
cc1plus: all warnings being treated as errors

** Affects: squid
     Importance: Unknown
         Status: Unknown

** Affects: squid3 (Ubuntu)
     Importance: Undecided
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress

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

** Also affects: squid via
   http://bugs.squid-cache.org/show_bug.cgi?id=4671
   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/1712668

Title:
  squid3: ftbfs with gcc7: dynamic exception specifications are
  deprecated

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


Follow ups