From 6f1d21dfcdd7b68f8f81db4315c6602cb602643d Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Fri, 28 Aug 2015 22:28:54 -0700 Subject: [PATCH] Fixed compiler warning in transfer tests. Updated minimum g++ version, due to regex not being fully implemented in 4.8.x. --- README.md | 2 +- aws-cpp-sdk-transfer-tests/TransferTests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30ab9399ace..12208c803d1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This SDK has been specifically designed with game dev in mind, but we have also #####Visual Studio Visual Studio 2013 (However, if you want default move constructors/operators, this version will not provide them). Later versions of Visual Studio provide a more standards compliant compiler. #####GCC -GCC versions >= GCC 4.8.1 +GCC versions >= GCC 4.9.0 #####Clang Clang versions >= 3.3 diff --git a/aws-cpp-sdk-transfer-tests/TransferTests.cpp b/aws-cpp-sdk-transfer-tests/TransferTests.cpp index 12b841ac278..ea327a39f27 100644 --- a/aws-cpp-sdk-transfer-tests/TransferTests.cpp +++ b/aws-cpp-sdk-transfer-tests/TransferTests.cpp @@ -131,7 +131,7 @@ class TransferTests : public ::testing::Test const unsigned cNumExtraChars = 5; const unsigned cLettersToRandomize = 26; randomizedBucketName = TEST_BUCKET_NAME_BASE; - for (auto i = 0; i < cNumExtraChars; ++i) + for (unsigned i = 0; i < cNumExtraChars; ++i) { randomizedBucketName += static_cast('a' + rand() % cLettersToRandomize); }