[
https://issues.apache.org/jira/browse/THRIFT-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756759#comment-16756759
]
Jim Apple commented on THRIFT-4138:
-----------------------------------
What is the type of {{t}} in that gdb snippet? I want to repro it. The
following prints -2147483648 for me:
{noformat}
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main() {
istringstream str("-2147483648");
str.imbue(std::locale::classic());
int i;
str >> i;
cout << i << endl;
}
{noformat}
> Fix remaining undefined behavior invalid vptr casts in C++ library
> ------------------------------------------------------------------
>
> Key: THRIFT-4138
> URL: https://issues.apache.org/jira/browse/THRIFT-4138
> Project: Thrift
> Issue Type: Sub-task
> Components: C++ - Library
> Reporter: Jens Geyer
> Assignee: Jim Apple
> Priority: Major
> Fix For: 0.11.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)