I am trying to port a big project from gcc (Linux) to msvc (windows), using cmake and boost libraries.
The project compile and runs fine for gcc but on msvc it returns t
Try to add the flag "/EHsc" into your TPN_WIN32 variable in cmake. It seems that MSVC is not throwing exceptions and you need to enable it in your vcproj.