Opened 12 months ago

Last modified 5 months ago

#13214 new Bugs

Boost::process examples fail to compile in Visual studio 2012 Win 7

Reported by: daniele.trimarchi@… Owned by:
Milestone: To Be Determined Component: process
Version: Boost 1.64.0 Severity: Problem
Keywords: boost::process Cc:


This ticket is related to #12990, as the compatibility of boost::process is broken with Visual Studio 2012 too. The problem is due to several features of C++11 - C++17 that break the compatibility with VS2012 :

  • noexcept in process/detail/config.hpp (easy to substitute with BOOST_NOEXCEPT)
  • constexpr in process/detail/config.hpp and process/detail/handler_base.hpp
  • using resource_type = void in process/detail/handler_base.hpp
  • #include <initializer_list> in process/detail/traits/cmd_or_exe.hpp (this feature is available in VS2013)

Change History (2)

comment:1 Changed 10 months ago by anonymous

This still happens with boost 1.65.1, when compiling client code of boost::process. Boost::process is not compatible with VS2012.

comment:2 Changed 5 months ago by John Maddock

Component: Noneprocess
Note: See TracTickets for help on using tickets.