mirror of
https://github.com/boostorg/endian.git
synced 2025-08-02 05:54:31 +02:00
Better fix that works with more compilers, old and new, VC++ and GCC.
This commit is contained in:
@@ -74,7 +74,7 @@ namespace
|
||||
++v; // verify integer_cover_operators being applied to this type -
|
||||
// will fail to compile if no endian<> specialization is present
|
||||
|
||||
Endian x = v+v;
|
||||
Endian x(v+v);
|
||||
if ( x == x ) // silence warning
|
||||
return;
|
||||
}
|
||||
|
@@ -61,6 +61,7 @@
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
|
Reference in New Issue
Block a user