Hi,

    I've seen on this list that some people had problem compiling 
bbappconf with gcc 3.2... I'm using gento 1.4, so i've got the same problem.

    I don't know where is the best place to send this, but I've made a 
very little patch to fix this compiling issue.  So I think that sending 
it to this mailing list is probably the best I can do...

    Also, is there someone that maintain bbappconf? I've mailed the 
author (John Kennis according top the AUTHOR file) but got no response...

so here is the patch (also in attachment)!

                    Laurent Parenteau

/--------

diff -urN bbappconf-0.0.1-peak3/LinkedList.hh 
bbappconf-0.0.1-peak3-gcc-3.2/LinkedList.hh
--- bbappconf-0.0.1-peak3/LinkedList.hh 2000-10-11 13:58:32.000000000 -0400
+++ bbappconf-0.0.1-peak3-gcc-3.2/LinkedList.hh 2002-10-08 22:50:21.000000000 -0400
@@ -50,7 +50,7 @@
   __llist *list;
   __llist_node *node;
 
-  friend __llist;
+  friend struct __llist;
 
 
 protected:
@@ -73,7 +73,7 @@
   __llist_node *_first, *_last;
   __llist *iterators;
 
-  friend __llist_iterator;
+  friend class __llist_iterator;
 
 
 protected:
diff -urN bbappconf-0.0.1-peak3/Timer.hh bbappconf-0.0.1-peak3-gcc-3.2/Timer.hh
--- bbappconf-0.0.1-peak3/Timer.hh      1999-11-13 17:49:45.000000000 -0500
+++ bbappconf-0.0.1-peak3-gcc-3.2/Timer.hh      2002-10-08 22:50:28.000000000 -0400
@@ -47,7 +47,7 @@
 
 
 class BTimer {
-  friend BaseDisplay;
+  friend class BaseDisplay;
 private:
   BaseDisplay *display;
   TimeoutHandler *handler;

---------/
diff -urN bbappconf-0.0.1-peak3/LinkedList.hh 
bbappconf-0.0.1-peak3-gcc-3.2/LinkedList.hh
--- bbappconf-0.0.1-peak3/LinkedList.hh 2000-10-11 13:58:32.000000000 -0400
+++ bbappconf-0.0.1-peak3-gcc-3.2/LinkedList.hh 2002-10-08 22:50:21.000000000 -0400
@@ -50,7 +50,7 @@
   __llist *list;
   __llist_node *node;
 
-  friend __llist;
+  friend struct __llist;
 
 
 protected:
@@ -73,7 +73,7 @@
   __llist_node *_first, *_last;
   __llist *iterators;
 
-  friend __llist_iterator;
+  friend class __llist_iterator;
 
 
 protected:
diff -urN bbappconf-0.0.1-peak3/Timer.hh bbappconf-0.0.1-peak3-gcc-3.2/Timer.hh
--- bbappconf-0.0.1-peak3/Timer.hh      1999-11-13 17:49:45.000000000 -0500
+++ bbappconf-0.0.1-peak3-gcc-3.2/Timer.hh      2002-10-08 22:50:28.000000000 -0400
@@ -47,7 +47,7 @@
 
 
 class BTimer {
-  friend BaseDisplay;
+  friend class BaseDisplay;
 private:
   BaseDisplay *display;
   TimeoutHandler *handler;

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to