Skip to content

Compilation errors on QNX 6.6.0 #492

@bbDSA

Description

@bbDSA

Compiler: QCC 4.7.3
Include headers:

include <websocketpp/config/asio_no_tls.hpp>

include <websocketpp/server.hpp>

include

Compilation errors:
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/utilities.hpp: In member function 'bool websocketpp::utility::ci_less::nocase_compare::operator()(const unsigned char&, const unsigned char&) const':
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/utilities.hpp:81:31: error: 'tolower' was not declared in this scope

C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/impl/utilities_impl.hpp: In function 'std::string websocketpp::utility::to_lower(const string&)':
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/impl/utilities_impl.hpp:39:54: error: '::tolower' has not been declared

C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/transport/asio/connection.hpp: In member function 'void websocketpp::transport::asio::connection::handle_post_init_timeout(websocketpp::transport::asio::connection::timer_ptr, websocketpp::transport::init_handler, const std::error_code&)':
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/transport/asio/connection.hpp:541:41: error: ambiguous overload for 'operator==' in 'ec == websocketpp::transport::error::operation_aborted'
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/transport/asio/connection.hpp:541:41: note: candidates are:
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/transport/asio/connection.hpp:541:41: note: operator==(int, int)

C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/transport/asio/connection.hpp:882:42: error: ambiguous overload for 'operator==' in 'tec == websocketpp::transport::error::pass_through'
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/transport/asio/connection.hpp:882:42: note: candidates are:
C:/Develop/qnx-cpp/libs/websocketpp/websocketpp/transport/asio/connection.hpp:882:42: note: operator==(int, int)

There are several more compilation errors regarding the error codes but I assume that most of them have the same source,

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions