Closed GoogleCodeExporter closed 9 years ago
connection.hpp? XBT Tracker does not have a connection.hpp
Original comment by olafvdspek
on 31 Oct 2014 at 2:58
Original comment by olafvdspek
on 31 Oct 2014 at 2:59
[deleted comment]
tried to install r2448 revision, here's the error
=======
In file included from connection.cpp:2:0:
connection.h:5:7: error: looser throw specifier for 'virtual
Cconnection::~Cconn
ection()'
In file included from connection.h:3:0,
from connection.cpp:2:
client.h:10:10: error: overriding 'virtual Cclient::~Cclient() noexcept
(true)
'
In file included from server.cpp:5:0:
connection.h:5:7: error: looser throw specifier for 'virtual
Cconnection::~Cconn
ection()'
In file included from connection.h:3:0,
from server.cpp:5:
client.h:10:10: error: overriding 'virtual Cclient::~Cclient() noexcept
(true)
'
======
Files downloaded from here =)
Original comment by freetorr...@gmail.com
on 31 Oct 2014 at 6:33
For what versions of GCC and Boost?
You could try to replace
virtual ~Cclient() = default;
by
virtual ~Cclient() { }
Original comment by olafvdspek
on 31 Oct 2014 at 11:40
gcc version 4.7.2 (Debian 4.7.2-5)
boost version: 1.49.0.1
Original comment by freetorr...@gmail.com
on 1 Nov 2014 at 12:24
I think it's a bug in Boost, but try the fix in #5.
BTW, where was that request.hpp from?
Original comment by olafvdspek
on 1 Nov 2014 at 12:27
This file is not exist. I made a mistake
And what to do with the boost? I had already updated to the latest version
Original comment by freetorr...@gmail.com
on 1 Nov 2014 at 12:33
Latest Boost version is 1.56 (soon 1.57), but it's not fixed yet.
Original comment by olafvdspek
on 1 Nov 2014 at 12:35
I did this
apt-get install cmake g++ libboost-date-time-dev libboost-dev \
libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
libboost-serialization-dev libmysqlclient15-dev make subversion zlib1g-dev
Strange why not updated.
So I did as you said
virtual ~Cclient() = default;
by
virtual ~Cclient() { }
It worked. And how to get rid of the bugs in future updates?
Original comment by freetorr...@gmail.com
on 1 Nov 2014 at 12:41
I updated Boost up to version 1.56, but the problem persists.
Original comment by freetorr...@gmail.com
on 1 Nov 2014 at 10:19
As I said in #9, it's not fixed yet.
https://svn.boost.org/trac/boost/ticket/10698
Original comment by olafvdspek
on 1 Nov 2014 at 10:47
It might not be an issue with GCC 4.9 though.
Original comment by olafvdspek
on 1 Nov 2014 at 10:49
Okay. I will be manually correcting.
Original comment by freetorr...@gmail.com
on 1 Nov 2014 at 11:09
Original issue reported on code.google.com by
freetorr...@gmail.com
on 31 Oct 2014 at 2:03