Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Build errors on MacOSX 10.9 and XCode 6

$
0
0
I think these must be the errors. Sorry i am new to cpp.
n file included from /Users/dennismenke/Work/workspace/sdk/cpp/casablanca/Release/libs/websocketpp/websocketpp/frame.hpp:35:
/Users/dennismenke/Work/workspace/sdk/cpp/casablanca/Release/libs/websocketpp/websocketpp/common/network.hpp:53:17: error: expected ')'
inline uint64_t htonll(uint64_t src) {

...
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/arm/endian.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
#define htonll(x)       __DARWIN_OSSwapInt64(x)

...
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/_endian.h:130:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/libkern/_OSByteOrder.h:78:5: note: expanded from macro '__DARWIN_OSSwapInt64'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/arm/endian.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll(x)       __DARWIN_OSSwapInt64(x)

...
In file included from /Users/dennismenke/Work/workspace/sdk/cpp/casablanca/Release/libs/websocketpp/websocketpp/message_buffer/message.hpp:32:
/Users/dennismenke/Work/workspace/sdk/cpp/casablanca/Release/libs/websocketpp/websocketpp/frame.hpp:270:30: error: unexpected parenthesis after '::'
        temp64.i = lib::net::htonll(payload_size);
...
In file included from /Users/dennismenke/Work/workspace/sdk/cpp/casablanca/Release/libs/websocketpp/websocketpp/message_buffer/message.hpp:32:
/Users/dennismenke/Work/workspace/sdk/cpp/casablanca/Release/libs/websocketpp/websocketpp/frame.hpp:588:22: error: unexpected parenthesis after '::'
    return lib::net::ntohll(temp64.i);

...
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/_endian.h:130:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/libkern/_OSByteOrder.h:78:5: note: expanded from macro '__DARWIN_OSSwapInt64'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
    ^
5 errors generated.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>