diff --git a/test/benchmark.cpp b/test/benchmark.cpp index 6b631ab..b6c734d 100644 --- a/test/benchmark.cpp +++ b/test/benchmark.cpp @@ -24,7 +24,7 @@ using std::vector; namespace { std::string command_args; - long long n; + long long n_cases; int places = 2; bool verbose (false); @@ -49,7 +49,7 @@ namespace nanosecond_t cpu_time; boost::timer::auto_cpu_timer t(places); - for (long long i = n; i; --i) + for (long long i = n_cases; i; --i) { # ifndef BOOST_TWO_ARG sum += timee(static_cast(i)) ; @@ -89,9 +89,9 @@ namespace if (argc >=2) #ifndef _MSC_VER - n = std::atoll(argv[1]); + n_cases = std::atoll(argv[1]); #else - n = _atoi64(argv[1]); + n_cases = _atoi64(argv[1]); #endif for (; argc > 2; ++argv, --argc) diff --git a/test/msvc/benchmark/benchmark.vcxproj b/test/msvc/benchmark/benchmark.vcxproj index b559073..8275139 100644 --- a/test/msvc/benchmark/benchmark.vcxproj +++ b/test/msvc/benchmark/benchmark.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -28,27 +28,27 @@ Application true Unicode - v120 + v140 Application true Unicode - v120 + v140 Application false true Unicode - v120 + v140 Application false true Unicode - v120 + v140 diff --git a/test/msvc/converter_test/converter_test.vcxproj b/test/msvc/converter_test/converter_test.vcxproj index d0b4d19..b106d55 100644 --- a/test/msvc/converter_test/converter_test.vcxproj +++ b/test/msvc/converter_test/converter_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -28,27 +28,27 @@ Application true Unicode - v120 + v140 Application true Unicode - v120 + v140 Application false true Unicode - v120 + v140 Application false true Unicode - v120 + v140 diff --git a/test/msvc/endian_example/endian_example.vcxproj b/test/msvc/endian_example/endian_example.vcxproj index 66279ac..0cd738b 100644 --- a/test/msvc/endian_example/endian_example.vcxproj +++ b/test/msvc/endian_example/endian_example.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -28,23 +28,23 @@ Application Unicode true - v120 + v140 Application Unicode true - v120 + v140 Application Unicode - v120 + v140 Application Unicode - v120 + v140 diff --git a/test/msvc/endian_in_union_test/endian_in_union_test.vcxproj b/test/msvc/endian_in_union_test/endian_in_union_test.vcxproj index 133157a..9fb63b5 100644 --- a/test/msvc/endian_in_union_test/endian_in_union_test.vcxproj +++ b/test/msvc/endian_in_union_test/endian_in_union_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -28,23 +28,23 @@ Application Unicode true - v120 + v140 Application Unicode true - v120 + v140 Application Unicode - v120 + v140 Application Unicode - v120 + v140 diff --git a/test/msvc/endian_operations_test/endian_operations_test.vcxproj b/test/msvc/endian_operations_test/endian_operations_test.vcxproj index 4193f61..fe0841e 100644 --- a/test/msvc/endian_operations_test/endian_operations_test.vcxproj +++ b/test/msvc/endian_operations_test/endian_operations_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -28,23 +28,23 @@ Application Unicode true - v120 + v140 Application Unicode true - v120 + v140 Application Unicode - v120 + v140 Application Unicode - v120 + v140 diff --git a/test/msvc/endian_test/endian_test.vcxproj b/test/msvc/endian_test/endian_test.vcxproj index 38adfae..c4ad018 100644 --- a/test/msvc/endian_test/endian_test.vcxproj +++ b/test/msvc/endian_test/endian_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -28,23 +28,23 @@ Application Unicode true - v120 + v140 Application Unicode true - v120 + v140 Application Unicode - v120 + v140 Application Unicode - v120 + v140 diff --git a/test/msvc/loop_time_test/loop_time_test.vcxproj b/test/msvc/loop_time_test/loop_time_test.vcxproj index 7efb4dc..d742dc2 100644 --- a/test/msvc/loop_time_test/loop_time_test.vcxproj +++ b/test/msvc/loop_time_test/loop_time_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -27,26 +27,26 @@ Application true - v120 + v140 Unicode Application true - v120 + v140 Unicode Application false - v120 + v140 true Unicode Application false - v120 + v140 true Unicode diff --git a/test/msvc/pair_test/pair_test.vcxproj b/test/msvc/pair_test/pair_test.vcxproj index 462fa7b..2d0c00f 100644 --- a/test/msvc/pair_test/pair_test.vcxproj +++ b/test/msvc/pair_test/pair_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -27,26 +27,26 @@ Application true - v120 + v140 Unicode Application true - v120 + v140 Unicode Application false - v120 + v140 true Unicode Application false - v120 + v140 true Unicode diff --git a/test/msvc/scoped_enum_emulation_test/scoped_enum_emulation_test.vcxproj b/test/msvc/scoped_enum_emulation_test/scoped_enum_emulation_test.vcxproj index b024fe9..85a4484 100644 --- a/test/msvc/scoped_enum_emulation_test/scoped_enum_emulation_test.vcxproj +++ b/test/msvc/scoped_enum_emulation_test/scoped_enum_emulation_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -28,23 +28,23 @@ Application Unicode true - v120 + v140 Application Unicode true - v120 + v140 Application Unicode - v120 + v140 Application Unicode - v120 + v140 diff --git a/test/msvc/speed_test/speed_test.vcxproj b/test/msvc/speed_test/speed_test.vcxproj index 6e098cb..acbbe0c 100644 --- a/test/msvc/speed_test/speed_test.vcxproj +++ b/test/msvc/speed_test/speed_test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -27,26 +27,26 @@ Application true - v120 + v140 Unicode Application true - v120 + v140 Unicode Application false - v120 + v140 true Unicode Application false - v120 + v140 true Unicode diff --git a/test/msvc/udt_conversion_example/udt_conversion_example.vcxproj b/test/msvc/udt_conversion_example/udt_conversion_example.vcxproj index d0d4f4c..830952f 100644 --- a/test/msvc/udt_conversion_example/udt_conversion_example.vcxproj +++ b/test/msvc/udt_conversion_example/udt_conversion_example.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -27,26 +27,26 @@ Application true - v120 + v140 Unicode Application true - v120 + v140 Unicode Application false - v120 + v140 true Unicode Application false - v120 + v140 true Unicode