Actions
Bug #1351
closedDoesn't compile with boost 1.50
Start date:
07/09/2012
Due date:
% Done:
0%
Estimated time:
Description
My toolchain: arch linux, boost 1.50, gcc 4.7.1, glibc 2.16.0
Files
Updated by Wim Dumon over 12 years ago
- Status changed from New to Resolved
Just fixed this, will appear in git soon:
@@ -312,20 +312,20 @@ void DataStore::handleRequest(const Http::Request& request,
s = request.getParameter("start");
if (s)
try {
start = std::max(0, std::min(limit, boost::lexical_cast<int>(*s)));
} catch (boost::bad_lexical_cast& e) {
- LOG_ERROR("start '" << s << "' is not-a-number.");
+ LOG_ERROR("start '" << *s << "' is not-a-number.");
}
s = request.getParameter("limit");
if (s)
try {
limit = std::max(0, std::min(limit - start,
boost::lexical_cast<int>(*s)));
} catch (boost::bad_lexical_cast& e) {
- LOG_ERROR("limit '" << s << "' is not-a-number.");
+ LOG_ERROR("limit '" << *s << "' is not-a-number.");
}
std::ostream& o = response.out();
o << "{"
you'll also need to pach SocketNotifier.C:
@@ -312,20 +312,20 @@ void DataStore::handleRequest(const Http::Request& request,
s = request.getParameter("start");
if (s)
try {
start = std::max(0, std::min(limit, boost::lexical_cast<int>(*s)));
} catch (boost::bad_lexical_cast& e) {
- LOG_ERROR("start '" << s << "' is not-a-number.");
+ LOG_ERROR("start '" << *s << "' is not-a-number.");
}
s = request.getParameter("limit");
if (s)
try {
limit = std::max(0, std::min(limit - start,
boost::lexical_cast<int>(*s)));
} catch (boost::bad_lexical_cast& e) {
- LOG_ERROR("limit '" << s << "' is not-a-number.");
+ LOG_ERROR("limit '" << *s << "' is not-a-number.");
}
std::ostream& o = response.out();
o << "{"
Updated by Koen Deforche about 12 years ago
- Status changed from Resolved to Closed
- Target version set to 3.2.3
Fixed in Wt 3.2.3 RC1.
Actions