Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Warning in ruby-1.8.3-preview1

Reply
Thread Tools

Warning in ruby-1.8.3-preview1

 
 
gabriele renzi
Guest
Posts: n/a
 
      05-24-2005

Sorry if this is a ruby-core thing but I'm not subscribed there.
(I also have the feeling I reported this once but I can't find it in the
archives, sorry if I double post it)

Anyway, trying to build the preview release of ruby 1.8.3 on an old
debian box, I get this two warnings for ext/openssl:

gcc -fPIC -g -O2 -I. -I../.. -I/home/riffraff/ruby-1.8.3
-I/home/riffraff/ruby-1.8.3/ext/openssl -DHAVE_UNISTD_H
-DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H
-DHAVE_OPENSSL_CONF_API_H -DHAVE_BN_PSEUDO_RAND_RANGE
-DHAVE_BN_RAND_RANGE -DHAVE_VA_ARGS_MACRO -c ossl_cipher.c
ossl_cipher.c: In function `ossl_cipher_pkcs5_keyivgen':
ossl_cipher.c:208: warning: passing arg 2 of `EVP_BytesToKey' discards
qualifiers from pointer target type


gcc -fPIC -g -O2 -I. -I../.. -I/home/riffraff/ruby-1.8.3
-I/home/riffraff/ruby-1.8.3/ext/openssl -DHAVE_UNISTD_H
-DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H
-DHAVE_OPENSSL_CONF_API_H -DHAVE_BN_PSEUDO_RAND_RANGE
-DHAVE_BN_RAND_RANGE -DHAVE_VA_ARGS_MACRO -c ossl_pkey_rsa.c
ossl_pkey_rsa.c: In function `ossl_rsa_to_der':
ossl_pkey_rsa.c:238: warning: assignment from incompatible pointer type
ossl_pkey_rsa.c:240: warning: assignment from incompatible pointer type


There are no special warning flags so maybe this is something that
should be *really* checked, but my C-fu is close to nil, though sorry
for not checking myself.

All test run fine, anyway.
More data:

linux 2.4.19
ruby 1.8.3 (2005-05-12) [i686-linux]
gcc version 2.95.4 20011002 (Debian prerelease)
OpenSSL 0.9.6c 21 dec 2001

(old stuff, but I'm just a guest on this box so I don't know why)
 
Reply With Quote
 
 
 
 
GOTOU Yuuzou
Guest
Posts: n/a
 
      05-25-2005
In message <V6Oke.25440$(E-Mail Removed)>,
`gabriele renzi <(E-Mail Removed)>' wrote:
> Anyway, trying to build the preview release of ruby 1.8.3 on an old
> debian box, I get this two warnings for ext/openssl:

(snip)
> ossl_cipher.c: In function `ossl_cipher_pkcs5_keyivgen':
> ossl_cipher.c:208: warning: passing arg 2 of `EVP_BytesToKey' discards
> qualifiers from pointer target type


The main target of ext/openssl is OpenSSL-0.9.7.
Some warnings appear if 0.9.6 is used. But I think these
are not serious problem.

regards,

--
gotoyuzo


 
Reply With Quote
 
 
 
 
gabriele renzi
Guest
Posts: n/a
 
      05-25-2005
GOTOU Yuuzou ha scritto:

>
> The main target of ext/openssl is OpenSSL-0.9.7.
> Some warnings appear if 0.9.6 is used. But I think these
> are not serious problem.


ah, nice to hear, thank you.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WARNING! Prosoftstore.com is a SCAM! WARNING! pentologer@gmail.com ASP .Net Web Services 0 07-08-2007 10:03 AM
warning C4267 and warning C4996 B. Williams C++ 17 10-27-2006 09:41 PM
Untraceable warning: "Warning: Use of "require" without parenthesesis ambiguous at (eval 23) line 1." Julian Mehnle Perl Misc 17 05-18-2006 11:00 AM
Warning: WARNING Charles Computer Support 7 08-16-2005 09:07 PM
Re: A code fix for MSVC warning C4267 (64-bit compatibility warning,e.g. Boost Spirit) Pete Becker C++ 0 02-10-2005 01:13 PM



Advertisments