When I try to compile boost 1.33.1 using MSVC 8.0 (VS.net 2005) for a mobile device, I get the following error:

H:\PROJECTS\boost_1_33_1\boost/config/compiler/visualc.hpp(133) : fatal error C1189: #error :  unknown CE compiler

I tried to work around it by changing:
# if defined(UNDER_CE)
to
# if 0

and it seems to work for the most part, except that it looks for certain intrinsic functions (_InterlockedIncrement for example) that apparently aren't available on Windows CE (though the platform API does have them, but not the compiler intrinsic versions).
I could probably hack my way around this problem too, but I decided to wait and first ask if there's a more "proper" way to solve this issue.

Any ideas?

Yoni Lavi





Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.