VVOSCQueryProtocol
VVOSCQueryProtocol copied to clipboard
Compile Errors Xcode 10.2
It took me a while to try to figure out how to CheckOut with Submodules. Most times I've just downloaded the zip. Most documentation regarding SubModules was pretty bad. But I think I finally have it.
When trying to Build VVOSCQueryProtocol only get the following build errors: MINOR ERRORS:
- multiple errors /VVOSCQueryProtocol/external_projects/websocketpp/websocketpp/frame.hpp:834:13: Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') /VVOSCQueryProtocol/external_projects/asio/asio/include/asio/detail/impl/socket_ops.ipp:3458:65: Implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'socklen_t' (aka 'unsigned int')
MAJOR FAIL ERRORS: USER DEFINED ISSUE: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/string_view:11:2: "<experimental/string_view> has been removed. Use <string_view> instead."
The above seems to be the biggest issue.
I'm going to separate comment for further issues
SEMANTIC ISSUES: (all seem to relate to above)
/VVOSCQueryProtocol/external_projects/asio/asio/include/asio/detail/string_view.hpp:36:12: No member named 'experimental' in namespace 'std'
in the string_view.hpp files contains: `// // detail/string_view.hpp // ~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
#ifndef ASIO_DETAIL_STRING_VIEW_HPP #define ASIO_DETAIL_STRING_VIEW_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
pragma once
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
#include "asio/detail/config.hpp"
#if defined(ASIO_HAS_STRING_VIEW)
#if defined(ASIO_HAS_STD_STRING_VIEW)
include <string_view>
#elif defined(ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW)
include <experimental/string_view>
#else // defined(ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW)
error ASIO_HAS_STRING_VIEW is set but no string_view is available
#endif // defined(ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW)
namespace asio {
#if defined(ASIO_HAS_STD_STRING_VIEW) using std::basic_string_view; using std::string_view; #elif defined(ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW) using std::experimental::basic_string_view; using std::experimental::string_view; #endif // defined(ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW)
} // namespace asio
define ASIO_STRING_VIEW_PARAM asio::string_view
#else // defined(ASIO_HAS_STRING_VIEW)
define ASIO_STRING_VIEW_PARAM const std::string&
#endif // defined(ASIO_HAS_STRING_VIEW)
#endif // ASIO_DETAIL_STRING_VIEW_HPP`
SEMANTIC ISSUE:
/VVOSCQueryProtocol/external_projects/asio/asio/include/asio/ip/basic_resolver_entry.hpp:53:36: No type named 'string_view' in namespace 'asio'; did you mean simply 'string_view'?
trimmed from : ip/basic_resolver_entry.hpp
/// Construct with specified endpoint, host name and service name. basic_resolver_entry(const endpoint_type& ep, ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service) : endpoint_(ep), host_name_(static_cast<std::string>(host)), service_name_(static_cast<std::string>(service)) { }
Seems like I was able to try a different CLONE and open it in Xcode 8 and get it to compile. Hopefully I can just include the Framework and open the test Apps. I will keep you posted.