diff --git a/test/endian_test.cpp b/test/endian_test.cpp index 65461cf..008b123 100644 --- a/test/endian_test.cpp +++ b/test/endian_test.cpp @@ -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"; diff --git a/test/msvc10/benchmark/benchmark.vcxproj b/test/msvc10/benchmark/benchmark.vcxproj index 74c5d6b..d42547a 100644 --- a/test/msvc10/benchmark/benchmark.vcxproj +++ b/test/msvc10/benchmark/benchmark.vcxproj @@ -87,9 +87,8 @@ - - - + + diff --git a/test/msvc10/common.props b/test/msvc10/common.props index 040249a..f80c979 100644 --- a/test/msvc10/common.props +++ b/test/msvc10/common.props @@ -7,7 +7,7 @@ - ..\..\..\..\..;%(AdditionalIncludeDirectories) + ..\..\..\..\endian\include;..\..\..\..\..;%(AdditionalIncludeDirectories) EnableAllWarnings diff --git a/test/scoped_enum_emulation_test.cpp b/test/scoped_enum_emulation_test.cpp index 419302d..16a0353 100644 --- a/test/scoped_enum_emulation_test.cpp +++ b/test/scoped_enum_emulation_test.cpp @@ -7,7 +7,7 @@ // See documentation at http://www.boost.org/libs/utility/scoped_enum_emulation.html -#include +#include #include #include