On Sat 19 May 2007 at 11:53:44 -0500, Charles Kerr wrote: > This release uses significantly less memory on 64-bit machines, > loads and saves articles faster, and has the usual assortment > of tweaks, additions, and bug fixes.
It needs this patch to compile on NetBSD 3.0. Apparently UCHAR_MAX is unsigned int and g++ can't find any std::min(int, unsigned int). --- pan/data/parts.cc.dist 2007-05-13 08:40:47.000000000 +0200 +++ pan/data/parts.cc 2007-05-19 21:53:07.000000000 +0200 @@ -80,7 +80,7 @@ register const char *k, *m; const StringView& key (key_mid.to_view()); - const int bmax = std::min ((int)std::min (key.len, mid.len), UCHAR_MAX); + const int bmax = std::min ((int)std::min (key.len, mid.len), (int)UCHAR_MAX); k = &key.front(); m = &mid.front(); for (; b!=bmax; ++b) -Olaf. -- ___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it. \X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse. _______________________________________________ Pan-users mailing list Pan-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/pan-users