mutt-kz icon indicating copy to clipboard operation
mutt-kz copied to clipboard

Warnings when building

Open Wuodan opened this issue 12 years ago • 1 comments

I'm trying to package mutt-kz for Gentoo and stumbled across 2 warnings, to one I found a fix/workaround.

Warning A: mh.c

mh.c:1415:2: warning: implicit declaration of function ‘nm_update_filename’

Fix: #include "mutt_notmuch.h" in mh.c

Warning B. hcache.c

hcache.c:1153:5: warning: dereferencing type-punned pointer will break strict-aliasing rules

line 1153 is: hcachever = *((unsigned int *)digest);

conversion from unsigned char[16] to unsigned int. Just thought I'd let you know about this.

Wuodan avatar Jul 29 '12 16:07 Wuodan

Note: Warning A has since been fixed, in 60fccc11.

tsto avatar May 26 '13 09:05 tsto