[ https://issues.apache.org/jira/browse/THRIFT-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-4272: ------------------------------- Summary: warnings in glibc library (was: tons of warnings in glibc library) > 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 > > 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 (v6.4.14#64029)