|
Boost Users : |
Subject: Re: [Boost-users] boost regex no debug info and std::bad_cast
From: justin (tekmc_at_[hidden])
Date: 2010-11-05 18:15:20
Different Code (example.cpp)
#include <boost/lexical_cast.hpp>
#include <iostream>
using namespace::std;
int main()
{
unsigned int x = 3;
string s = boost::lexical_cast<string>(x);
return 0;
}
Works
$ g++ -Wall -g -I~/Development/BOOST/boost_1_44_0 example.cpp -o example
Doesn't Work: including boost regex library
$ g++ -Wall -g -I~/Development/BOOST/boost_1_44_0
~/Development/BOOST/BOOST_INSTALL/lib/libboost_regex.a example.cpp -o
example
Seems to be a bug: https://svn.boost.org/trac/boost/ticket/4595
https://svn.boost.org/trac/boost/ticket/4595
Is this bug related to my previous question about using boost regex?
Thanks
-- View this message in context: http://boost.2283326.n4.nabble.com/boost-regex-no-debug-info-and-std-bad-cast-tp3029464p3029492.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net