[Date Prev][Date Next]
Re: entropy.c (ITS#337)
Hopefully fixed in r1.12.
At 07:31 PM 10/27/99 GMT, firstname.lastname@example.org wrote:
>Full_Name: Booker C. Bense
>Version: Current Dev(cvs head)
>OS: Solaris 2.5.1
>Submission from: (NULL) (220.127.116.11)
>- It doesn't compile. Gives this warning
>gcc -g -O2 -I../../include -I../../include -c entropy.c -o
>entropy.c: In function `lutil_entropy':
>entropy.c:82: syntax error before `counter'
>entropy.c:114: warning: passing arg 1 of `gettimeofday' from incompatible
>entropy.c:114: warning: passing arg 2 of `gettimeofday' makes pointer from
>integer without a cast
>entropy.c:120: `counter' undeclared (first use in this function)
>entropy.c:120: (Each undeclared identifier is reported only once
>entropy.c:120: for each function it appears in.)
>make: *** [entropy.o] Error 1
>- changing the declaration of counter on line 82 from sig_atomic_t to int
>allows it to compile, but it still generates the gettimeofday warnings.
Kurt D. Zeilenga <email@example.com>
Net Boolean Incorporated <http://www.boolean.net/>