Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12453

AWS key management plugin does not build on macOS

    Details

      Description

      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:17:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogLevel.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSString.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSAllocator.h:21:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/MemorySystemInterface.h:35:52: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
                      virtual ~MemorySystemInterface() = default;
                                                         ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:17:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogLevel.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSString.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSAllocator.h:21:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:65:35: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
          template<typename T, typename ...ArgTypes>
                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:66:47: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
          T* New(const char* allocationTag, ArgTypes&&... args)
                                                    ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:191:27: warning: default template arguments for a function template are a C++11 extension [-Wc++11-extensions]
              template<class U, class = typename std::enable_if<std::is_convertible<U *, T *>::value, void>::type>
                                ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:203:46: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
          template< typename T > using UniquePtr = std::unique_ptr< T, Deleter< T > >;
                                                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:209:35: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
          template<typename T, typename ...ArgTypes>
                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:210:64: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
          UniquePtr<T> MakeUnique(const char* allocationTag, ArgTypes&&... args)
                                                                     ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:220:27: warning: default template arguments for a function template are a C++11 extension [-Wc++11-extensions]
              template<class U, class = typename std::enable_if<std::is_convertible<U *, T *>::value, void>::type>
                                ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:232:51: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
          template< typename T > using UniqueArrayPtr = std::unique_ptr< T, ArrayDeleter< T > >;
                                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:238:35: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
          template<typename T, typename ...ArgTypes>
                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/AWSMemory.h:239:94: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
          UniqueArrayPtr<T> MakeUniqueArray(std::size_t amount, const char* allocationTag, ArgTypes&&... args)
                                                                                                   ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:17:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogLevel.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSString.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSAllocator.h:94:46: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
          template< typename T > using Allocator = std::allocator<T>;
                                                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSAllocator.h:101:35: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
          template<typename T, typename ...ArgTypes>
                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSAllocator.h:102:70: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
          std::shared_ptr<T> MakeShared(const char* allocationTag, ArgTypes&&... args)
                                                                           ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSAllocator.h:106:56: error: a space is required between consecutive right angle brackets (use '> >')
              return std::allocate_shared<T, Aws::Allocator<T>>(Aws::Allocator<T>(), std::forward<ArgTypes>(args)...);
                                                             ^~
                                                             > >
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:17:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogLevel.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSString.h:97:16: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
      using String = std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > >;
                     ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:17:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogLevel.h:32:18: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
                  enum class LogLevel : int
                       ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogLevel.h:32:24: error: ISO C++ forbids forward references to 'enum' types
                  enum class LogLevel : int
                             ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogLevel.h:32:33: error: expected unqualified-id
                  enum class LogLevel : int
                                      ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:18:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogSystemInterface.h:29:18: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
                  enum class LogLevel : int;
                       ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogSystemInterface.h:29:24: error: ISO C++ forbids forward references to 'enum' types
                  enum class LogLevel : int;
                             ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogSystemInterface.h:29:33: error: expected unqualified-id
                  enum class LogLevel : int;
                                      ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogSystemInterface.h:39:49: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
                      virtual ~LogSystemInterface() = default;
                                                      ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:19:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:21:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSVector.h:27:39: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
      template< typename T > using Vector = std::vector< T, Aws::Allocator< T > >;
                                            ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:19:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:78:38: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  Array(Aws::Vector<Array*>&& toMerge)
                                           ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:123:24: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  Array(Array&& other) :
                             ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:131:32: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
                  virtual ~Array() = default;
                                     ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:157:35: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  Array& operator=(Array&& other)
                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:81:21: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
                      for(auto& array : toMerge)
                          ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:81:33: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
                      for(auto& array : toMerge)
                                      ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:90:21: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
                      for(auto& arr : toMerge)
                          ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:90:31: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
                      for(auto& arr : toMerge)
                                    ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:243:50: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  CryptoBuffer(Aws::Vector<ByteBuffer*>&& toMerge) : ByteBuffer(std::move(toMerge)) {}
                                                       ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:246:38: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  CryptoBuffer(CryptoBuffer&& other) : ByteBuffer(std::move(other)) {}
                                           ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:247:60: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
                  CryptoBuffer& operator=(const CryptoBuffer&) = default;
                                                                 ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:248:49: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  CryptoBuffer& operator=(CryptoBuffer&& other) { ByteBuffer::operator=(std::move(other)); return *this; }
                                                      ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:243:64: error: no matching constructor for initialization of 'ByteBuffer' (aka 'Array<unsigned char>')
                  CryptoBuffer(Aws::Vector<ByteBuffer*>&& toMerge) : ByteBuffer(std::move(toMerge)) {}
                                                                     ^          ~~~~~~~~~~~~~~~~~~
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:50:13: note: candidate constructor not viable: no known conversion from 'std::__1::vector<Aws::Utils::Array<unsigned char> *, std::__1::allocator<Aws::Utils::Array<unsigned char> *> >' to 'size_t' (aka 'unsigned long') for 1st argument
                  Array(size_t arraySize = 0) :
                  ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:78:13: note: candidate constructor not viable: no known conversion from 'std::__1::vector<Aws::Utils::Array<unsigned char> *, std::__1::allocator<Aws::Utils::Array<unsigned char> *> >' to 'Aws::Vector<Array<unsigned char> *> &&' (aka 'std::__1::vector<Aws::Utils::Array<unsigned char> *, std::__1::allocator<Aws::Utils::Array<unsigned char> *> > &&') for 1st argument
                  Array(Aws::Vector<Array*>&& toMerge)
                  ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:105:13: note: candidate constructor not viable: no known conversion from 'std::__1::vector<Aws::Utils::Array<unsigned char> *, std::__1::allocator<Aws::Utils::Array<unsigned char> *> >' to 'const Aws::Utils::Array<unsigned char>' for 1st argument
                  Array(const Array& other)
                  ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:123:13: note: candidate constructor not viable: no known conversion from 'std::__1::vector<Aws::Utils::Array<unsigned char> *, std::__1::allocator<Aws::Utils::Array<unsigned char> *> >' to 'Aws::Utils::Array<unsigned char>' for 1st argument
                  Array(Array&& other) :
                  ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/Array.h:59:13: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
                  Array(const T* arrayToCopy, size_t arraySize) :
                  ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:76:99: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  AWS_CORE_API std::shared_ptr<SymmetricCipher> CreateAES_CBCImplementation(CryptoBuffer&& key, CryptoBuffer&& iv);
                                                                                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:76:119: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  AWS_CORE_API std::shared_ptr<SymmetricCipher> CreateAES_CBCImplementation(CryptoBuffer&& key, CryptoBuffer&& iv);
                                                                                                                            ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:90:99: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  AWS_CORE_API std::shared_ptr<SymmetricCipher> CreateAES_CTRImplementation(CryptoBuffer&& key, CryptoBuffer&& iv);
                                                                                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:90:119: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  AWS_CORE_API std::shared_ptr<SymmetricCipher> CreateAES_CTRImplementation(CryptoBuffer&& key, CryptoBuffer&& iv);
                                                                                                                            ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:106:99: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  AWS_CORE_API std::shared_ptr<SymmetricCipher> CreateAES_GCMImplementation(CryptoBuffer&& key, CryptoBuffer&& iv,
                                                                                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:106:119: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  AWS_CORE_API std::shared_ptr<SymmetricCipher> CreateAES_GCMImplementation(CryptoBuffer&& key, CryptoBuffer&& iv,
                                                                                                                            ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Factories.h:107:99: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                                                                                            CryptoBuffer&& tag = CryptoBuffer(0));
                                                                                                        ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:21:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpClientFactory.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpTypes.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSList.h:27:37: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
      template< typename T > using List = std::list< T, Aws::Allocator< T > >;
                                          ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:21:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpClientFactory.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpTypes.h:22:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSMap.h:28:48: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
      template< typename K, typename V > using Map = std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > >;
                                                     ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSMap.h:38:41: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
      template<typename V> using CStringMap = std::map<const char*, V, CompareStrings, Aws::Allocator<std::pair<const char*, V> > >;
                                              ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:21:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpClientFactory.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpTypes.h:33:14: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
              enum class HttpMethod
                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpTypes.h:46:14: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
              enum class TransferLibType
                   ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:21:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpClientFactory.h:21:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/memory/stl/AWSStreamFwd.h:35:25: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
      using IOStreamFactory = std::function< Aws::IOStream*(void) >;
                              ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:36:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:33:58: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions]
              LoggingOptions() : logLevel(Aws::Utils::Logging::LogLevel::Off), defaultLogPrefix(DEFAULT_LOG_PREFIX)
                                                               ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/Aws.h:33:58: error: incomplete type 'Aws::Utils::Logging::LogLevel' named in nested name specifier
              LoggingOptions() : logLevel(Aws::Utils::Logging::LogLevel::Off), defaultLogPrefix(DEFAULT_LOG_PREFIX)
                                          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:37:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSError.h:25:14: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
              enum class CoreErrors;
                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSError.h:25:20: error: ISO C++ forbids forward references to 'enum' types
              enum class CoreErrors;
                         ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:39:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/ConsoleLogSystem.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:22:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
      #error <atomic> is not implemented
       ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:39:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/ConsoleLogSystem.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:36:30: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
                      using Base = LogSystemInterface;
                                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:42:25: error: exception specification of overriding function is more lax than base version
                      virtual ~FormattedLogSystem() = default;
                              ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/LogSystemInterface.h:39:25: note: overridden virtual function is here
                      virtual ~LogSystemInterface() = default;
                              ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:39:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/ConsoleLogSystem.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:42:49: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
                      virtual ~FormattedLogSystem() = default;
                                                      ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:47:58: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
                      virtual LogLevel GetLogLevel(void) const override { return m_logLevel; }
                                                               ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:56:98: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
                      virtual void Log(LogLevel logLevel, const char* tag, const char* formatStr, ...) override;
                                                                                                       ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:61:117: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
                      virtual void LogStream(LogLevel logLevel, const char* tag, const Aws::OStringStream &messageStream) override;
                                                                                                                          ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:68:67: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                      virtual void ProcessFormattedStatement(Aws::String&& statement) = 0;
                                                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:71:22: error: no type named 'atomic' in namespace 'std'
                      std::atomic<LogLevel> m_logLevel;
                      ~~~~~^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:71:28: error: expected member name or ';' after declaration specifiers
                      std::atomic<LogLevel> m_logLevel;
                      ~~~~~~~~~~~^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:47:76: error: use of undeclared identifier 'm_logLevel'; did you mean 'GetLogLevel'?
                      virtual LogLevel GetLogLevel(void) const override { return m_logLevel; }
                                                                                 ^~~~~~~~~~
                                                                                 GetLogLevel
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:47:34: note: 'GetLogLevel' declared here
                      virtual LogLevel GetLogLevel(void) const override { return m_logLevel; }
                                       ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:51:55: error: use of undeclared identifier 'm_logLevel'; did you mean 'logLevel'?
                      void SetLogLevel(LogLevel logLevel) { m_logLevel.store(logLevel); }
                                                            ^~~~~~~~~~
                                                            logLevel
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:51:43: note: 'logLevel' declared here
                      void SetLogLevel(LogLevel logLevel) { m_logLevel.store(logLevel); }
                                                ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:51:65: error: member reference base type 'Aws::Utils::Logging::LogLevel' is not a structure or union
                      void SetLogLevel(LogLevel logLevel) { m_logLevel.store(logLevel); }
                                                            ~~~~~~~~~~^~~~~~
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:39:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/ConsoleLogSystem.h:35:30: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
                      using Base = FormattedLogSystem;
                                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/ConsoleLogSystem.h:41:25: error: exception specification of overriding function is more lax than base version
                      virtual ~ConsoleLogSystem() {}
                              ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/FormattedLogSystem.h:42:25: note: overridden virtual function is here
                      virtual ~FormattedLogSystem() = default;
                              ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:39:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/ConsoleLogSystem.h:45:67: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                      virtual void ProcessFormattedStatement(Aws::String&& statement) override;
                                                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/logging/ConsoleLogSystem.h:45:81: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
                      virtual void ProcessFormattedStatement(Aws::String&& statement) override;
                                                                                      ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:17:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSErrors.h:17:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/CoreErrors.h:26:14: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
              enum class CoreErrors
                   ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:17:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSErrors.h:24:6: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
      enum class KMSErrors
           ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSErrors.h:51:44: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions]
        ALREADY_EXISTS= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
                                                 ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:19:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/ClientConfiguration.h:19:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/Scheme.h:29:14: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
              enum class Scheme
                   ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:22:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpResponse.h:19:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpRequest.h:24:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/stream/ResponseStream.h:40:46: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                      ResponseStream(ResponseStream&&);
                                                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/stream/ResponseStream.h:45:57: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
                      ResponseStream(const ResponseStream&) = delete;
                                                              ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/stream/ResponseStream.h:51:57: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                      ResponseStream& operator=(ResponseStream&&);
                                                              ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/stream/ResponseStream.h:52:68: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
                      ResponseStream& operator=(const ResponseStream&) = delete;
                                                                         ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/stream/ResponseStream.h:68:30: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
                      using Base = Aws::IOStream;
                                   ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:22:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpResponse.h:19:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpRequest.h:355:77: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  inline void SetDataReceivedEventHandler(DataReceivedEventHandler&& dataReceivedEventHandler) { m_onDataReceived = std::move(dataReceivedEventHandler); }
                                                                                  ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpRequest.h:363:69: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  inline void SetDataSentEventHandler(DataSentEventHandler&& dataSentEventHandler) { m_onDataSent = std::move(dataSentEventHandler); }
                                                                          ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpRequest.h:371:72: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  inline void SetContinueRequestHandle(ContinueRequestHandler&& continueRequestHandler) { m_continueRequest = std::move(continueRequestHandler); }
                                                                             ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:22:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpResponse.h:38:14: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
              enum class HttpResponseCode
                   ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpResponse.h:131:39: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
                  virtual ~HttpResponse() = default;
                                            ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpResponse.h:170:50: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
                  virtual Utils::Stream::ResponseStream&& SwapResponseStreamOwnership() = 0;
                                                       ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/http/HttpResponse.h:128:30: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions]
                      responseCode(HttpResponseCode::REQUEST_NOT_MADE)
                                   ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:22:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:45:44: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
              AmazonWebServiceResult(PAYLOAD_TYPE&& payload, Http::HeaderValueCollection&& headers, Http::HttpResponseCode responseCode = Http::HttpResponseCode::OK) :
                                                 ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:45:83: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
              AmazonWebServiceResult(PAYLOAD_TYPE&& payload, Http::HeaderValueCollection&& headers, Http::HttpResponseCode responseCode = Http::HttpResponseCode::OK) :
                                                                                        ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:57:54: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
              AmazonWebServiceResult(AmazonWebServiceResult&& result) :
                                                           ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:36:149: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions]
              AmazonWebServiceResult(const PAYLOAD_TYPE& payload, const Http::HeaderValueCollection& headers, Http::HttpResponseCode responseCode = Http::HttpResponseCode::OK) :
                                                                                                                                                          ^
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/AmazonWebServiceResult.h:45:139: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions]
              AmazonWebServiceResult(PAYLOAD_TYPE&& payload, Http::HeaderValueCollection&& headers, Http::HttpResponseCode responseCode = Http::HttpResponseCode::OK) :
                                                                                                                                                ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:20:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:23:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/Hash.h:19:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/utils/crypto/HashResult.h:30:32: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
                  using HashResult = Outcome< ByteBuffer, bool >;
                                     ^
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/plugin/aws_key_management/aws_key_management_plugin.cc:40:
      In file included from /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/kms/KMSClient.h:20:
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:78:93: error: a space is required between consecutive right angle brackets (use '> >')
              typedef Utils::Outcome<std::shared_ptr<Aws::Http::HttpResponse>, AWSError<CoreErrors>> HttpResponseOutcome;
                                                                                                  ^~
                                                                                                  > >
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:79:106: error: a space is required between consecutive right angle brackets (use '> >')
              typedef Utils::Outcome<AmazonWebServiceResult<Utils::Stream::ResponseStream>, AWSError<CoreErrors>> StreamOutcome;
                                                                                                               ^~
                                                                                                               > >
      /Users/buildbot/maria-slave/mac-1012-bintar/build/aws_sdk_cpp/include/aws/core/client/AWSClient.h:187:25: error: no type named 'atomic' in namespace 'std'
                  static std::atomic<int> s_refCount;
                         ~~~~~^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      77 warnings and 20 errors generated.
      make[2]: *** [plugin/aws_key_management/CMakeFiles/aws_key_management.dir/aws_key_management_plugin.cc.o] Error 1
      make[1]: *** [plugin/aws_key_management/CMakeFiles/aws_key_management.dir/all] Error 2
      

        Attachments

          Activity

            People

            • Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              kolbe Kolbe Kegel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: