You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2015/05/06 06:59:00 UTC
[jira] [Commented] (THRIFT-2474) thrift.h causes a compile failure
[ https://issues.apache.org/jira/browse/THRIFT-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529921#comment-14529921 ]
James E. King, III commented on THRIFT-2474:
--------------------------------------------
The issue appears to have moved since this was filed, and now in TProtocol.h instead.
> thrift.h causes a compile failure
> ---------------------------------
>
> Key: THRIFT-2474
> URL: https://issues.apache.org/jira/browse/THRIFT-2474
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9.1
> Reporter: Vitali Lovich
> Assignee: James E. King, III
>
> ntohll & htonll are incorrectly assumed to be undefined if not glibc/MSVC. Instead they should be protected by ifndef in case the platform provides them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)