Boost logo

Boost Users :

Subject: [Boost-users] Boost::Process doesn't work with #define new (boost 1.69)
From: Vivek Subramanian (tzar123_at_[hidden])
Date: 2019-02-11 09:05:46

              I did #define new for debugging memory leaks, and I get this

"no instance of boost::process::detail::windows::windows_file_codecv
operator new matches arguement list"

in file boost\process\local.hpp

So I did

#ifdef new
#undef new

right before it and it works fine.

Hope that this could be of use to someone!

Thanks and Regards,
Vivek S

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at