[gnutls-help] gnutls-3.2.13 : another code bug "base64.c", line 99: error: void function cannot return value
dev
dev at cor0.com
Wed Apr 30 20:03:19 CEST 2014
<snippage>
> any other platforms are supported due to people contributing patches.
I'll look into these and just email in what I fix.
"x509.c", line 2894: warning: argument #3 is incompatible with
prototype:
prototype: pointer to unsigned int :
"./../includes/gnutls/x509-ext.h", line 64
argument : pointer to enum gnutls_x509_subject_alt_name_t
{GNUTLS_SAN_OTHERNAME_XMPP(1000), GNUTLS_SAN_DN(6),
GNUTLS_SAN_OTHERNAME(5), GNUTLS_SAN_IPADDRESS(4), GNUTLS_SAN_URI(3),
GNUTLS_SAN_RFC822NAME(2), GNUTLS_SAN_DNSNAME(1)}
"stream.c", line 668: warning: return value type mismatch
"stream.c", line 670: warning: return value type mismatch
"stream.c", line 672: warning: return value type mismatch
"stream.c", line 1119: warning: argument #2 is incompatible with
prototype:
prototype: pointer to function(pointer to void, int, pointer to
struct __FILE {array[16] of long __pad}, pointer to struct __FILE
{array[16] of long __pad}) returning enum {CDK_Network_Error(28),
CDK_No_Passphrase(27), CDK_No_Data(26), CDK_Unusable_Key(25),
CDK_Too_Short(24), CDK_Inv_Packet_Ver(23), CDK_Wrong_Format(22),
CDK_Error_No_Keyring(21), CDK_Inv_Mode(20), CDK_Bad_MDC(19),
CDK_Wrong_Seckey(18), CDK_Out_Of_Core(17), CDK_Weak_Key(16),
CDK_Zlib_Error(15), CDK_Time_Conflict(14), CDK_Chksum_Error(13),
CDK_Error_No_Key(12), CDK_Inv_Value(11), CDK_MPI_Error(10),
CDK_Armor_CRC_Error(9), CDK_Armor_Error(8), CDK_Not_Implemented(6),
CDK_Inv_Algo(5), CDK_Inv_Packet(4), CDK_Bad_Sig(3), CDK_File_Error(2),
CDK_General_Error(1), CDK_Success(0), CDK_EOF(-1)} : "stream.c", line
632
argument : pointer to function(pointer to void, int, pointer to
struct __FILE {array[16] of long __pad}, pointer to struct __FILE
{array[16] of long __pad}) returning int
"stream.c", line 1158: warning: argument #2 is incompatible with
prototype:
prototype: pointer to function(pointer to void, int, pointer to
struct __FILE {array[16] of long __pad}, pointer to struct __FILE
{array[16] of long __pad}) returning enum {CDK_Network_Error(28),
CDK_No_Passphrase(27), CDK_No_Data(26), CDK_Unusable_Key(25),
CDK_Too_Short(24), CDK_Inv_Packet_Ver(23), CDK_Wrong_Format(22),
CDK_Error_No_Keyring(21), CDK_Inv_Mode(20), CDK_Bad_MDC(19),
CDK_Wrong_Seckey(18), CDK_Out_Of_Core(17), CDK_Weak_Key(16),
CDK_Zlib_Error(15), CDK_Time_Conflict(14), CDK_Chksum_Error(13),
CDK_Error_No_Key(12), CDK_Inv_Value(11), CDK_MPI_Error(10),
CDK_Armor_CRC_Error(9), CDK_Armor_Error(8), CDK_Not_Implemented(6),
CDK_Inv_Algo(5), CDK_Inv_Packet(4), CDK_Bad_Sig(3), CDK_File_Error(2),
CDK_General_Error(1), CDK_Success(0), CDK_EOF(-1)} : "stream.c", line
632
argument : pointer to function(pointer to void, int, pointer to
struct __FILE {array[16] of long __pad}, pointer to struct __FILE
{array[16] of long __pad}) returning int
"stream.c", line 1211: warning: argument #2 is incompatible with
prototype:
prototype: pointer to function(pointer to void, int, pointer to
struct __FILE {array[16] of long __pad}, pointer to struct __FILE
{array[16] of long __pad}) returning enum {CDK_Network_Error(28),
CDK_No_Passphrase(27), CDK_No_Data(26), CDK_Unusable_Key(25),
CDK_Too_Short(24), CDK_Inv_Packet_Ver(23), CDK_Wrong_Format(22),
CDK_Error_No_Keyring(21), CDK_Inv_Mode(20), CDK_Bad_MDC(19),
CDK_Wrong_Seckey(18), CDK_Out_Of_Core(17), CDK_Weak_Key(16),
CDK_Zlib_Error(15), CDK_Time_Conflict(14), CDK_Chksum_Error(13),
CDK_Error_No_Key(12), CDK_Inv_Value(11), CDK_MPI_Error(10),
CDK_Armor_CRC_Error(9), CDK_Armor_Error(8), CDK_Not_Implemented(6),
CDK_Inv_Algo(5), CDK_Inv_Packet(4), CDK_Bad_Sig(3), CDK_File_Error(2),
CDK_General_Error(1), CDK_Success(0), CDK_EOF(-1)} : "stream.c", line
632
argument : pointer to function(pointer to void, int, pointer to
struct __FILE {array[16] of long __pad}, pointer to struct __FILE
{array[16] of long __pad}) returning int
"system.c", line 623: warning: argument #2 is incompatible with
prototype:
prototype: pointer to pointer to const char :
"/usr/local/include/iconv.h", line 83
argument : pointer to pointer to char
"./includes/gnutls/gnutls.h", line 173: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 187: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 245: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 296: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 395: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 435: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 486: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 600: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 619: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 669: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 689: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 723: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 1587: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 1926: Warning, identexpected:
Identifier expected instead of "}".
"./includes/gnutls/gnutls.h", line 2074: Warning, identexpected:
Identifier expected instead of "}".
"gnutlsxx.cpp", line 364: Warning (Anachronism), badargtype2w: Formal
argument store_func of type extern "C"
int(*)(void*,gnutls_datum_t,gnutls_datum_t) in call to
gnutls_db_set_store_function(gnutls_session_int*, extern "C"
int(*)(void*,gnutls_datum_t,gnutls_datum_t)) is being passed
int(*)(void*,gnutls_datum_t,gnutls_datum_t).
"gnutlsxx.cpp", line 365: Warning (Anachronism), badargtype2w: Formal
argument retr_func of type extern "C"
gnutls_datum_t(*)(void*,gnutls_datum_t) in call to
gnutls_db_set_retrieve_function(gnutls_session_int*, extern "C"
gnutls_datum_t(*)(void*,gnutls_datum_t)) is being passed
gnutls_datum_t(*)(void*,gnutls_datum_t).
"gnutlsxx.cpp", line 366: Warning (Anachronism), badargtype2w: Formal
argument rem_func of type extern "C" int(*)(void*,gnutls_datum_t) in
call to gnutls_db_set_remove_function(gnutls_session_int*, extern "C"
int(*)(void*,gnutls_datum_t)) is being passed
int(*)(void*,gnutls_datum_t).
"gnutlsxx.cpp", line 642: Warning, wvarhidemem: type hides
gnutls::credentials::type.
"gnutlsxx.cpp", line 648: Warning, wvarhidemem: type hides
gnutls::credentials::type.
"gnutlsxx.cpp", line 655: Warning, wvarhidemem: type hides
gnutls::credentials::type.
"gnutlsxx.cpp", line 661: Warning, wvarhidemem: type hides
gnutls::credentials::type.
"gnutlsxx.cpp", line 668: Warning, wvarhidemem: type hides
gnutls::credentials::type.
"gnutlsxx.cpp", line 676: Warning, wvarhidemem: type hides
gnutls::credentials::type.
"gnutlsxx.cpp", line 683: Warning, wvarhidemem: type hides
gnutls::credentials::type.
25 Warning(s) detected.
More information about the Gnutls-help
mailing list