mirror of
https://github.com/boostorg/endian.git
synced 2025-08-01 21:44:31 +02:00
Get VC++ solution working with new directory structure (Except benchmark link errors).
This commit is contained in:
@@ -74,7 +74,9 @@ namespace
|
|||||||
++v; // verify integer_cover_operators being applied to this type -
|
++v; // verify integer_cover_operators being applied to this type -
|
||||||
// will fail to compile if no endian<> specialization is present
|
// will fail to compile if no endian<> specialization is present
|
||||||
|
|
||||||
v+v;
|
auto x = v+v;
|
||||||
|
if ( x == x ) // silence warning
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char * big_rep = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0";
|
const char * big_rep = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0";
|
||||||
|
@@ -87,9 +87,8 @@
|
|||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\..\system\src\error_code.cpp" />
|
<ClCompile Include="..\..\..\..\system\src\error_code.cpp" />
|
||||||
<ClCompile Include="..\..\..\support\run_timer.cpp" />
|
<ClCompile Include="..\..\..\..\timer\src\auto_timers_construction.cpp" />
|
||||||
<ClCompile Include="..\..\..\support\run_timer_ctors.cpp" />
|
<ClCompile Include="..\..\..\..\timer\src\cpu_timer.cpp" />
|
||||||
<ClCompile Include="..\..\..\support\timer.cpp" />
|
|
||||||
<ClCompile Include="..\..\benchmark.cpp" />
|
<ClCompile Include="..\..\benchmark.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\..\..\..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\..\..\endian\include;..\..\..\..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<WarningLevel>EnableAllWarnings</WarningLevel>
|
<WarningLevel>EnableAllWarnings</WarningLevel>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// See documentation at http://www.boost.org/libs/utility/scoped_enum_emulation.html
|
// See documentation at http://www.boost.org/libs/utility/scoped_enum_emulation.html
|
||||||
|
|
||||||
#include <boost/endian/detail/disable_warnings.hpp>
|
#include <boost/detail/disable_warnings.hpp>
|
||||||
|
|
||||||
#include <boost/detail/scoped_enum_emulation.hpp>
|
#include <boost/detail/scoped_enum_emulation.hpp>
|
||||||
#include <boost/assert.hpp>
|
#include <boost/assert.hpp>
|
||||||
|
Reference in New Issue
Block a user