forked from boostorg/system
Merge branch 'develop'
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
// See library home page at http://www.boost.org/libs/system
|
// See library home page at http://www.boost.org/libs/system
|
||||||
|
|
||||||
#ifndef BOOST_CERRNO_HPP
|
#ifndef BOOST_SYSTEM_CERRNO_HPP
|
||||||
#define BOOST_CERRNO_HPP
|
#define BOOST_SYSTEM_CERRNO_HPP
|
||||||
|
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
|
||||||
|
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
// See library home page at http://www.boost.org/libs/system
|
// See library home page at http://www.boost.org/libs/system
|
||||||
|
|
||||||
#ifndef BOOST_CYGWIN_ERROR_HPP
|
#ifndef BOOST_SYSTEM_CYGWIN_ERROR_HPP
|
||||||
#define BOOST_CYGWIN_ERROR_HPP
|
#define BOOST_SYSTEM_CYGWIN_ERROR_HPP
|
||||||
|
|
||||||
// This header is effectively empty for compiles on operating systems where
|
// This header is effectively empty for compiles on operating systems where
|
||||||
// it is not applicable.
|
// it is not applicable.
|
||||||
@@ -53,4 +53,4 @@ namespace boost
|
|||||||
|
|
||||||
#endif // __CYGWIN__
|
#endif // __CYGWIN__
|
||||||
|
|
||||||
#endif // BOOST_CYGWIN_ERROR_HPP
|
#endif // BOOST_SYSTEM_CYGWIN_ERROR_HPP
|
||||||
|
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
// See library home page at http://www.boost.org/libs/system
|
// See library home page at http://www.boost.org/libs/system
|
||||||
|
|
||||||
#ifndef BOOST_ERROR_CODE_HPP
|
#ifndef BOOST_SYSTEM_ERROR_CODE_HPP
|
||||||
#define BOOST_ERROR_CODE_HPP
|
#define BOOST_SYSTEM_ERROR_CODE_HPP
|
||||||
|
|
||||||
#include <boost/system/config.hpp>
|
#include <boost/system/config.hpp>
|
||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
@@ -39,8 +39,9 @@ namespace boost
|
|||||||
namespace system
|
namespace system
|
||||||
{
|
{
|
||||||
|
|
||||||
class error_code;
|
class error_code; // values defined by the operating system
|
||||||
class error_condition;
|
class error_condition; // portable generic values defined below, but ultimately
|
||||||
|
// based on the POSIX standard
|
||||||
|
|
||||||
// "Concept" helpers ---------------------------------------------------//
|
// "Concept" helpers ---------------------------------------------------//
|
||||||
|
|
||||||
@@ -218,9 +219,9 @@ namespace boost
|
|||||||
inline const error_category & get_system_category() { return system_category(); }
|
inline const error_category & get_system_category() { return system_category(); }
|
||||||
inline const error_category & get_generic_category() { return generic_category(); }
|
inline const error_category & get_generic_category() { return generic_category(); }
|
||||||
inline const error_category & get_posix_category() { return generic_category(); }
|
inline const error_category & get_posix_category() { return generic_category(); }
|
||||||
static const error_category & posix_category = generic_category();
|
static const error_category & posix_category BOOST_ATTRIBUTE_UNUSED = generic_category();
|
||||||
static const error_category & errno_ecat = generic_category();
|
static const error_category & errno_ecat BOOST_ATTRIBUTE_UNUSED = generic_category();
|
||||||
static const error_category & native_ecat = system_category();
|
static const error_category & native_ecat BOOST_ATTRIBUTE_UNUSED = system_category();
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// class error_condition -----------------------------------------------//
|
// class error_condition -----------------------------------------------//
|
||||||
@@ -515,6 +516,6 @@ namespace boost
|
|||||||
# include <boost/system/detail/error_code.ipp>
|
# include <boost/system/detail/error_code.ipp>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif // BOOST_ERROR_CODE_HPP
|
#endif // BOOST_SYSTEM_ERROR_CODE_HPP
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
// See library home page at http://www.boost.org/libs/system
|
// See library home page at http://www.boost.org/libs/system
|
||||||
|
|
||||||
#ifndef BOOST_LINUX_ERROR_HPP
|
#ifndef BOOST_SYSTEM_LINUX_ERROR_HPP
|
||||||
#define BOOST_LINUX_ERROR_HPP
|
#define BOOST_SYSTEM_LINUX_ERROR_HPP
|
||||||
|
|
||||||
// This header is effectively empty for compiles on operating systems where
|
// This header is effectively empty for compiles on operating systems where
|
||||||
// it is not applicable.
|
// it is not applicable.
|
||||||
@@ -107,4 +107,4 @@ namespace boost
|
|||||||
|
|
||||||
#endif // Linux
|
#endif // Linux
|
||||||
|
|
||||||
#endif // BOOST_LINUX_ERROR_HPP
|
#endif // BOOST_SYSTEM_LINUX_ERROR_HPP
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#ifndef BOOST_SYSTEM_ERROR_HPP
|
#ifndef BOOST_SYSTEM_SYSTEM_ERROR_HPP
|
||||||
#define BOOST_SYSTEM_ERROR_HPP
|
#define BOOST_SYSTEM_SYSTEM_ERROR_HPP
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
@@ -79,6 +79,6 @@ namespace boost
|
|||||||
} // namespace system
|
} // namespace system
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
#endif // BOOST_SYSTEM_ERROR_HPP
|
#endif // BOOST_SYSTEM_SYSTEM_ERROR_HPP
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
// See library home page at http://www.boost.org/libs/system
|
// See library home page at http://www.boost.org/libs/system
|
||||||
|
|
||||||
#ifndef BOOST_WINDOWS_ERROR_HPP
|
#ifndef BOOST_SYSTEM_WINDOWS_ERROR_HPP
|
||||||
#define BOOST_WINDOWS_ERROR_HPP
|
#define BOOST_SYSTEM_WINDOWS_ERROR_HPP
|
||||||
|
|
||||||
// This header is effectively empty for compiles on operating systems where
|
// This header is effectively empty for compiles on operating systems where
|
||||||
// it is not applicable.
|
// it is not applicable.
|
||||||
@@ -123,4 +123,4 @@ namespace boost
|
|||||||
|
|
||||||
#endif // BOOST_WINDOWS_API
|
#endif // BOOST_WINDOWS_API
|
||||||
|
|
||||||
#endif // BOOST_WINDOWS_ERROR_HPP
|
#endif // BOOST_SYSTEM_WINDOWS_ERROR_HPP
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
@@ -19,13 +19,13 @@
|
|||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -82,6 +82,15 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\config_test.cpp" />
|
<ClCompile Include="..\..\config_test.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\..\include\boost\system\api_config.hpp" />
|
||||||
|
<ClInclude Include="..\..\..\include\boost\system\config.hpp" />
|
||||||
|
<ClInclude Include="..\..\..\include\boost\system\cygwin_error.hpp" />
|
||||||
|
<ClInclude Include="..\..\..\include\boost\system\error_code.hpp" />
|
||||||
|
<ClInclude Include="..\..\..\include\boost\system\linux_error.hpp" />
|
||||||
|
<ClInclude Include="..\..\..\include\boost\system\system_error.hpp" />
|
||||||
|
<ClInclude Include="..\..\..\include\boost\system\windows_error.hpp" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
@@ -19,13 +19,13 @@
|
|||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
@@ -19,13 +19,13 @@
|
|||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
@@ -19,13 +19,13 @@
|
|||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
Reference in New Issue
Block a user