Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ make
- Making all in src
- g++ -DPACKAGE_NAME=\"btfs\" -DPACKAGE_TARNAME=\"btfs\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"btfs\ 2.3\" -DPACKAGE_BUGREPORT=\"johan.gunnarsson@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"btfs\" -DVERSION=\"2.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_REALPATH=1 -DHAVE_STRDUP=1 -I. -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -I/usr/local/include/osxfuse/fuse -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.0.6/include -I/usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent -g -O2 -MT btfs-btfs.o -MD -MP -MF .deps/btfs-btfs.Tpo -c -o btfs-btfs.o `test -f 'btfs.cc' || echo './'`btfs.cc
- In file included from btfs.cc:31:
- In file included from /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/session.hpp:57:
- /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/alert.hpp:288:58: warning:
- expression with side effects will be evaluated despite being used as an
- operand to 'typeid' [-Wpotentially-evaluated-expression]
- ...detail::handle_alert_dispatch(alert_, handler, typeid(*alert_)
- ^
- btfs.cc:60:16: error: redefinition of 'signal' as different kind of symbol
- pthread_cond_t signal = PTHREAD_COND_INITIALIZER;
- ^
- /usr/include/sys/signal.h:390:8: note: previous definition is here
- void (*signal(int, void (*)(int)))(int);
- ^
- btfs.cc:66:24: warning: 'get_torrent_info' is deprecated
- [-Wdeprecated-declarations]
- for (; piece < handle.get_torrent_info().num_pieces(); piece++) {
- ^
- /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
- 'get_torrent_info' has been explicitly marked deprecated here
- const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
- ^
- btfs.cc:83:18: warning: 'get_torrent_info' is deprecated
- [-Wdeprecated-declarations]
- int pl = handle.get_torrent_info().piece_length();
- ^
- /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
- 'get_torrent_info' has been explicitly marked deprecated here
- const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
- ^
- btfs.cc:100:45: warning: 'get_torrent_info' is deprecated
- [-Wdeprecated-declarations]
- libtorrent::torrent_info metadata = handle.get_torrent_info();
- ^
- /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
- 'get_torrent_info' has been explicitly marked deprecated here
- const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
- ^
- btfs.cc:166:3: error: no matching function for call to 'pthread_cond_wait'
- pthread_cond_wait(&signal, &lock);
- ^~~~~~~~~~~~~~~~~
- /usr/include/pthread.h:295:5: note: candidate function not viable: no known
- conversion from 'void (*(*)(int, void (*)(int)))(int)' to
- 'pthread_cond_t *' (aka '_opaque_pthread_cond_t *') for 1st argument
- int pthread_cond_wait(pthread_cond_t * __restrict,
- ^
- btfs.cc:175:39: warning: 'get_torrent_info' is deprecated
- [-Wdeprecated-declarations]
- libtorrent::torrent_info ti = handle.get_torrent_info();
- ^
- /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
- 'get_torrent_info' has been explicitly marked deprecated here
- const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
- ^
- btfs.cc:223:2: error: no matching function for call to 'pthread_cond_broadcast'
- pthread_cond_broadcast(&signal);
- ^~~~~~~~~~~~~~~~~~~~~~
- /usr/include/pthread.h:278:5: note: candidate function not viable: no known
- conversion from 'void (*(*)(int, void (*)(int)))(int)' to
- 'pthread_cond_t *' (aka '_opaque_pthread_cond_t *') for 1st argument
- int pthread_cond_broadcast(pthread_cond_t *);
- ^
- btfs.cc:346:11: warning: 'get_torrent_info' is deprecated
- [-Wdeprecated-declarations]
- handle.get_torrent_info().file_at(files[path]);
- ^
- /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
- 'get_torrent_info' has been explicitly marked deprecated here
- const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
- ^
- btfs.cc:454:2: error: no matching function for call to 'pthread_setname_np'
- pthread_setname_np(alert_thread, "alert");
- ^~~~~~~~~~~~~~~~~~
- /usr/include/pthread.h:474:5: note: candidate function not viable: requires 1
- argument, but 2 were provided
- int pthread_setname_np(const char*);
- ^
- btfs.cc:477:28: warning: 'save_path' is deprecated [-Wdeprecated-declarations]
- std::string path = handle.save_path();
- ^
- /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:830:15: note:
- 'save_path' has been explicitly marked deprecated here
- std::string save_path() const TORRENT_DEPRECATED;
- ^
- 7 warnings and 4 errors generated.
- make[1]: *** [btfs-btfs.o] Error 1
- make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement