[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-GIFT] Compile failure with gcc-4.1.2
From: |
Wulf C. Krueger |
Subject: |
[help-GIFT] Compile failure with gcc-4.1.2 |
Date: |
Sun, 20 May 2007 03:09:10 +0200 |
User-agent: |
KMail/1.9.5 |
Hello!
gift-0.1.15b as well as the latest CVS fail to compile with gcc 4.1.2:
g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include
-I../../libGIFTAcPerl/include -I../.. -g -O2 -DEF_PROTECT_BELOW=1
-DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -D
IGNORE_UNKNOWN_URLS -D__GIFT_WITH_PERL__ -DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
-DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -MT
CAFPerl.lo -MD -MP -MF .deps/CAFPerl.Tpo -c
CAFPerl.cc -fPIC -DPIC -o .libs/CAFPerl.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is
valid for C/ObjC but not for C++
CAFPerl.cc: In member function 'virtual CAccessor*
CAFPerl::makeAccessor(const CXMLElement&) const':
CAFPerl.cc:8: error: cannot allocate an object of abstract type 'CAcPerl'
../../libGIFTAcPerl/include/CAcPerl.h:72: note: because the following
virtual functions are pure within 'CAcPerl':
../../libMRML/include/CAccessor.h:109: note: virtual void
CAccessor::getRandomIDs(std::list<int, std::allocator<int> >&, size_t)
const
../../libMRML/include/CAccessor.h:119: note: virtual void
CAccessor::getRandomAccessorElements(std::list<CAccessorElement,
std::allocator<CAccessorElement> >&, size_t) const
make[3]: *** [CAFPerl.lo] Error 1
make[3]: Leaving directory `/root/gift/libGIFTAcPerl/cc'
Any idea to resolve this would be greatly appreciated.
Best regards, Wulf
pgpBL6n5CnhTw.pgp
Description: PGP signature
- [help-GIFT] Compile failure with gcc-4.1.2,
Wulf C. Krueger <=
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Gabor ROCZEI, 2007/05/20
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Wulf C. Krueger, 2007/05/20
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Gabor ROCZEI, 2007/05/20
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Wulf C. Krueger, 2007/05/20
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Wolfgang Mueller, 2007/05/20
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Wolfgang Mueller, 2007/05/20
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Wulf C. Krueger, 2007/05/20
- Re: [help-GIFT] Compile failure with gcc-4.1.2, Wolfgang Müller, 2007/05/21