[
https://issues.apache.org/jira/browse/THRIFT-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054177#comment-14054177
]
Konrad Grochowski commented on THRIFT-2605:
-------------------------------------------
probably because TSocket has wrong line endings in repo :/ (on windows it
checkouts with unix style line endings)
maybe try
{code}
patch -p1 < THRIFT-2605.patch
{code}
I prepared patch on linux and was able to apply it via above command on
windows, so it should work
(applying it by git apply modified every single line in file...)
> TSocket warning on gcc 4.8.3
> ----------------------------
>
> Key: THRIFT-2605
> URL: https://issues.apache.org/jira/browse/THRIFT-2605
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Reporter: Konrad Grochowski
> Attachments: THRIFT-2605.patch
>
>
> {code}thrift/lib/cpp/src/thrift/transport/TSocket.cpp:256:36: warning:
> missing initializer for member 'sockaddr_un::sun_path'
> [-Wmissing-field-initializers]
> struct sockaddr_un address = {0}; {code}
> same in TServerSocket
--
This message was sent by Atlassian JIRA
(v6.2#6252)