Menu

#1 do not compile with g++-3.2.1

open
nobody
None
5
2013-01-04
2002-12-20
Anonymous
No

/home/ica2ufti/primal-0.3.1
$make
g++ -c -pipe -Wall -W -g -DPLUGIN_BUILT_IN -fno-rtti
-Iutil -Ikernel -Igui -Imesh -Icamera -Igui/moonstone
-I/usr/include/sigc++-1.0 -I/usr/qt/3/include -o
obj/ckernel.o kernel/ckernel.cpp
In file included from
/usr/include/g++-v32/backward/vector.h:59,
from kernel/plugin.h:27,
from kernel/ckernel.h:30,
from kernel/ckernel.cpp:36:
/usr/include/g++-v32/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from kernel/ckernel.h:30,
from kernel/ckernel.cpp:36:
kernel/plugin.h: In member function `const char*
PluginReturn::string() const':
kernel/plugin.h:74: cannot convert
`__gnu_cxx::__normal_iterator<const char*,
std::vector<char, std::allocator<char> > >' to
`const char*' in return
In file included from kernel/ckernel.h:31,
from kernel/ckernel.cpp:36:
util/rvalue.h: In constructor `RBinary::RBinary(void*,
int)':
util/rvalue.h:212: no matching function for call to
`memcpy(
__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> >
>, void*&, size_t)'
/usr/include/string.h:39: candidates are: void*
memcpy(void*, const void*,
unsigned int)
<internal>:212: void*
std::memcpy(void*, const <anonymous>*,
unsigned int)
In file included from kernel/ckernel.h:35,
from kernel/ckernel.cpp:36:
kernel/cimage.h: In member function `CImage* const*
ImagePool::begin() const':
kernel/cimage.h:85: cannot convert
`__gnu_cxx::__normal_iterator<CImage*
const*, std::vector<CImage*, std::allocator<CImage*>
> >' to `CImage* const*
' in return
kernel/cimage.h: In member function `CImage* const*
ImagePool::end() const':
kernel/cimage.h:86: cannot convert
`__gnu_cxx::__normal_iterator<CImage*
const*, std::vector<CImage*, std::allocator<CImage*>
> >' to `CImage* const*
' in return
make: *** [obj/ckernel.o] Error 1

Discussion

MongoDB Logo MongoDB