<<< Date Index >>>     <<< Thread Index >>>

[1.5.7 and Cygwin] Does not compile with "--enable-hcache"



Hi folks,

It was cool to see a new version of mutt.  Keep up the good work!

This is just a quick report that mutt 1.5.7 builds successfully under
Cygwin, although this warning pops up for almost all the files:

    protos.h:110: warning: ISO C90 does not support `long long'

1.5.7 will *NOT* build successfully in Cygwin if the "--enable-hcache"
option is selected.  The last few lines of the build log follows this
email.

                                                  rudy


----- Error log -----
if gcc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\" 
-DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\" 
-DHAVE_CONFIG_H=1 -I.  -I. -I. -I. -I. -I./imap -Iintl  -I/usr/include/ncurses 
-I./intl -I/usr/local/include  -Wall -pedantic -g -O2 -MT hcache.o -MD -MP -MF 
".deps/hcache.Tpo" -c -o hcache.o hcache.c; \
then mv -f ".deps/hcache.Tpo" ".deps/hcache.Po"; else rm -f ".deps/hcache.Tpo"; 
exit 1; fi
In file included from mutt.h:886,
                 from hcache.c:33:
protos.h:110: warning: ISO C90 does not support `long long'
hcache.c:64: error: field `timeval' has incomplete type
hcache.c:65: warning: ISO C90 does not support `long long'
hcache.c:536: warning: ISO C90 does not support `long long'
hcache.c: In function `mutt_hcache_dump':
hcache.c:545: warning: ISO C90 does not support `long long'
hcache.c:547: error: storage size of `now' isn't known
hcache.c:548: warning: implicit declaration of function `gettimeofday'
hcache.c:549: error: invalid application of `sizeof' to an incomplete type
hcache.c:547: warning: unused variable `now'
hcache.c: At top level:
hcache.c:678: warning: ISO C90 does not support `long long'
make[2]: *** [hcache.o] Error 1
make[2]: Leaving directory `/cygdrive/c/rudy/src/mutt-1.5.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/rudy/src/mutt-1.5.7'
make: *** [all] Error 2