[ https://issues.apache.org/jira/browse/THRIFT-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aki Sukegawa resolved THRIFT-3831. ---------------------------------- Resolution: Fixed Assignee: Cody Schafer Fix Version/s: 0.10.0 committed, thanks. > build of test/cpp/src/TestClient.cpp fails with newer gcc on platforms with > unsigned char due to narrowing conversions > ---------------------------------------------------------------------------------------------------------------------- > > Key: THRIFT-3831 > URL: https://issues.apache.org/jira/browse/THRIFT-3831 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Reporter: Cody Schafer > Assignee: Cody Schafer > Fix For: 0.10.0 > > Attachments: 0001-test-cpp-explicitly-use-signed-char.patch > > > Specifically, we get a bunch of errors like: > test/cpp/src/TestClient.cpp:404:15: error: narrowing conversion > of '-1' from 'int' to 'char' inside { } [-Wnarrowing] > gcc faq talks about this: https://gcc.gnu.org/wiki/FAQ#Wnarrowing > I've only seen this in gcc-6, but the faq seems to indicate it could occur in > gcc-5 as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)