Project

General

Profile

Actions

Bug #3761

closed

List of possible casting issues under LLP64

Added by luislavena (Luis Lavena) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-08-29 trunk 29141) [i386-mingw32]
Backport:
[ruby-core:31932]

Description

=begin
Hello,

working on getting Ruby (trunk and 1.9.2) build under mingw-w64 compiler. Since Windows uses LLP64 instead of LP64, sveral warnings from compilation in 32bits might shed some light for fixing.

These warnings are around pointer casting:


 In file included from ../../../../ruby/thread.c:204:0:
 ../../../../ruby/thread_win32.c: In function 'w32_wait_events':
 ../../../../ruby/thread_win32.c:126:13: warning: comparison between signed and unsigned integer expressions
 ../../../../ruby/thread_win32.c:129:13: warning: comparison between signed and unsigned integer expressions
 ../../../../ruby/thread_win32.c: In function 'w32_resume_thread':
 ../../../../ruby/thread_win32.c:170:30: warning: comparison between signed and unsigned integer expressions
 
 
 ../../../../../../ruby/ext/openssl/ossl_hmac.c: In function 'ossl_hmac_hexdigest':
 ../../../../../../ruby/ext/openssl/ossl_hmac.c:162:49: warning: comparison between signed and unsigned integer expressions
 ../../../../../../ruby/ext/openssl/ossl_hmac.c: In function 'ossl_hmac_s_hexdigest':
 ../../../../../../ruby/ext/openssl/ossl_hmac.c:225:49: warning: comparison between signed and unsigned integer expressions
 
 ../../../../../../ruby/ext/openssl/ossl_pkcs7.c: In function 'ossl_pkcs7_sym2typeid':
 ../../../../../../ruby/ext/openssl/ossl_pkcs7.c:376:18: warning: comparison between signed and unsigned integer expressions
 
 ../../../../../../ruby/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_group_set_seed':
 ../../../../../../ruby/ext/openssl/ossl_pkey_ec.c:1110:89: warning: comparison between signed and unsigned integer expressions
 
 ../../../../../../ruby/ext/openssl/ossl_ssl_session.c: In function 'ossl_ssl_session_to_der':
 ../../../../../../ruby/ext/openssl/ossl_ssl_session.c:208:15: warning: comparison between signed and unsigned integer expressions
 
 
 ../../../../../../ruby/ext/socket/raddrinfo.c: In function 'init_addrinfo':
 ../../../../../../ruby/ext/socket/raddrinfo.c:581:27: warning: comparison between signed and unsigned integer expressions
 ../../../../../../ruby/ext/socket/raddrinfo.c: In function 'inspect_sockaddr':
 ../../../../../../ruby/ext/socket/raddrinfo.c:939:35: warning: comparison between signed and unsigned integer expressions
 ../../../../../../ruby/ext/socket/raddrinfo.c:952:48: warning: comparison between signed and unsigned integer expressions
 ../../../../../../ruby/ext/socket/raddrinfo.c:965:35: warning: comparison between signed and unsigned integer expressions
 ../../../../../../ruby/ext/socket/raddrinfo.c:987:49: warning: comparison between signed and unsigned integer expressions
 

=end


Files

export-symbols-for-dll-under-64bits.patch (544 Bytes) export-symbols-for-dll-under-64bits.patch luislavena (Luis Lavena), 09/24/2010 03:01 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0