Skip to content

Instantly share code, notes, and snippets.

@Aschen
Created May 30, 2018 15:04
Show Gist options
  • Save Aschen/4cce4f27d034ee882440ae5d0346c59a to your computer and use it in GitHub Desktop.
Save Aschen/4cce4f27d034ee882440ae5d0346c59a to your computer and use it in GitHub Desktop.
Compile output
```
mkdir -p /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c
cd ../../ && go get ./... ; cd -
/home/aschen/projets/kuzzleio/sdk-go/internal/wrappers
/usr/local/go/bin/go build -o /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c/libkuzzlesdk.a -buildmode=c-archive ./cgo/kuzzle/
/usr/local/go/bin/go build -o /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c/libkuzzlesdk.so -buildmode=c-archive ./cgo/kuzzle/
mv -f /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c/libkuzzlesdk.h /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c/kuzzle.h
mkdir -p /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python
swig -Wall -c++ -python -py3 -outdir /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python -o kcore_wrap.cxx -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/templates -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -I/usr/include/python3.5 -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/templates/python templates/python/core.i
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:59: Warning 314: 'from' is a python keyword, renaming to '_from'
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:116: Warning 314: 'from' is a python keyword, renaming to '_from'
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:173: Warning 314: 'from' is a python keyword, renaming to '_from'
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/collection.hpp:35: Warning 321: 'list' conflicts with a built-in name in python
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/collection.hpp:35: Warning 321: 'list' conflicts with a built-in name in python
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/index.hpp:40: Warning 321: 'list' conflicts with a built-in name in python
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/index.hpp:40: Warning 321: 'list' conflicts with a built-in name in python
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/realtime.hpp:21: Warning 321: 'list' conflicts with a built-in name in python
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:52: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:53: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:54: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:55: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:56: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:57: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:58: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:61: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:62: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:63: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:65: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:66: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:67: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:68: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:73: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:74: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:75: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:81: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:82: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:87: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:90: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:91: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:93: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:94: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:95: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzlesdk.h:97: Warning 451: Setting a const char * variable may leak memory.
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c/kuzzle.h:13: Warning 451: Setting a const char * variable may leak memory.
g++ -c kcore_wrap.cxx -o /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.o -g -fPIC -std=c++11 -L/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -lkuzzlesdk -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/templates -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -I/usr/include/python3.5 -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/templates/python
g++ -shared /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.o -o /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/libkuzzle-wrapper-python.so -L/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -lkuzzlesdk -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/templates -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -I/usr/include/python3.5 -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/templates/python
#strip /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/libkuzzle-wrapper-python.so
cp -p /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c/libkuzzlesdk.a /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python
cp -p /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c/libkuzzlesdk.so /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python
#rm -f /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.o
#rm -f kcore_wrap.cxx
mkdir -p /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python
cp /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/templates/python/*.py /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python
cp /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/kcore_wrap.cxx /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/
cp /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/kcore_wrap.h /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/
python3 /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/setup.py build_ext -I /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers:/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp:/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python:/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c:/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/templates/python -L /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python:/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -R /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -l kuzzlesdk -b /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python -t /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/tmp
running build_ext
building '_kcore' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/c -I/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/templates/python -I/usr/include/python3.5m -c /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx -o /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/tmp/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzle.hpp:18:0,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/kuzzle.cpp:17,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx:3695:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/exceptions.hpp: In copy constructor ‘kuzzleio::KuzzleException::KuzzleException(const kuzzleio::KuzzleException&)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/exceptions.hpp:49:9: warning: ‘kuzzleio::KuzzleException::status’ will be initialized after [-Wreorder]
int status;
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/exceptions.hpp:52:103: warning: base ‘std::runtime_error’ [-Wreorder]
KuzzleException(const KuzzleException& ke) : status(ke.status), std::runtime_error(ke.getMessage()) {};
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/exceptions.hpp:52:5: warning: when initialized here [-Wreorder]
KuzzleException(const KuzzleException& ke) : status(ke.status), std::runtime_error(ke.getMessage()) {};
^
In file included from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/core.hpp:22:0,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzle.hpp:19,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/kuzzle.cpp:17,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx:3695:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cgo/kuzzle/destructors.go: In function ‘void free_char_array(char**, size_t)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cgo/kuzzle/destructors.go:25:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < length; i++) {
^
In file included from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx:3695:0:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/kuzzle.cpp: In member function ‘virtual kuzzleio::KuzzleEventEmitter* kuzzleio::Kuzzle::once(Event, kuzzleio::EventListener*)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/kuzzle.cpp:147:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
In file included from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx:3698:0:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > kuzzleio::Index::mDelete(const std::vector<std::__cxx11::basic_string<char> >&, query_options*)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp:53:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
for (auto const& index : indexes) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp:53:26: error: ISO C++ forbids declaration of ‘index’ with no type [-fpermissive]
for (auto const& index : indexes) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp:53:34: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
for (auto const& index : indexes) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp:54:53: error: request for member ‘c_str’ in ‘index’, which is of non-class type ‘const int’
indexesArray[i] = const_cast<char*>(index.c_str());
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp:64:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < r->result_length; i++)
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > kuzzleio::Index::list(query_options*)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/index.cpp:116:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < r->result_length; i++)
^
In file included from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx:3700:0:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > kuzzleio::Document::deleteByQuery(const string&, const string&, const string&, query_options*)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:90:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < r->result_length; i++)
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > kuzzleio::Document::mDelete(const string&, const string&, const std::vector<std::__cxx11::basic_string<char> >&, query_options*)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:170:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
for (auto const& id : ids) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:170:26: error: ISO C++ forbids declaration of ‘id’ with no type [-fpermissive]
for (auto const& id : ids) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:170:31: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
for (auto const& id : ids) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:171:46: error: request for member ‘c_str’ in ‘id’, which is of non-class type ‘const int’
idsArray[i] = const_cast<char*>(id.c_str());
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:181:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < r->result_length; i++)
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp: In member function ‘std::__cxx11::string kuzzleio::Document::mGet(const string&, const string&, const std::vector<std::__cxx11::basic_string<char> >&, bool, query_options*)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:191:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
for (auto const& id : ids) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:191:26: error: ISO C++ forbids declaration of ‘id’ with no type [-fpermissive]
for (auto const& id : ids) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:191:31: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
for (auto const& id : ids) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/document.cpp:192:46: error: request for member ‘c_str’ in ‘id’, which is of non-class type ‘const int’
idsArray[i] = const_cast<char*>(id.c_str());
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx: In function ‘PyObject* _wrap_delete_KuzzleEventEmitter(PyObject*, PyObject*)’:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx:40902:10: warning: deleting object of abstract class type ‘kuzzleio::KuzzleEventEmitter’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
delete arg1;
^
In file included from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cgo/kuzzle/auth.go:23:0,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/core.hpp:22,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/kuzzle.hpp:19,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/cpp/kuzzle.cpp:17,
from /home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/build/python/kcore_wrap.cxx:3695:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/sdk_wrappers_internal.h: At global scope:
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/sdk_wrappers_internal.h:26:13: warning: ‘void set_errno(int)’ defined but not used [-Wunused-function]
static void set_errno(int err) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/sdk_wrappers_internal.h:30:13: warning: ‘void kuzzle_notify(kuzzle_notification_listener, notification_result*, void*)’ defined but not used [-Wunused-function]
static void kuzzle_notify(kuzzle_notification_listener f, notification_result* res, void* data) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/sdk_wrappers_internal.h:34:13: warning: ‘void kuzzle_trigger_event(int, kuzzle_event_listener, char*, void*)’ defined but not used [-Wunused-function]
static void kuzzle_trigger_event(int event, kuzzle_event_listener f, char* res, void* data) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/sdk_wrappers_internal.h:38:13: warning: ‘void room_on_subscribe(kuzzle_subscribe_listener, room_result*, void*)’ defined but not used [-Wunused-function]
static void room_on_subscribe(kuzzle_subscribe_listener f, room_result* res, void* data) {
^
/home/aschen/go/src/github.com/kuzzleio/sdk-go/internal/wrappers/headers/sdk_wrappers_internal.h:42:13: warning: ‘bool kuzzle_filter_query(kuzzle_queue_filter, const char*)’ defined but not used [-Wunused-function]
static bool kuzzle_filter_query(kuzzle_queue_filter f, const char *rq) {
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Makefile:109: recipe for target 'python' failed
make: *** [python] Error 1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment