You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2020/09/17 09:32:00 UTC
[jira] [Resolved] (THRIFT-4272) warnings in glibc library
[ https://issues.apache.org/jira/browse/THRIFT-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-4272.
--------------------------------
Fix Version/s: 0.14.0
Assignee: Zezeng Wang
Resolution: Fixed
> warnings in glibc library
> -------------------------
>
> Key: THRIFT-4272
> URL: https://issues.apache.org/jira/browse/THRIFT-4272
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Library
> Reporter: Jens Geyer
> Assignee: Zezeng Wang
> Priority: Major
> Fix For: 0.14.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Travis emits a gazillion of warnings during glib-c builds. Amongst some compatibility related things there are some quite interesting ones:
> {code}
> testtransportsslsocket.c:530:21: warning: initializer-string for char array is
> too long
> guchar match[10] = TEST_DATA;
> ^~~~~~~~~
> testtransportsslsocket.c:35:21: note: expanded from macro 'TEST_DATA'
> #define TEST_DATA { "GET / HTTP/1.1\n\n" }
> ^~~~~~~~~~~~~~~~~~~~
> {code}
> and
> {code}
> src/thrift/c_glib/transport/thrift_ssl_socket.c:147:10: warning: implicit
> declaration of function 'thrift_socket_is_open' is invalid in C99
> [-Wimplicit-function-declaration]
> return thrift_socket_is_open(transport);
> ^
> src/thrift/c_glib/transport/thrift_ssl_socket.c:179:8: warning: implicit
> declaration of function 'thrift_socket_open' is invalid in C99
> [-Wimplicit-function-declaration]
> if (!thrift_socket_open(transport, error)) {
> ^
> src/thrift/c_glib/transport/thrift_ssl_socket.c:185:7: warning: implicit
> declaration of function 'thrift_socket_close' is invalid in C99
> [-Wimplicit-function-declaration]
> thrift_socket_close(transport, &tmperr);
> ^
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)