Boost C++ and Windows CE 6.0

社会主义新天地 提交于 2019-12-03 09:32:36

CE has a limit of 32 characters DLL name length when loaded with implicit loading. Crazy that this still isn't fixed in CE (let alone a proper error message) nor worked around in Boost. The approach we took at work was to use 'bsystem' instead of 'boost_system' (similarly "bthread", "bregex" etc) #ifdef UNDER_CE. Maybe we also removed the "-mt", since single-threaded code isn't supported under CE, but I'd have to check the sources.

The options maybe have been changed by later version of boost. I use --layout=system option and BOOST_AUTO_LINK_NOMANGLE macro, and they work.

I'm using boost 1.55.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!