Hi all,
I'm trying to get the Limp (Large Image Manipulation Program) library to
compile using gcc 3.2, and I've encountered some problems. One is that
the library systematically refers to friend classes as "friend ClassName",
which is easy to remedy by replacing "friend" with "friend class". But
this poses another problem: in the file metadata.h I encounter the
following code:
....
typedef AutoPtr<MetaDat a> MetaDataPtr;
....
class MetaData
{
...
friend class MetaDataPtr;
};
resulting in the error message:
metadata.h:151: using typedef-name `MetaDataPtr' after `class'
My question is obviously how to solve this problem, and whether this
"friend" vs. "friend class" is a result of the switch from gcc 2.95
(under which the author claims the library works) to gcc 3.2
--
Alexander Borghgraef
Vakgroep Telecommunicati e en Informatieverwe rking Tel: +32-(0)9-264 34 16
Universiteit Gent Fax: +32-(0)9-264 42 95
St-Pietersnieuwstr aat 41, B-9000 Gent, Belgium email: ab@telin.UGent. be