Opened 5 years ago
Last modified 4 years ago
#13214 new Bugs
Boost::process examples fail to compile in Visual studio 2012 Win 7
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | process |
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)
Note:
See TracTickets
for help on using tickets.
This still happens with boost 1.65.1, when compiling client code of boost::process. Boost::process is not compatible with VS2012.