* John Kennis <[EMAIL PROTECTED]> [Oct 31. 2001 20:39]:
> Hello,
> 
> Go grab the new version of bbmail at http://bbtools.thelinuxcommunity.org/
> 
> Changes:
> - removed the none-blackbox specific configuration file.
> - added support for maildir mailboxes.
> - added close option in menu
> - added man-page

Compilation with gcc3+ fails, b/c of small syntactic changes. Here's a
trivial small patch that fixes:

diff -urN bbmail-0.8.0/Basemenu.hh bbmail-0.8.0.gcc3/Basemenu.hh
--- bbmail-0.8.0/Basemenu.hh    Sun Apr 22 12:19:24 2001
+++ bbmail-0.8.0.gcc3/Basemenu.hh       Mon Nov  5 09:22:57 2001
@@ -194,7 +194,7 @@
        char **u, *l, *e;
        int f;
 
-       friend Basemenu;
+       friend class Basemenu;
 
 
 protected:
diff -urN bbmail-0.8.0/LinkedList.hh bbmail-0.8.0.gcc3/LinkedList.hh
--- bbmail-0.8.0/LinkedList.hh  Sun Apr 22 12:19:24 2001
+++ bbmail-0.8.0.gcc3/LinkedList.hh     Mon Nov  5 09:22:25 2001
@@ -68,7 +68,7 @@
        __llist *list;
        __llist_node *node;
 
-       friend __llist;
+       friend class __llist;
 
 
 protected:
@@ -92,7 +92,7 @@
        __llist_node *_first, *_last;
        __llist *iterators;
 
-       friend __llist_iterator;
+       friend class __llist_iterator;
 
 
 protected:
diff -urN bbmail-0.8.0/Timer.hh bbmail-0.8.0.gcc3/Timer.hh
--- bbmail-0.8.0/Timer.hh       Sun Apr 22 12:19:24 2001
+++ bbmail-0.8.0.gcc3/Timer.hh  Mon Nov  5 09:22:44 2001
@@ -49,7 +49,7 @@
 
 class BTimer
 {
-       friend BaseDisplay;
+       friend class BaseDisplay;
 private:
        BaseDisplay *display;
        TimeoutHandler *handler;

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogic, with just a little bit more effort."
                                -- A. P. J.

Reply via email to