[ https://issues.apache.org/jira/browse/THRIFT-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254715#comment-14254715 ]
Hudson commented on THRIFT-2907: -------------------------------- SUCCESS: Integrated in Thrift #1410 (See [https://builds.apache.org/job/Thrift/1410/]) THRIFT-2907 - macro ntohll defined only when needed (hcorg: rev 38bf23404c8caad07766023d2861d1316be23080) * lib/cpp/src/thrift/protocol/TProtocol.h > 'ntohll' macro redefined > ------------------------ > > Key: THRIFT-2907 > URL: https://issues.apache.org/jira/browse/THRIFT-2907 > Project: Thrift > Issue Type: Bug > Components: Build Process > Affects Versions: 0.9.2 > Environment: Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM > 3.5svn) > Target: x86_64-apple-darwin14.0.0 > Thread model: posix > Reporter: Jon Parise > Assignee: Konrad Grochowski > Priority: Trivial > Fix For: 0.9.3 > > > The {{ntohll}} macro is already defined in {{/usr/include/sys/_endian.h}} on > Mac OS X. > {code} > In file included from gen-cpp/shared_constants.cpp:7: > In file included from gen-cpp/shared_constants.h:10: > In file included from gen-cpp/shared_types.h:14: > ../../lib/cpp/src/thrift/protocol/TProtocol.h:131:11: warning: 'ntohll' macro > redefined > # define ntohll(n) ( (((uint64_t)ntohl((uint32_t)n)) << 32) + > ntohl((uint32_t)(n >> 32)) ) > ^ > /usr/include/sys/_endian.h:140:9: note: previous definition is here > #define ntohll(x) __DARWIN_OSSwapInt64(x) > ^ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)