Modify

Opened 3 months ago

Last modified 4 weeks 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: None
Version: Boost 1.64.0 Severity: Problem
Keywords: boost::process Cc:

Description

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)

Attachments (0)

Change History (1)

comment:1 Changed 4 weeks 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.