Skip to content

Failure to build with Xcode 15.0.1 #5670

Closed
@avivanoff

Description

@avivanoff

Building with Xcode 15.0.1 results in the following errors:

In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4668:19: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
    typename std::char_traits<char_type>::int_type get_character()
                  ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:14: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8386:41: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
    using char_int_type = typename std::char_traits<char_type>::int_type;
                                        ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9831:33: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
    using token_type = typename lexer_t::token_type;
                                ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9744:34: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
    char_int_type current = std::char_traits<char_type>::eof();
                                 ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8391:14: note: in instantiation of default member initializer 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::current' requested here
    explicit lexer(InputAdapterType&& adapter)
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9839:25: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::lexer' requested here
        : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_)
                        ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9729:19: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
        case std::char_traits<char_type>::eof():
                  ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9571:50: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9658:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::unget' requested here
      unget();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9665:46: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::skip_bom' requested here
      if (position.chars_read_total == 0 && !skip_bom())
                                             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9530:50: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9532:37: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
        token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                    ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4672:28: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
        auto result = std::char_traits<char_type>::to_int_type(*current);
                           ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9527:22: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>::get_character' requested here
        current = ia.get_character();
                     ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4678:21: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
        return std::char_traits<char_type>::eof();
                    ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9484:22: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
                std::char_traits<char_type>::to_char_type(get()) != literal_text[i]))
                     ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9696:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_literal' requested here
          return scan_literal(true_literal.data(), true_literal.size(), token_type::literal_true);
                 ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8535:21: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
          case std::char_traits<char_type>::eof(): {
                    ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:8:
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9502:35: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                  ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8524:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::reset' requested here
      reset();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/runner/work/1/azuresdkforcpp/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^

Metadata

Metadata

Labels

Azure.CoreClientThis issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions