Revision: 40732
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40732&view=rev
Author:   d_rossberg
Date:     2010-09-28 12:34:44 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
work-around a bug in Mac OS X's gcc
one day I'll remove it and see what happens }:-)

Modified Paths:
--------------
    rt^3/trunk/include/brlcad/Combination.h

Modified: rt^3/trunk/include/brlcad/Combination.h
===================================================================
--- rt^3/trunk/include/brlcad/Combination.h     2010-09-28 12:19:53 UTC (rev 
40731)
+++ rt^3/trunk/include/brlcad/Combination.h     2010-09-28 12:34:44 UTC (rev 
40732)
@@ -45,6 +45,8 @@
         virtual ~Combination(void) throw();
 
         const Combination&    operator=(const Combination& original) 
throw(bad_alloc);
+        
+        class TreeNode; // part 1/2 of a work-around a bug in 
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
 
         class BRLCAD_COREINTERFACE_EXPORT ConstTreeNode {
         public:
@@ -79,6 +81,7 @@
             ConstTreeNode(void) throw() : m_tree(0) {}
             ConstTreeNode(tree* original) throw() : m_tree(original) {}
 
+            friend class TreeNode; // part 2/2 of a work-around a bug in 
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
             friend class Combination;
         };
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to