-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there way to compile bond without boost? #643
Comments
No: we rely on Boost to abstract compiler, platform, and C++ standard differences. We also use things like Only Boost headers are needed, however, for using Bond serialization/deserialization. On Windows, by default, when Boost is compiled it automatically tried to link with its libraries. This can be suppressed by defining BOOST_ALL_NO_LIB when compiling. If you want to build and run the tests, you'll need some of the Boost libraries as well. Some more details: #62 |
sounds like if you got bond up-to-date with the latest Microsoft compiler you could be on the road to ridding yourself of the massive boost dependency. |
Possibly. Bond already works with MSVC 2017. It's less about Bond working with the latest and greatest and more about what the consumers of Bond are ready and able to use. For now, that includes older C++11 only compilers like MSVC 2013, Clang 3.x, and GCC 4.x. For my additional information, can you list/point to the problems you're having with Boost? This will help us make a more informed decision when we're in a position to re-evaluate (likely in a year or two). |
@chwarr We don't have a problem with Boost, per se. A number of years ago we examined our use of it and found that we only used a few features which were pretty easy to work around. Given that boost is half a Gig in size it was decided to remove our dependency upon it. Today we make the standard library the first place to go before using features from open source libraries. |
Thanks, @TPSResearch. Makes sense. |
Having heard nothing more, closing. |
Anyway we can build bon sources without boost?
The text was updated successfully, but these errors were encountered: