[
https://issues.apache.org/jira/browse/THRIFT-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612480#comment-13612480
]
Hudson commented on THRIFT-1845:
--------------------------------
Integrated in Thrift #633 (See [https://builds.apache.org/job/Thrift/633/])
THRIFT-1845 cpp: Fix compiler warning caused by implicit string conversion
with Xcode 4.6 (Revision a7ab94d414ee949bb38dad3e62cd771d6cc8781e)
Result = ABORTED
roger :
https://git-wip-us.apache.org/repos/asf?p=thrift.git&a=commit&h=a7ab94d414ee949bb38dad3e62cd771d6cc8781e
Files :
* lib/cpp/src/thrift/protocol/TCompactProtocol.tcc
> Fix compiler warning caused by implicit string conversion with Xcode 4.6
> ------------------------------------------------------------------------
>
> Key: THRIFT-1845
> URL: https://issues.apache.org/jira/browse/THRIFT-1845
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9
> Environment: Building w/ clang as shipped with Xcode 4.6
> Reporter: Nate Rosenblum
> Assignee: Jake Farrell
> Priority: Minor
> Fix For: 0.9
>
> Attachments: 0001-Don-t-rely-on-implicit-string-conversion.patch
>
>
> Clang doesn't do the implicit char[] -> std::string conversion before
> evaluating the + operator in the following statement (and even if it did, it
> would complain that there is no string::operator+ defined for a non-character
> integral type.
> {code}
> int8_t type;
> //...
> throw TException("don't know what type: " + type);
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira