Reputation: 699
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.
Upvotes: 0
Views: 349
Reputation: 15075
It's Boost.Test
library that needs a special user-defined entry point. Please, read its manual for details.
Upvotes: 0
Reputation: 7867
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.
Upvotes: 1