Ubuntu Pastebin

Paste from sil at Mon, 30 Mar 2015 14:35:10 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
$ go get launchpad.net/go-unityscopes/v2
# launchpad.net/go-unityscopes/v2
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘void new_department(void*, _CannedQuery*, void*, uintptr_t*, char**)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:26:17: error: ‘create’ is not a member of ‘unity::scopes::Department’
             d = Department::create(from_gostring(dept_id),
                 ^
src/launchpad.net/go-unityscopes/v2/department.cpp:30:17: error: ‘create’ is not a member of ‘unity::scopes::Department’
             d = Department::create(*reinterpret_cast<CannedQuery*>(query),
                 ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘void department_add_subdepartment(uintptr_t*, uintptr_t*)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:44:32: error: ‘class unity::scopes::Department’ has no member named ‘add_subdepartment’
     get_ptr<Department>(dept)->add_subdepartment(get_ptr<Department>(child));
                                ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘void department_set_alternate_label(uintptr_t*, void*)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:48:32: error: ‘class unity::scopes::Department’ has no member named ‘set_alternate_label’
     get_ptr<Department>(dept)->set_alternate_label(from_gostring(label));
                                ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘char* department_get_alternate_label(uintptr_t*)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:52:46: error: ‘class unity::scopes::Department’ has no member named ‘alternate_label’
     return strdup(get_ptr<Department>(dept)->alternate_label().c_str());
                                              ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘void department_set_has_subdepartments(uintptr_t*, int)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:64:32: error: ‘class unity::scopes::Department’ has no member named ‘set_has_subdepartments’
     get_ptr<Department>(dept)->set_has_subdepartments(subdepartments);
                                ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘int department_has_subdepartments(uintptr_t*)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:68:56: error: ‘class unity::scopes::Department’ has no member named ‘has_subdepartments’
     return static_cast<int>(get_ptr<Department>(dept)->has_subdepartments());
                                                        ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘uintptr_t (* department_get_subdepartments(uintptr_t*, int*))[2]’:
src/launchpad.net/go-unityscopes/v2/department.cpp:78:55: error: no matching function for call to ‘init_ptr(SharedPtrData, unity::scopes::Department&)’
         init_ptr<Department const>(ret_data[i++], item);
                                                       ^
src/launchpad.net/go-unityscopes/v2/department.cpp:78:55: note: candidate is:
In file included from src/launchpad.net/go-unityscopes/v2/department.cpp:11:0:
src/launchpad.net/go-unityscopes/v2/smartptr_helper.h:19:34: note: template<class T> void gounityscopes::internal::init_ptr(uintptr_t*, std::shared_ptr<_Tp1>)
 template<typename T> inline void init_ptr(SharedPtrData data, std::shared_ptr<T> v) {
                                  ^
src/launchpad.net/go-unityscopes/v2/smartptr_helper.h:19:34: note:   template argument deduction/substitution failed:
src/launchpad.net/go-unityscopes/v2/department.cpp:78:55: note:   cannot convert ‘item’ (type ‘unity::scopes::Department’) to type ‘std::shared_ptr<const unity::scopes::Department>’
         init_ptr<Department const>(ret_data[i++], item);
                                                       ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘void department_set_subdepartments(uintptr_t*, uintptr_t (**)[2], int)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:86:68: error: no matching function for call to ‘std::list<unity::scopes::Department>::push_back(std::shared_ptr<unity::scopes::Department>)’
         api_depts.push_back(get_ptr<Department>(*subdepartments[i]));
                                                                    ^
src/launchpad.net/go-unityscopes/v2/department.cpp:86:68: note: candidates are:
In file included from /usr/include/c++/4.8/list:63:0,
                 from /usr/include/unity-scopes-0/unity/scopes/Department.h:24,
                 from src/launchpad.net/go-unityscopes/v2/department.cpp:4:
/usr/include/c++/4.8/bits/stl_list.h:1015:7: note: void std::list<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = unity::scopes::Department; _Alloc = std::allocator<unity::scopes::Department>; std::list<_Tp, _Alloc>::value_type = unity::scopes::Department]
       push_back(const value_type& __x)
       ^
/usr/include/c++/4.8/bits/stl_list.h:1015:7: note:   no known conversion for argument 1 from ‘std::shared_ptr<unity::scopes::Department>’ to ‘const value_type& {aka const unity::scopes::Department&}’
/usr/include/c++/4.8/bits/stl_list.h:1020:7: note: void std::list<_Tp, _Alloc>::push_back(std::list<_Tp, _Alloc>::value_type&&) [with _Tp = unity::scopes::Department; _Alloc = std::allocator<unity::scopes::Department>; std::list<_Tp, _Alloc>::value_type = unity::scopes::Department]
       push_back(value_type&& __x)
       ^
/usr/include/c++/4.8/bits/stl_list.h:1020:7: note:   no known conversion for argument 1 from ‘std::shared_ptr<unity::scopes::Department>’ to ‘std::list<unity::scopes::Department>::value_type&& {aka unity::scopes::Department&&}’
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘char* department_get_alternate_label(uintptr_t*)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
src/launchpad.net/go-unityscopes/v2/department.cpp: In function ‘int department_has_subdepartments(uintptr_t*)’:
src/launchpad.net/go-unityscopes/v2/department.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Download as text