Problem with long strings in the Boost.Python getting_started2 sample ?

S

Sylvain MARIE

Hi all,

I am discovering Boost.Python, and weird exceptions in my dummy extension
modules lead me to think there is a potential problem with the
getting_started2 sample :
if you replace the first lines
'Hello from California'

by'Hello from A longer name with more than 15 chars'

then the unit test asserts !?!? I get a c++ exception :-(

Please tell me we can use strings longer than 15 chars with Boost.Python :)
(I'm using Boost 1.33.0 with VC7.1, and the bjam makefiles)

thank you very much in advance!
Sylvain
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,165
Latest member
JavierBrak
Top