Skip to content

Instantly share code, notes, and snippets.

@Anniepoo
Created June 14, 2010 02:06
Show Gist options
  • Save Anniepoo/437195 to your computer and use it in GitHub Desktop.
Save Anniepoo/437195 to your computer and use it in GitHub Desktop.
2010-06-13 16:03:52] make
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1742: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_eval_cmd’:
eval.c:1883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_trace_func’:
eval.c:2734: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_raise_jump’:
eval.c:4765: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘method_missing’:
eval.c:5720: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_call0’:
eval.c:5883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_eval’:
eval.c:6676: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘exec_under’:
eval.c:6700: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_load’:
eval.c:7016: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_end_proc’:
eval.c:8046: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_END’:
eval.c:8059: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘mproc’:
eval.c:9835: warning: assignment discards qualifiers from pointer target type
io.c: In function ‘appendline’:
io.c:1557: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
io.c: In function ‘next_argv’:
io.c:4588: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
random.c: In function ‘random_seed’:
random.c:288: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
regex.c: In function ‘ruby_re_compile_pattern’:
regex.c:1368: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
regex.c:1368: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
regex.c:2032: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
regex.c:2032: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:271: warning: assignment discards qualifiers from pointer target type
void
char
short
int
long
float
double
sym.c: In function ‘rb_dlsym_inspect’:
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 4 has type ‘struct sym_data *’
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘void *’
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 4 has type ‘struct sym_data *’
sym.c:272: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘void *’
ptr.c: In function ‘rb_dlptr_inspect’:
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘struct ptr_data *’
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘void *’
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘struct ptr_data *’
ptr.c:463: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘void *’
wait.c: In function ‘io_ready_p’:
wait.c:65: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
wait.c: In function ‘io_wait’:
wait.c:115: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:329: warning: initialization discards qualifiers from pointer target type
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’:
ossl_pkcs7.c:89: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
ossl_pkcs7.c:102: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
ossl_pkcs7.c:115: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
ossl_pkcs7.c:128: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_config.c: In function ‘ossl_config_inspect’:
ossl_config.c:424: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_init’:
ossl_cipher.c:189: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’:
ossl_cipher.c:312: warning: assignment discards qualifiers from pointer target type
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
ossl_pkey_dsa.c:165: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkey_dsa.c:165: warning: passing argument 4 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void **’ but argument is of type ‘char **’
ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’:
ossl_pkey_dsa.c:370: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’:
ossl_x509revoked.c:48: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’:
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type
/usr/include/openssl/x509.h:925: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509ext.c: In function ‘ossl_x509ext_initialize’:
ossl_x509ext.c:285: warning: passing argument 2 of ‘d2i_X509_EXTENSION’ from incompatible pointer type
/usr/include/openssl/x509.h:928: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509name.c: In function ‘ossl_x509name_initialize’:
ossl_x509name.c:142: warning: passing argument 2 of ‘d2i_X509_NAME’ from incompatible pointer type
/usr/include/openssl/x509.h:933: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_bool’:
ossl_asn1.c:313: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type
/usr/include/openssl/asn1.h:816: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:328: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type
/usr/include/openssl/asn1.h:818: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_bstr’:
ossl_asn1.c:347: warning: passing argument 2 of ‘d2i_ASN1_BIT_STRING’ from incompatible pointer type
/usr/include/openssl/asn1.h:798: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:373: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type
/usr/include/openssl/asn1.h:827: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_null’:
ossl_asn1.c:390: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type
/usr/include/openssl/asn1.h:849: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_obj’:
ossl_asn1.c:407: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type
/usr/include/openssl/asn1.h:776: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:435: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type
/usr/include/openssl/asn1.h:865: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘ossl_asn1_get_asn1type’:
ossl_asn1.c:503: warning: cast to pointer from integer of different size
ossl_asn1.c: In function ‘ossl_asn1_decode0’:
ossl_asn1.c:727: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type
/usr/include/openssl/asn1.h:921: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_ocsp.c: In function ‘ossl_ocspreq_initialize’:
ossl_ocsp.c:114: warning: passing argument 2 of ‘d2i_OCSP_REQUEST’ from incompatible pointer type
/usr/include/openssl/ocsp.h:544: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_ocsp.c: In function ‘ossl_ocspres_initialize’:
ossl_ocsp.c:321: warning: passing argument 2 of ‘d2i_OCSP_RESPONSE’ from incompatible pointer type
/usr/include/openssl/ocsp.h:540: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693: warning: initialization discards qualifiers from pointer target type
ossl_ns_spki.c: In function ‘ossl_spki_initialize’:
ossl_ns_spki.c:67: warning: passing argument 2 of ‘d2i_NETSCAPE_SPKI’ from incompatible pointer type
/usr/include/openssl/x509.h:973: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
pty.c: In function ‘establishShell’:
pty.c:273: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
pty.c:289: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
_sdbm.c: In function ‘makroom’:
_sdbm.c:442: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
socket.c: In function ‘str_isnumber’:
socket.c:826: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result
syck.c: In function ‘syck_default_error_handler’:
syck.c:502: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
[2010-06-13 17:36:03] make
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1742: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_eval_cmd’:
eval.c:1883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_trace_func’:
eval.c:2734: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_raise_jump’:
eval.c:4765: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘method_missing’:
eval.c:5720: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_call0’:
eval.c:5883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_eval’:
eval.c:6676: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘exec_under’:
eval.c:6700: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_load’:
eval.c:7016: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_end_proc’:
eval.c:8046: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_END’:
eval.c:8059: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘mproc’:
eval.c:9835: warning: assignment discards qualifiers from pointer target type
io.c: In function ‘appendline’:
io.c:1557: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
io.c: In function ‘next_argv’:
io.c:4588: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
random.c: In function ‘random_seed’:
random.c:288: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
regex.c: In function ‘ruby_re_compile_pattern’:
regex.c:1368: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
regex.c:1368: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
regex.c:2032: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
regex.c:2032: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:271: warning: assignment discards qualifiers from pointer target type
wait.c: In function ‘io_ready_p’:
wait.c:65: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
wait.c: In function ‘io_wait’:
wait.c:115: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:329: warning: initialization discards qualifiers from pointer target type
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’:
ossl_pkcs7.c:89: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
ossl_pkcs7.c:102: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
ossl_pkcs7.c:115: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
ossl_pkcs7.c:128: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_config.c: In function ‘ossl_config_inspect’:
ossl_config.c:424: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_init’:
ossl_cipher.c:189: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’:
ossl_cipher.c:312: warning: assignment discards qualifiers from pointer target type
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
ossl_pkey_dsa.c:165: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkey_dsa.c:165: warning: passing argument 4 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void **’ but argument is of type ‘char **’
ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’:
ossl_pkey_dsa.c:370: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’:
ossl_x509revoked.c:48: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’:
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type
/usr/include/openssl/x509.h:925: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509ext.c: In function ‘ossl_x509ext_initialize’:
ossl_x509ext.c:285: warning: passing argument 2 of ‘d2i_X509_EXTENSION’ from incompatible pointer type
/usr/include/openssl/x509.h:928: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509name.c: In function ‘ossl_x509name_initialize’:
ossl_x509name.c:142: warning: passing argument 2 of ‘d2i_X509_NAME’ from incompatible pointer type
/usr/include/openssl/x509.h:933: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_bool’:
ossl_asn1.c:313: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type
/usr/include/openssl/asn1.h:816: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:328: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type
/usr/include/openssl/asn1.h:818: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_bstr’:
ossl_asn1.c:347: warning: passing argument 2 of ‘d2i_ASN1_BIT_STRING’ from incompatible pointer type
/usr/include/openssl/asn1.h:798: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:373: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type
/usr/include/openssl/asn1.h:827: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_null’:
ossl_asn1.c:390: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type
/usr/include/openssl/asn1.h:849: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_obj’:
ossl_asn1.c:407: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type
/usr/include/openssl/asn1.h:776: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:435: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type
/usr/include/openssl/asn1.h:865: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘ossl_asn1_get_asn1type’:
ossl_asn1.c:503: warning: cast to pointer from integer of different size
ossl_asn1.c: In function ‘ossl_asn1_decode0’:
ossl_asn1.c:727: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type
/usr/include/openssl/asn1.h:921: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_ocsp.c: In function ‘ossl_ocspreq_initialize’:
ossl_ocsp.c:114: warning: passing argument 2 of ‘d2i_OCSP_REQUEST’ from incompatible pointer type
/usr/include/openssl/ocsp.h:544: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_ocsp.c: In function ‘ossl_ocspres_initialize’:
ossl_ocsp.c:321: warning: passing argument 2 of ‘d2i_OCSP_RESPONSE’ from incompatible pointer type
/usr/include/openssl/ocsp.h:540: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693: warning: initialization discards qualifiers from pointer target type
ossl_ns_spki.c: In function ‘ossl_spki_initialize’:
ossl_ns_spki.c:67: warning: passing argument 2 of ‘d2i_NETSCAPE_SPKI’ from incompatible pointer type
/usr/include/openssl/x509.h:973: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
pty.c: In function ‘establishShell’:
pty.c:273: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
pty.c:289: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
_sdbm.c: In function ‘makroom’:
_sdbm.c:442: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
socket.c: In function ‘str_isnumber’:
socket.c:826: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result
syck.c: In function ‘syck_default_error_handler’:
syck.c:502: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
[2010-06-13 18:53:13] make
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1742: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_eval_cmd’:
eval.c:1883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_trace_func’:
eval.c:2734: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_raise_jump’:
eval.c:4765: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘method_missing’:
eval.c:5720: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_call0’:
eval.c:5883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_eval’:
eval.c:6676: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘exec_under’:
eval.c:6700: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_load’:
eval.c:7016: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_end_proc’:
eval.c:8046: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_END’:
eval.c:8059: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘mproc’:
eval.c:9835: warning: assignment discards qualifiers from pointer target type
io.c: In function ‘appendline’:
io.c:1557: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
io.c: In function ‘next_argv’:
io.c:4588: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
random.c: In function ‘random_seed’:
random.c:288: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
regex.c: In function ‘ruby_re_compile_pattern’:
regex.c:1368: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
regex.c:1368: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
regex.c:2032: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
regex.c:2032: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:271: warning: assignment discards qualifiers from pointer target type
wait.c: In function ‘io_ready_p’:
wait.c:65: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
wait.c: In function ‘io_wait’:
wait.c:115: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:329: warning: initialization discards qualifiers from pointer target type
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’:
ossl_pkcs7.c:89: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
ossl_pkcs7.c:102: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
ossl_pkcs7.c:115: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
ossl_pkcs7.c:128: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_config.c: In function ‘ossl_config_inspect’:
ossl_config.c:424: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_init’:
ossl_cipher.c:189: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’:
ossl_cipher.c:312: warning: assignment discards qualifiers from pointer target type
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
ossl_pkey_dsa.c:165: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkey_dsa.c:165: warning: passing argument 4 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void **’ but argument is of type ‘char **’
ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’:
ossl_pkey_dsa.c:370: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’:
ossl_x509revoked.c:48: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’:
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type
/usr/include/openssl/x509.h:925: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509ext.c: In function ‘ossl_x509ext_initialize’:
ossl_x509ext.c:285: warning: passing argument 2 of ‘d2i_X509_EXTENSION’ from incompatible pointer type
/usr/include/openssl/x509.h:928: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509name.c: In function ‘ossl_x509name_initialize’:
ossl_x509name.c:142: warning: passing argument 2 of ‘d2i_X509_NAME’ from incompatible pointer type
/usr/include/openssl/x509.h:933: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_bool’:
ossl_asn1.c:313: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type
/usr/include/openssl/asn1.h:816: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:328: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type
/usr/include/openssl/asn1.h:818: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_bstr’:
ossl_asn1.c:347: warning: passing argument 2 of ‘d2i_ASN1_BIT_STRING’ from incompatible pointer type
/usr/include/openssl/asn1.h:798: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:373: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type
/usr/include/openssl/asn1.h:827: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_null’:
ossl_asn1.c:390: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type
/usr/include/openssl/asn1.h:849: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_obj’:
ossl_asn1.c:407: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type
/usr/include/openssl/asn1.h:776: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:435: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type
/usr/include/openssl/asn1.h:865: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘ossl_asn1_get_asn1type’:
ossl_asn1.c:503: warning: cast to pointer from integer of different size
ossl_asn1.c: In function ‘ossl_asn1_decode0’:
ossl_asn1.c:727: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type
/usr/include/openssl/asn1.h:921: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_ocsp.c: In function ‘ossl_ocspreq_initialize’:
ossl_ocsp.c:114: warning: passing argument 2 of ‘d2i_OCSP_REQUEST’ from incompatible pointer type
/usr/include/openssl/ocsp.h:544: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_ocsp.c: In function ‘ossl_ocspres_initialize’:
ossl_ocsp.c:321: warning: passing argument 2 of ‘d2i_OCSP_RESPONSE’ from incompatible pointer type
/usr/include/openssl/ocsp.h:540: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693: warning: initialization discards qualifiers from pointer target type
ossl_ns_spki.c: In function ‘ossl_spki_initialize’:
ossl_ns_spki.c:67: warning: passing argument 2 of ‘d2i_NETSCAPE_SPKI’ from incompatible pointer type
/usr/include/openssl/x509.h:973: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
pty.c: In function ‘establishShell’:
pty.c:273: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
pty.c:289: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
_sdbm.c: In function ‘makroom’:
_sdbm.c:442: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
socket.c: In function ‘str_isnumber’:
socket.c:826: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result
syck.c: In function ‘syck_default_error_handler’:
syck.c:502: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
[2010-06-13 18:58:37] make
make[1]: *** Deleting file `ossl_bio.o'
make[1]: *** [ossl_bio.o] Interrupt
make: *** [all] Interrupt
[2010-06-13 18:59:12] make
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:329: warning: initialization discards qualifiers from pointer target type
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’:
ossl_pkcs7.c:89: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
ossl_pkcs7.c:102: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
ossl_pkcs7.c:115: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
ossl_pkcs7.c:128: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_config.c: In function ‘ossl_config_inspect’:
ossl_config.c:424: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_init’:
ossl_cipher.c:189: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’:
ossl_cipher.c:312: warning: assignment discards qualifiers from pointer target type
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
ossl_pkey_dsa.c:165: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkey_dsa.c:165: warning: passing argument 4 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
/usr/include/openssl/pem.h:582: note: expected ‘void **’ but argument is of type ‘char **’
ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’:
ossl_pkey_dsa.c:370: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’:
ossl_x509revoked.c:48: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’:
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:931: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type
/usr/include/openssl/x509.h:925: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_x509attr.c: In function ‘ossl_x509attr_set_value’:
ossl_x509attr.c:189: error: ‘X509_ATTRIBUTE’ has no member named ‘set’
ossl_x509attr.c:192: error: ‘X509_ATTRIBUTE’ has no member named ‘set’
ossl_x509attr.c: In function ‘ossl_x509attr_get_value’:
ossl_x509attr.c:212: error: ‘X509_ATTRIBUTE’ has no member named ‘set’
make[1]: *** [ossl_x509attr.o] Error 1
make: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment