bug-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-GIFT] error while compiling gift under gentoo


From: 00030
Subject: [bug-GIFT] error while compiling gift under gentoo
Date: Thu, 23 Feb 2006 16:58:11 +0100

I always get the following error when i tried to compile gift under x86 gentoo 
with gcc-3.4.4:

In file included from ../../libGIFTAcPerl/include/CAFPerl.h:31,
                 from CAccessorFactoryContainer.cc:36:
../../libGIFTAcPerl/include/CAcPerl.h:125: error: invalid covariant return type 
for `virtual std::pair<bool, long int> CAcPerl::URLToID(const std::string&) 
const'
../../libMRML/include/CAccessor.h:90: error:   overriding `virtual 
std::pair<bool, TID> CAccessor::URLToID(const std::string&) const'
make[3]: *** [CAccessorFactoryContainer.lo] Error 1
make[3]: Leaving directory `/root/gift-0.1.14/libMRML/cc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/gift-0.1.14/libMRML'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gift-0.1.14'


I found out that the error comes from a missing long in the file 
~/gift-0.1.14/libMRML/include/TID.h

with this change the program compiles without any errors:

~/gift-0.1.14/libMRML/include/TID.h:

#ifndef _TID
#define _TID
typedef long int TID;
extern TID gID;
#endif

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193





reply via email to

[Prev in Thread] Current Thread [Next in Thread]