I am trying to compile some of the Boost C++ library modules to our
PocketPc application. Unfortunately, I hit the problem that some of the
boost modules try to #include <locale>. But on the PocketPC SDK, I do
not find this header.

Is there a known workaround?
Do you have a starting point to get more information about what else the
PocketPC SDK is missing from the C++ standard?

Thanks
Norbert Unterberg

Re: Boost Library or <locale> support? by Freeman

Freeman
Fri May 09 22:54:07 CDT 2008

Just #define BOOST_NO_STD_LOCALE somewhere. I do it in visualc.hpp.

Re: Boost Library or <locale> support? by Norbert

Norbert
Sun May 25 05:41:22 CDT 2008


Freeman Ng schrieb:
> Just #define BOOST_NO_STD_LOCALE somewhere. I do it in visualc.hpp.

That's what I tried, but unfortunately some modules seem to ignore this setting.
The whole string algorithm module does not use this #define, so every module
that includes one of the string modules is doomed.

I managed to compile Boost.Thread now after finding the place where it
unnecessarily includes string.hpp and removing this line.

Norbert