Public bug reported:

Using libpion-net with GCC 5 will not compile.

Reason: Exception specification is looser as in base class
boost::system::error_caterogy

Solution:

Change following line (53) in pion/net/HTTPMessage.hpp:

                virtual inline const char *name() const { return 
"ReceiveError"; }
to
                virtual inline const char *name() const BOOST_SYSTEM_NOEXCEPT { 
return "ReceiveError"; }

The same should be done in for ErrorCategory in pion/net/HTTPParser.hpp

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libpion-net-dev 4.0.7+dfsg-3.1ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct  5 15:49:21 2016
InstallationDate: Installed on 2016-09-27 (8 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: pion-net
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: pion-net (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1630595

Title:
  Invalid throw specification on ReceiveError::name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pion-net/+bug/1630595/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to