Basically I moved on from the main() entry point in my project and changed to a windows project - WINAPI WinMain(...)
However Boost complains saying that cpp_main() is missing. How can I avoid this? Thanks.
Basically I moved on from the main() entry point in my project and changed to a windows project - WINAPI WinMain(...)
However Boost complains saying that cpp_main() is missing. How can I avoid this? Thanks.
If you work in MS Visual Studio, create Win32Project, then use WinMain() function. If you create Console application, then use main() function. Nothing to do with boost library.
It's Boost.Test
library that needs a special user-defined entry point. Please, read its manual for details.