Tapani wrote:
> Hi all,
> 
> Perhaps foolhardily I'm trying to build AbiWord 0.9.6.1
> under HP-UX 11.11 using HP's ANSI C and C++ compilers.
> I can work my way through the rather nonportable
> configuration stuff

It works pretty well for several platforms...

> (I do use Gnu make though), and most
> of the stuff compiles cleanly enough, but now I'm stuck
> with abi/src/af/util/xp/ut_map.cpp or actually ut_rbtree.h:
> aCC complains that

That's a bug in your compiler.
The code looks like that

Class UT_RBTree
{
        struct Node;

public:
        class Iterator {
        ...
        };

        ...

        friend class Iterator;
};

UT_RBTree::Iterator is a friend of UT_RBTree, so it has access to nested
classes of UT_RBTree (and one of the is UT_RBTree::Node).

Cheers,

--
Joaqu�n Cuenca Abela
[EMAIL PROTECTED]




Reply via email to