Re: Development git: make failed in pop3.cc

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Hi Jean,

> ./configure --prefix=/package/mail/mailutils --enable-experimental

I'd suggest you not enabling experimental features.  They are, well ...
experimental, and as such not guaranteed to work :)

That being said, the following simple patch should help:

diff --git a/libmu_cpp/pop3.cc b/libmu_cpp/pop3.cc
index 25dee7c..49fe7dc 100644
--- a/libmu_cpp/pop3.cc
+++ b/libmu_cpp/pop3.cc
@@ -205,7 +205,7 @@ Pop3 :: rset ()
 }

 void
-Pop3 :: stat (unsigned int* count, mu_off_t* octets)
+Pop3 :: stat (size_t* count, mu_off_t* octets)
 {
   int status = mu_pop3_stat (pop3, count, octets);
   if (status)

Regards,
Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.