On 10-11-2020 22:10, Paul Keusemann wrote:
Hello,
I just downloaded mutt-2.0.0 and attempted to build it on Solaris 10
(SPARC and i86) and ran into the following problem:
mutt_random.c:32: error: syntax error before 'z'
mutt_random.c:32: warning: type defaults to 'int' in declaration of 'z'
mutt_random.c:32: warning: data definition has no type or storage class
mutt_random.c: In function 'mutt_reseed':
mutt_random.c:99: error: 'u_int32_t' undeclared (first use in this function)
mutt_random.c:99: error: (Each undeclared identifier is reported only once
mutt_random.c:99: error: for each function it appears in.)
mutt_random.c:99: error: syntax error before 'tv'
I was able to work around the problem by making the changes in the
attached diff to mutt_random.c, replacing references to u_int32_t with
uint32_t.
Hi Paul,
Thank you for the report. This is indeed an issue in 2.0.0 (mea culpa)
and will be fixed in 2.0.1. Your work around is the appropriate fix,
https://gitlab.com/muttmua/mutt/-/commit/86d64caa3ad68e0588645e870287a8dd5cfd29c4
.
Apologies for any inconvenience caused!
Kind regards,