zf8848 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Problem with compiling -- sigslot #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. After patch libjingle according to this link: http://
code.google.com/p/libjingle/issues/detail?id=2 I try to compile. 

What is the expected output? What do you see instead?
../third-party/libjingle/talk/base/sigslot.h:647: error: no 
matching function for call to 
‘std::list<sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*, 
std::allocator<sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*> >::push_back(int*)’
/usr/include/c++/4.1.2/bits/stl_list.h:760: note: candidates are: 
void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = 
sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*, _Alloc = 
std::allocator<sigslot::_connection_base1<cricket::AsyncFile*, 
sigslot::single_threaded>*>]
../third-party/libjingle/talk/base/sigslot.h: In member function 
‘void sigslot::_signal_base1<arg1_type, 
mt_policy>::slot_duplicate(const sigslot::has_slots<mt_policy>*, 
sigslot::has_slots<mt_policy>*) [with arg1_type = 
cricket::AsyncSocket*, mt_policy = sigslot::single_threaded]’:
jinglevoicecaller.cpp:385:   instantiated from here
../third-party/libjingle/talk/base/sigslot.h:647: error: no 
matching function for call to 
‘std::list<sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*, 
std::allocator<sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*> >::push_back(int*)’
/usr/include/c++/4.1.2/bits/stl_list.h:760: note: candidates are: 
void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = 
sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*, _Alloc = 
std::allocator<sigslot::_connection_base1<cricket::AsyncSocket*, 
sigslot::single_threaded>*>]

What version of the product are you using? On what operating system?
libjingle 0.4, gcc 4.1, openSUSE 10.2 on KDE

Please provide any additional information below.

Original issue reported on code.google.com by elektrr...@gmail.com on 19 Jul 2007 at 10:19

GoogleCodeExporter commented 9 years ago
I checked out the source from google svn repo and modified it so that it can be 
built
with gcc 4.x and the latest oRTP library. here i attached the whole source tree 
for
your reference.

Original comment by hugh.jf....@gmail.com on 19 Jul 2007 at 4:21

Attachments:

GoogleCodeExporter commented 9 years ago
Can anybody tell me how to check the source back into the google repos? do I 
need to
apply some authorized account first? any instructions?

Original comment by hugh.jf....@gmail.com on 20 Jul 2007 at 6:48

GoogleCodeExporter commented 9 years ago
Closing out old issues.

Original comment by pthatc...@google.com on 3 Nov 2010 at 7:21