Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-03-29 02:14:56

Bugs item #925163, was opened at 2004-03-29 17:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: Python
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Gray (codeazure)
Assigned to: David Abrahams (david_abrahams)
Summary: Compiling Boost with Python without Unicode

Initial Comment:
If compiling Boost 1.31.0 against Python 2.2.3 where
Python has been compiled to not include Unicode
support, Boost fails to compile.

The problem is caused by a function within

The function encode_string_unaryfunc() needs to be
preceded by #ifndef BOOST_NO_STD_WSTRING, which is
currently below the function.

It is also necessary to add #define
BOOST_NO_STD_WSTRING to libs/config/user.hpp to compile
Boost without Unicode support.

I am using Python on an embedded system where Unicode
is not required and support for these libraries
requires considerable memory.

To build Python without Unicode support, do this:
./configure --disable-unicode


You can respond by visiting:

This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at