You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently moved to XCode 6 / iOS 8 and ran into a problem building WebSocket++. We're on version 0.3.0-alpha4 of the library so it's a bit old.
The issue seems to be that WebSocket++ defines 64 bit versions of ntohtll and htonll. And they don't compile against iOS 8.
websocketpp/common/network.hpp
ntohtll, htonll
I get a compilation error saying "Expected (" on the ntohtll method name.
Deleting the WebSocket++ implementations and using Apple's ntohl & htonl caused runtime errors, so that was not a solution. Instead I just renamed ntohtll -> ntohtllex and htonll -> htonllex in my own branch.
You may want to do some ntohtll, htonll detection in the header before defining your own.
The text was updated successfully, but these errors were encountered:
We recently moved to XCode 6 / iOS 8 and ran into a problem building WebSocket++. We're on version 0.3.0-alpha4 of the library so it's a bit old.
The issue seems to be that WebSocket++ defines 64 bit versions of ntohtll and htonll. And they don't compile against iOS 8.
websocketpp/common/network.hpp
ntohtll, htonll
I get a compilation error saying "Expected (" on the ntohtll method name.
Deleting the WebSocket++ implementations and using Apple's ntohl & htonl caused runtime errors, so that was not a solution. Instead I just renamed ntohtll -> ntohtllex and htonll -> htonllex in my own branch.
You may want to do some ntohtll, htonll detection in the header before defining your own.
The text was updated successfully, but these errors were encountered: