Any way to work around missing <locale> under Windows CE ?

The standard <locale> include file is not shipped with the windows CE/mobile sdks, and therefore lots of boost parts are unusable. Is there a way to work around this problem in boost ? Luper Rouch

Is there a way to work around this problem in boost ?
We're using boost::serialization under CE. Our workaround for the missing <locale> header is the following:
First we wrote a faked <locale>-header containing just the stuff the compiler needs. This would be something like:
<snip>
#pragma once
namespace std
{
class locale
{
public:
static locale classic()
{
return locale();
}
};
class codecvt_base
{
public:
typedef int result;
};
template

In regex I just defined BOOST_NO_STD_LOCALE That got rid of all the locales errors but I have yet to fully get regex to compile for Win ce. I am getting close but there are more problems than locales for it. Ken Ken -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of luper rouch Sent: Thursday, October 04, 2007 8:18 PM To: boost-users@lists.boost.org Subject: [Boost-users] Any way to work around missing <locale> under WindowsCE ? The standard <locale> include file is not shipped with the windows CE/mobile sdks, and therefore lots of boost parts are unusable. Is there a way to work around this problem in boost ? Luper Rouch _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

luper rouch wrote:
The standard <locale> include file is not shipped with the windows CE/mobile sdks, and therefore lots of boost parts are unusable.
Is there a way to work around this problem in boost ?
defining BOOST_NO_STD_LOCALE may go some way towards fixing that. HTH, John.
participants (4)
-
Ewald, Christian
-
John Maddock
-
Ken Perry
-
luper rouch