[ create a new paste ] login | about

Link: http://codepad.org/H8PybIbW    [ raw code | output | fork ]

C, pasted on Sep 1:
make  all-recursive
make[1]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist'
Making all in ext/yahttp
make[2]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp'
Making all in yahttp
make[3]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp/yahttp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp/yahttp'
make[3]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp'
make[2]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp'
make[2]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist'
  CXX      dnsdist-lua.o
dnsdist-lua.cc: In lambda function:
dnsdist-lua.cc:359:24: error: NoRecurseAction was not declared in this scope
       std::make_shared<NoRecurseAction>()  });
                        ^
dnsdist-lua.cc:359:41: error: no matching function for call to make_shared()
       std::make_shared<NoRecurseAction>()  });
                                         ^
dnsdist-lua.cc:359:41: note: candidate is:
In file included from /usr/include/c++/4.8/memory:82:0,
                 from ext/luawrapper/include/LuaContext.hpp:40,
                 from dnsdist.hh:2,
                 from dnsdist-lua.cc:1:
/usr/include/c++/4.8/bits/shared_ptr.h:610:5: note: template<class _Tp, class ... _Args> std::shared_ptr<_Tp1> std::make_shared(_Args&& ...)
     make_shared(_Args&&... __args)
     ^
/usr/include/c++/4.8/bits/shared_ptr.h:610:5: note:   template argument deduction/substitution failed:
dnsdist-lua.cc:359:41: error: template argument 1 is invalid
       std::make_shared<NoRecurseAction>()  });
                                         ^
dnsdist-lua.cc:359:45: error: no matching function for call to std::vector<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >::push_back(<brace-enclosed initializer list>)
       std::make_shared<NoRecurseAction>()  });
                                             ^
dnsdist-lua.cc:359:45: note: candidates are:
In file included from /usr/include/c++/4.8/vector:64:0,
                 from /usr/include/c++/4.8/bits/random.h:34,
                 from /usr/include/c++/4.8/random:50,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from ext/luawrapper/include/LuaContext.hpp:31,
                 from dnsdist.hh:2,
                 from dnsdist-lua.cc:1:
/usr/include/c++/4.8/bits/stl_vector.h:901:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >; _Alloc = std::allocator<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >]
       push_back(const value_type& __x)
       ^
/usr/include/c++/4.8/bits/stl_vector.h:901:7: note:   no known conversion for argument 1 from <brace-enclosed initializer list> to const value_type& {aka const std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >&}
/usr/include/c++/4.8/bits/stl_vector.h:919:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >; _Alloc = std::allocator<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >]
       push_back(value_type&& __x)
       ^
/usr/include/c++/4.8/bits/stl_vector.h:919:7: note:   no known conversion for argument 1 from <brace-enclosed initializer list> to std::vector<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >::value_type&& {aka std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >&&}
make[2]: *** [dnsdist-lua.o] Error 1
make[2]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist'
make: *** [all] Error 2


Output:
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'all'
Line 2: error: stray '`' in program
Line 2: error: missing terminating ' character
Line 4: error: stray '`' in program
Line 4: error: missing terminating ' character
Line 6: error: stray '`' in program
Line 6: error: missing terminating ' character
Line 7: error: stray '`' in program
Line 7: error: missing terminating ' character
Line 8: error: stray '`' in program
Line 8: error: missing terminating ' character
Line 9: error: stray '`' in program
Line 9: error: missing terminating ' character
Line 10: error: stray '`' in program
Line 10: error: missing terminating ' character
Line 11: error: stray '`' in program
Line 11: error: missing terminating ' character
Line 12: error: stray '`' in program
Line 12: error: missing terminating ' character
Line 13: error: stray '`' in program
Line 13: error: missing terminating ' character
Line 16: error: stray '\342' in program
Line 16: error: stray '\200' in program
Line 16: error: stray '\230' in program
Line 16: error: stray '\342' in program
Line 16: error: stray '\200' in program
Line 16: error: stray '\231' in program
Line 17: error: expected identifier or '(' before ')' token
Line 18: error: expected identifier or '(' before '^' token
Line 19: error: stray '\342' in program
Line 19: error: stray '\200' in program
Line 19: error: stray '\230' in program
Line 19: error: stray '\342' in program
Line 19: error: stray '\200' in program
Line 19: error: stray '\231' in program
Line 20: error: expected identifier or '(' before ')' token
Line 21: error: expected identifier or '(' before '^' token
Line 32: error: expected identifier or '(' before ')' token
Line 33: error: expected identifier or '(' before '^' token
Line 34: error: stray '\342' in program
Line 34: error: stray '\200' in program
Line 34: error: stray '\230' in program
Line 34: error: stray '\342' in program
Line 34: error: stray '\200' in program
Line 34: error: stray '\231' in program
Line 35: error: expected identifier or '(' before ')' token
Line 36: error: expected identifier or '(' before '^' token
Line 46: warning: data definition has no type or storage class
Line 46: error: 'std' undeclared here (not in a function)
Line 46: error: expected ',' or ';' before ':' token
Line 46: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
Line 49: error: stray '\342' in program
Line 49: error: stray '\200' in program
Line 49: error: stray '\230' in program
Line 49: error: stray '\342' in program
Line 49: error: stray '\200' in program
Line 49: error: stray '\231' in program
Line 49: error: stray '\342' in program
Line 49: error: stray '\200' in program
Line 49: error: stray '\230' in program
Line 49: error: stray '\342' in program
Line 49: error: stray '\200' in program
Line 49: error: stray '\231' in program
Line 50: error: expected identifier or '(' before '/' token
Line 50: warning: data definition has no type or storage class
Line 50: error: redefinition of '_Alloc'
Line 46: error: previous definition of '_Alloc' was here
Line 50: error: expected ',' or ';' before ':' token
Line 50: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
Line 53: error: stray '\342' in program
Line 53: error: stray '\200' in program
Line 53: error: stray '\230' in program
Line 53: error: stray '\342' in program
Line 53: error: stray '\200' in program
Line 53: error: stray '\231' in program
Line 53: error: stray '\342' in program
Line 53: error: stray '\200' in program
Line 53: error: stray '\230' in program
Line 53: error: stray '\342' in program
Line 53: error: stray '\200' in program
Line 53: error: stray '\231' in program
Line 54: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
Line 55: error: stray '`' in program
Line 55: error: missing terminating ' character
Line 57: error: stray '`' in program
Line 57: error: missing terminating ' character


Create a new paste based on this one


Comments: