Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 02 Jun 2011 16:54:12 +0200
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: Compiler warnings

On 2011-06-02 14:00, Solar Designer wrote:
>> DES_bs_b.c: In function ???DES_bs_crypt???:
>> DES_bs_b.c:767:2: warning: ???zero??? is used uninitialized in this function
>> DES_bs_b.c: In function ???DES_bs_crypt_25???:
>> DES_bs_b.c:863:2: warning: ???zero??? is used uninitialized in this function
>> DES_bs_b.c: In function ???DES_bs_crypt_LM???:
>> DES_bs_b.c:973:2: warning: ???zero??? is used uninitialized in this function
>
> I am not aware of a way to get rid of these without making the code
> slightly worse.  Are you?

I did try some "pragma disable warning" variant some time ago but gcc 
did not understand it. Not sure if there is some other syntax that will 
work, or if gcc just plain doesn't support it - I haven't had the time 
to investigate more. It's not very important, just nice to get rid of 
them when in fact nothing is wrong.

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.