Hi there,


I just downloaded the current version of the Process library and tried to build the first example from the tutorial [1], but I get the following error:


###############################################################

C:\Programme\boost\boost\process\detail\pipe.hpp||In constructor 'boost::process::detail::pipe::pipe()':|
C:\Programme\boost\boost\process\detail\pipe.hpp|129|error: no matching function for call to 'boost::system::system_error::system_error(DWORD, const boost::system::error_category& (&)(), const char [54])'|
C:\Programme\boost\boost\system\system_error.hpp|43|note: candidates are: boost::system::system_error::system_error(int, const boost::system::error_category&, const char*)|
C:\Programme\boost\boost\system\system_error.hpp|39|note:                 boost::system::system_error::system_error(int, const boost::system::error_category&, const std::string&)|
C:\Programme\boost\boost\system\system_error.hpp|36|note:                 boost::system::system_error::system_error(int, const boost::system::error_category&)|
C:\Programme\boost\boost\system\system_error.hpp|33|note:                 boost::system::system_error::system_error(boost::system::error_code, const char*)|
C:\Programme\boost\boost\system\system_error.hpp|30|note:                 boost::system::system_error::system_error(boost::system::error_code, const std::string&)|
C:\Programme\boost\boost\system\system_error.hpp|27|note:                 boost::system::system_error::system_error(boost::system::error_code)|
C:\Programme\boost\boost\system\system_error.hpp|25|note:                 boost::system::system_error::system_error(const boost::system::system_error&)|
C:\Programme\boost\boost\process\detail\win32_ops.hpp||In function 'boost::shared_array<char> boost::process::detail::collection_to_win32_cmdline(const Arguments&)':|
C:\Programme\boost\boost\process\detail\win32_ops.hpp|87|error: '::strcat_s' has not been declared|
C:\Programme\boost\boost\process\detail\win32_ops.hpp||In function 'boost::shared_array<char> boost::process::detail::environment_to_win32_strings(const boost::process::environment&)':|
C:\Programme\boost\boost\process\detail\win32_ops.hpp|127|error: '::memcpy_s' has not been declared|
C:\Programme\boost\boost\process\detail\win32_ops.hpp||In function 'PROCESS_INFORMATION boost::process::detail::win32_start(const Executable&, const Arguments&, const boost::process::environment&, boost::process::detail::stream_info&, boost::process::detail::stream_info&, boost::process::detail::stream_info&, const boost::process::detail::win32_setup&)':|
C:\Programme\boost\boost\process\detail\win32_ops.hpp|333|error: '::strcpy_s' has not been declared|
C:\Programme\boost\boost\process\detail\win32_ops.hpp|340|error: '::strcpy_s' has not been declared|
C:\Programme\boost\boost\process\self.hpp|90|warning: declaration of 'char** boost::process::__p__environ()' has 'extern' and is initialized|
C:\Programme\boost\boost\process\self.hpp|90|error: invalid pure specifier (only '= 0' is allowed) before 'GetEnvironmentStrings'|
C:\Programme\boost\boost\process\self.hpp|90|error: function 'char** boost::process::__p__environ()' is initialized like a variable|
C:\Programme\boost\boost\system\error_code.hpp|214|warning: 'boost::system::posix_category' defined but not used|
C:\Programme\boost\boost\system\error_code.hpp|215|warning: 'boost::system::errno_ecat' defined but not used|
C:\Programme\boost\boost\system\error_code.hpp|216|warning: 'boost::system::native_ecat' defined but not used|
||=== Build finished: 7 errors, 4 warnings ===|
###############################################################


What should I do? I'm using g++ version 4.4.1 from the mingw Package under Windows XP 32 bit.


[1] http://www.highscore.de/boost/process/process/tutorials.html#process.tutorials.start_child