mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 05:42:30 +00:00
Workaround for compilers that have trouble with lexical_cast.
[SVN r29033]
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
#include <set>
|
||||
#include <stdexcept>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__) && defined(__GNUC__) \
|
||||
&& __GNUC__ == 3 && __GNUC_MINOR__ <= 4 && !defined(__APPLE_CC__)
|
||||
@@ -161,9 +160,9 @@ namespace registry
|
||||
assert(slot == 0); // we have a problem otherwise
|
||||
if (slot != 0)
|
||||
{
|
||||
std::string msg(
|
||||
"to-Python converter for "
|
||||
+ lexical_cast<std::string>(source_t)
|
||||
std::string msg = (
|
||||
std::string("to-Python converter for ")
|
||||
+ source_t.name()
|
||||
+ " already registered; second conversion method ignored."
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user