Warning in ruby-1.8.3-preview1

Discussion in 'Ruby' started by gabriele renzi, May 24, 2005.

  1. 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)
     
    gabriele renzi, May 24, 2005
    #1
    1. Advertising

  2. gabriele renzi

    GOTOU Yuuzou Guest

    In message <V6Oke.25440$>,
    `gabriele renzi <>' 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
     
    GOTOU Yuuzou, May 25, 2005
    #2
    1. Advertising

  3. 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.
     
    gabriele renzi, May 25, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Yukihiro Matsumoto

    ruby 1.8.1 preview1

    Yukihiro Matsumoto, Oct 30, 2003, in forum: Ruby
    Replies:
    5
    Views:
    103
  2. Gully Foyle
    Replies:
    0
    Views:
    119
    Gully Foyle
    Jul 19, 2004
  3. Curt Hibbs
    Replies:
    54
    Views:
    552
    Curt Hibbs
    Aug 5, 2004
  4. Thursday

    Ruby 1.8.3 preview1

    Thursday, Apr 17, 2005, in forum: Ruby
    Replies:
    4
    Views:
    106
    gabriele renzi
    Apr 18, 2005
  5. Yugui (Yuki Sonoda)
    Replies:
    8
    Views:
    148
    Roger Pack
    Aug 3, 2009
Loading...

Share This Page