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


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

"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
#endif

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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net