Hi all,
is it necessary Tcl/Tk 8.6 to compile the Scid version from the Git repository?
This is the error I'm getting when trying to compile on Linux Mint 9
(based on Ubuntu 10.04):
g++ -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include/tcl8.5 -o src/sortcache.o -c src/sortcache.cpp
In file included from /usr/include/c++/4.4/memory:83,
from /usr/include/c++/4.4/thread:40,
from src/sortcache.cpp:24:
/usr/include/c++/4.4/bits/shared_ptr.h: In member function ‘virtual
void* std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc,
_Lp>::_M_get_deleter(const std::type_info&)’:
/usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid
with -fno-rtti
/usr/include/c++/4.4/bits/shared_ptr.h: In member function ‘virtual
void* std::_Sp_counted_ptr_inplace<_Tp, _Alloc,
_Lp>::_M_get_deleter(const std::type_info&)’:
/usr/include/c++/4.4/bits/shared_ptr.h:204: error: cannot use typeid
with -fno-rtti
/usr/include/c++/4.4/bits/shared_ptr.h: In constructor
‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag,
_Alloc, _Args&& ...)’:
/usr/include/c++/4.4/bits/shared_ptr.h:861: error: cannot use typeid
with -fno-rtti
/usr/include/c++/4.4/bits/shared_ptr.h: In function ‘_Del*
std::get_deleter(const std::__shared_ptr<_Tp2, _Lp>&)’:
/usr/include/c++/4.4/bits/shared_ptr.h:1005: error: cannot use typeid
with -fno-rtti
src/sortcache.cpp: In static member function ‘static SortCache*
SortCache::CreateFromFile(Index*, NameBase*)’:
src/sortcache.cpp:855: warning: comparison between signed and unsigned
integer expressions
src/sortcache.cpp: In static member function ‘static bool
SortCache::CanLoad(char*, uint)’:
src/sortcache.cpp:923: warning: comparison between signed and unsigned
integer expressions
make: *** [src/sortcache.o] Error 1
TIA.
--
Gerardo.
http://www.NowInChess.com
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users