mirror of
https://github.com/boostorg/endian.git
synced 2025-08-01 05:24:39 +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 -
|
||||
// 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";
|
||||
|
@@ -87,9 +87,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\..\system\src\error_code.cpp" />
|
||||
<ClCompile Include="..\..\..\support\run_timer.cpp" />
|
||||
<ClCompile Include="..\..\..\support\run_timer_ctors.cpp" />
|
||||
<ClCompile Include="..\..\..\support\timer.cpp" />
|
||||
<ClCompile Include="..\..\..\..\timer\src\auto_timers_construction.cpp" />
|
||||
<ClCompile Include="..\..\..\..\timer\src\cpu_timer.cpp" />
|
||||
<ClCompile Include="..\..\benchmark.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\endian\include;..\..\..\..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<WarningLevel>EnableAllWarnings</WarningLevel>
|
||||
</ClCompile>
|
||||
<PostBuildEvent>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
// 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/assert.hpp>
|
||||
|
Reference in New Issue
Block a user