Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=925163&group_id=7586

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
libs/python/source/converter/builtin_converters.cpp

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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=925163&group_id=7586

-------------------------------------------------------
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
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk