cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1485 vtls/gtls.c: error: use of undeclared identifier 'connssl'

From: Marius Schamschula <mschamschula_at_users.sf.net>
Date: Mon, 23 Feb 2015 20:25:10 +0000

---
** [bugs:#1485] vtls/gtls.c: error: use of undeclared identifier 'connssl'**
**Status:** open
**Created:** Mon Feb 23, 2015 08:25 PM UTC by Marius Schamschula
**Last Updated:** Mon Feb 23, 2015 08:25 PM UTC
**Owner:** nobody
When building curl 7.40.0 against gnutls and nghttp2 under OS X 10.9.5 I get the following errors:
    vtls/gtls.c:614:25: warning: assigning to 'unsigned char *' from 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
      protocols[0].data = NGHTTP2_PROTO_VERSION_ID;
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~
    vtls/gtls.c:616:25: warning: assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
      protocols[1].data = ALPN_HTTP_1_1;
                        ^ ~~~~~~~~~~~~~
    vtls/gtls.c:621:7: error: use of undeclared identifier 'connssl'
      connssl->asked_for_h2 = TRUE;
      ^
    libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -I/opt/local/include -isystem /opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include -I/opt/local/include -fvisibility=hidden -pipe -Os -arch x86_64 -Qunused-arguments -MT vtls/libcurl_la-vtls.lo -MD -MP -MF vtls/.deps/libcurl_la-vtls.Tpo -c vtls/vtls.c -o vtls/libcurl_la-vtls.o >/dev/null 2>&1
    vtls/gtls.c:1051:13: error: use of undeclared identifier 'connssl'
    else if(connssl->asked_for_h2) {
            ^
    2 warnings and 2 errors generated.
    make[2]: *** [vtls/libcurl_la-gtls.lo] Error 1
Note: I don't see this issue when building against openssl and nghttp2
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2015-02-23

These mail archives are generated by hypermail.