Created
May 28, 2012 18:36
-
-
Save Themaister/2820560 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -c -o tcpcommand.o tcpcommand.cpp -O0 -g -std=c++11 -Wall -pedantic | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h: In instantiation of '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator<std::shared_ptr<TCPSocket>*, std::vector<std::shared_ptr<TCPSocket> > >; _Predicate = TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>]': | |
tcpcommand.cpp:66:59: required from here | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:1176:9: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:1176:9: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:1176:9: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::shared_ptr<TCPSocket>*, std::vector<std::shared_ptr<TCPSocket> > >; _Predicate = TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>]': | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:4490:41: required from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator<std::shared_ptr<TCPSocket>*, std::vector<std::shared_ptr<TCPSocket> > >; _Predicate = TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>]' | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:1170:7: required from '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator<std::shared_ptr<TCPSocket>*, std::vector<std::shared_ptr<TCPSocket> > >; _Predicate = TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>]' | |
tcpcommand.cpp:66:59: required from here | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:210:4: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:210:4: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:210:4: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:214:4: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:214:4: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:214:4: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:218:4: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:218:4: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:218:4: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:222:4: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:222:4: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:222:4: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:230:4: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:230:4: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:230:4: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:234:4: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:234:4: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:234:4: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:238:4: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:238:4: note: bool (*)(const TCPSocket&) <conversion> | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:238:4: note: candidate expects 2 arguments, 2 provided | |
tcpcommand.cpp:66:34: note: TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)> | |
tcpcommand.cpp:66:34: note: no known conversion for argument 1 from 'std::shared_ptr<TCPSocket>' to 'const TCPSocket&' | |
make: *** [tcpcommand.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment