[Evolution-hackers] Evolution 2.0.4 and GCC-4.0



I've been building my Gentoo packages with GCC 4.0 lately and caught
this today.  GCC 4.0 no longer allows using pointer casts on the left of
an assignment.  So you can't do this anymore:
	mbi = (CamelMboxMessageInfo *)mi = info;

I changed that to take the cast out which left me with a warning
message.  Probably a better fix would be to split it into two
assignments with the cast on the right-hand side.

I found these in
	camel/providers/local/camel-mbox-summary.c:258
	camel/providers/local/camel-maildir-summary.c:282

And since I'm compiling in a 64-bit environment, I discovered a few
warning messages about printing size_t values with a %d format.  But
these all seemed to be debug prints so I figured it didn't matter.
-- 
Zan Lynx <zlynx acm org>

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]