Advertisement
BlacklightShining

boost::asio warnings

Oct 2nd, 2012
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.86 KB | None | 0 0
  1.  
  2. Build target test
  3.  
  4. CompileC DerivedData/test/Build/Intermediates/test.build/Debug/test.build/Objects-normal/x86_64/main.o test/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
  5. cd /tmp/test
  6. setenv LANG en_US.US-ASCII
  7. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -std=gnu++11 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-sign-compare -Wshorten-64-to-32 -Wno-newline-eof -Wc++11-extensions -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -fvisibility-inlines-hidden -Wno-sign-conversion -iquote /tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/test-generated-files.hmap -I/tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/test-own-target-headers.hmap -I/tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/test-all-target-headers.hmap -iquote /tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/test-project-headers.hmap -I/tmp/test/DerivedData/test/Build/Products/Debug/include -I/usr/local/include -I/tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/DerivedSources/x86_64 -I/tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/DerivedSources -F/tmp/test/DerivedData/test/Build/Products/Debug -MMD -MT dependencies -MF /tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/Objects-normal/x86_64/main.d --serialize-diagnostics /tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/Objects-normal/x86_64/main.dia -c /tmp/test/test/main.cpp -o /tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/Objects-normal/x86_64/main.o
  8.  
  9. In file included from /tmp/test/test/main.cpp:1:
  10. In file included from /usr/local/include/boost/asio.hpp:20:
  11. In file included from /usr/local/include/boost/asio/basic_datagram_socket.hpp:20:
  12. In file included from /usr/local/include/boost/asio/basic_socket.hpp:19:
  13. In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
  14. In file included from /usr/local/include/boost/asio/io_service.hpp:767:
  15. In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
  16. In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:217:
  17. In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.ipp:24:
  18. In file included from /usr/local/include/boost/asio/detail/reactor.hpp:23:
  19. In file included from /usr/local/include/boost/asio/detail/kqueue_reactor.hpp:33:
  20. In file included from /usr/local/include/boost/asio/detail/select_interrupter.hpp:25:
  21. In file included from /usr/local/include/boost/asio/detail/pipe_select_interrupter.hpp:81:
  22. /usr/local/include/boost/asio/detail/impl/pipe_select_interrupter.ipp:93:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  23. int result = ::write(write_descriptor_, &byte, 1);
  24. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  25. /usr/local/include/boost/asio/detail/impl/pipe_select_interrupter.ipp:102:22: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  26. int bytes_read = ::read(read_descriptor_, data, sizeof(data));
  27. ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28. /usr/local/include/boost/asio/detail/impl/pipe_select_interrupter.ipp:107:20: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  29. bytes_read = ::read(read_descriptor_, data, sizeof(data));
  30. ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  31. In file included from /tmp/test/test/main.cpp:1:
  32. In file included from /usr/local/include/boost/asio.hpp:20:
  33. In file included from /usr/local/include/boost/asio/basic_datagram_socket.hpp:20:
  34. In file included from /usr/local/include/boost/asio/basic_socket.hpp:19:
  35. In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
  36. In file included from /usr/local/include/boost/asio/io_service.hpp:767:
  37. In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
  38. In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:217:
  39. In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.ipp:24:
  40. In file included from /usr/local/include/boost/asio/detail/reactor.hpp:23:
  41. In file included from /usr/local/include/boost/asio/detail/kqueue_reactor.hpp:218:
  42. /usr/local/include/boost/asio/detail/impl/kqueue_reactor.ipp:370:32: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  43. int descriptor = events[i].ident;
  44. ~~~~~~~~~~ ~~~~~~~~~~^~~~~
  45. /usr/local/include/boost/asio/detail/impl/kqueue_reactor.ipp:400:63: warning: implicit conversion loses integer precision: 'intptr_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  46. op->ec_ = boost::system::error_code(events[i].data,
  47. ~~~~~ ~~~~~~~~~~^~~~
  48. In file included from /tmp/test/test/main.cpp:1:
  49. In file included from /usr/local/include/boost/asio.hpp:20:
  50. In file included from /usr/local/include/boost/asio/basic_datagram_socket.hpp:21:
  51. In file included from /usr/local/include/boost/asio/datagram_socket_service.hpp:26:
  52. In file included from /usr/local/include/boost/asio/detail/reactive_socket_service.hpp:30:
  53. In file included from /usr/local/include/boost/asio/detail/reactive_socket_accept_op.hpp:24:
  54. In file included from /usr/local/include/boost/asio/detail/socket_holder.hpp:20:
  55. In file included from /usr/local/include/boost/asio/detail/socket_ops.hpp:317:
  56. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:695:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  57. msg.msg_iovlen = count;
  58. ~ ^~~~~
  59. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:696:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  60. int result = error_wrapper(::recvmsg(s, &msg, flags), ec);
  61. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:843:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'socklen_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  63. msg.msg_namelen = *addrlen;
  64. ~ ^~~~~~~~
  65. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:845:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  66. msg.msg_iovlen = count;
  67. ~ ^~~~~
  68. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:846:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  69. int result = error_wrapper(::recvmsg(s, &msg, flags), ec);
  70. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  71. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:952:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  72. msg.msg_iovlen = count;
  73. ~ ^~~~~
  74. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:953:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  75. int result = error_wrapper(::recvmsg(s, &msg, in_flags), ec);
  76. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  77. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:1074:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  78. msg.msg_iovlen = count;
  79. ~ ^~~~~
  80. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:1078:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  81. int result = error_wrapper(::sendmsg(s, &msg, flags), ec);
  82. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  83. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:1201:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'socklen_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  84. msg.msg_namelen = addrlen;
  85. ~ ^~~~~~~
  86. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:1203:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  87. msg.msg_iovlen = count;
  88. ~ ^~~~~
  89. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:1207:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  90. int result = error_wrapper(::sendmsg(s, &msg, flags), ec);
  91. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  92. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:1871:65: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'socklen_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  93. const char* result = error_wrapper(::inet_ntop(af, src, dest, length), ec);
  94. ~~ ^~~~~~
  95. /usr/local/include/boost/asio/detail/impl/socket_ops.ipp:1881:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
  96. if (!is_link_local || if_indextoname(scope_id, if_name + 1) == 0)
  97. ~~~~~~~~~~~~~~ ^~~~~~~~
  98. In file included from /tmp/test/test/main.cpp:1:
  99. In file included from /usr/local/include/boost/asio.hpp:21:
  100. In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:21:
  101. In file included from /usr/local/include/boost/asio/deadline_timer_service.hpp:22:
  102. In file included from /usr/local/include/boost/asio/time_traits.hpp:21:
  103. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:16:
  104. /usr/local/include/boost/date_time/posix_time/posix_time_duration.hpp:24:21: warning: implicit conversion loses integer precision: 'long' to 'hour_type' (aka 'int') [-Wshorten-64-to-32]
  105. time_duration(h,0,0)
  106. ~~~~~~~~~~~~~ ^
  107. /usr/local/include/boost/date_time/posix_time/posix_time_duration.hpp:35:23: warning: implicit conversion loses integer precision: 'long' to 'min_type' (aka 'int') [-Wshorten-64-to-32]
  108. time_duration(0,m,0)
  109. ~~~~~~~~~~~~~ ^
  110. /usr/local/include/boost/date_time/posix_time/posix_time_duration.hpp:46:25: warning: implicit conversion loses integer precision: 'long' to 'sec_type' (aka 'int') [-Wshorten-64-to-32]
  111. time_duration(0,0,s)
  112. ~~~~~~~~~~~~~ ^
  113. In file included from /tmp/test/test/main.cpp:1:
  114. In file included from /usr/local/include/boost/asio.hpp:25:
  115. In file included from /usr/local/include/boost/asio/basic_serial_port.hpp:30:
  116. In file included from /usr/local/include/boost/asio/serial_port_service.hpp:25:
  117. In file included from /usr/local/include/boost/asio/detail/reactive_serial_port_service.hpp:28:
  118. In file included from /usr/local/include/boost/asio/detail/descriptor_ops.hpp:110:
  119. /usr/local/include/boost/asio/detail/impl/descriptor_ops.ipp:186:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  120. int bytes = error_wrapper(::readv(d, bufs, static_cast<int>(count)), ec);
  121. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  122. /usr/local/include/boost/asio/detail/impl/descriptor_ops.ipp:218:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  123. int bytes = error_wrapper(::readv(d, bufs, static_cast<int>(count)), ec);
  124. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  125. /usr/local/include/boost/asio/detail/impl/descriptor_ops.ipp:270:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  126. int bytes = error_wrapper(::writev(d, bufs, static_cast<int>(count)), ec);
  127. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  128. /usr/local/include/boost/asio/detail/impl/descriptor_ops.ipp:295:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  129. int bytes = error_wrapper(::writev(d, bufs, static_cast<int>(count)), ec);
  130. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  131. /usr/local/include/boost/asio/detail/impl/descriptor_ops.ipp:369:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  132. int result = error_wrapper(::fcntl(d, cmd), ec);
  133. ~~ ^~~
  134. /usr/local/include/boost/asio/detail/impl/descriptor_ops.ipp:384:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  135. int result = error_wrapper(::fcntl(d, cmd, arg), ec);
  136. ~~ ^~~
  137. In file included from /tmp/test/test/main.cpp:1:
  138. In file included from /usr/local/include/boost/asio.hpp:26:
  139. In file included from /usr/local/include/boost/asio/basic_signal_set.hpp:24:
  140. In file included from /usr/local/include/boost/asio/signal_set_service.hpp:19:
  141. In file included from /usr/local/include/boost/asio/detail/signal_set_service.hpp:210:
  142. /usr/local/include/boost/asio/detail/impl/signal_set_service.ipp:67:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  143. int result = ::write(state->write_descriptor_,
  144. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  145. In file included from /tmp/test/test/main.cpp:1:
  146. In file included from /usr/local/include/boost/asio.hpp:50:
  147. In file included from /usr/local/include/boost/asio/ip/address.hpp:21:
  148. In file included from /usr/local/include/boost/asio/ip/address_v4.hpp:240:
  149. /usr/local/include/boost/asio/ip/impl/address_v4.ipp:58:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_long_type' (aka 'unsigned int') [-Wshorten-64-to-32]
  150. addr_.s_addr = boost::asio::detail::socket_ops::host_to_network_long(addr);
  151. ~~~~~ ^~~~
  152. In file included from /tmp/test/test/main.cpp:1:
  153. In file included from /usr/local/include/boost/asio.hpp:53:
  154. In file included from /usr/local/include/boost/asio/ip/basic_endpoint.hpp:20:
  155. In file included from /usr/local/include/boost/asio/ip/detail/endpoint.hpp:138:
  156. /usr/local/include/boost/asio/ip/detail/impl/endpoint.ipp:84:11: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_long_type' (aka 'unsigned int') [-Wshorten-64-to-32]
  157. addr.to_v4().to_ulong());
  158. ^~~~~~~~~~~~~~~~~~~~~~~
  159. /usr/local/include/boost/asio/ip/detail/impl/endpoint.ipp:95:30: warning: implicit conversion loses integer precision: 'unsigned long' to '__uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  160. data_.v6.sin6_scope_id = v6_addr.scope_id();
  161. ~ ^~~~~~~~~~~~~~~~~~
  162. In file included from /tmp/test/test/main.cpp:2:
  163. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  164. In file included from /usr/local/include/boost/asio/ssl/context.hpp:28:
  165. In file included from /usr/local/include/boost/asio/ssl/detail/openssl_init.hpp:85:
  166. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:39:7: warning: 'SSL_library_init' is deprecated [-Wdeprecated-declarations]
  167. ::SSL_library_init();
  168. ^
  169. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:40:7: warning: 'SSL_load_error_strings' is deprecated [-Wdeprecated-declarations]
  170. ::SSL_load_error_strings();
  171. ^
  172. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:41:7: warning: 'OPENSSL_add_all_algorithms_noconf' is deprecated [-Wdeprecated-declarations]
  173. ::OpenSSL_add_all_algorithms();
  174. ^
  175. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:836:3: note: expanded from macro 'OpenSSL_add_all_algorithms'
  176. OPENSSL_add_all_algorithms_noconf()
  177. ^
  178. In file included from /tmp/test/test/main.cpp:2:
  179. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  180. In file included from /usr/local/include/boost/asio/ssl/context.hpp:28:
  181. In file included from /usr/local/include/boost/asio/ssl/detail/openssl_init.hpp:85:
  182. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:43:23: warning: 'CRYPTO_num_locks' is deprecated [-Wdeprecated-declarations]
  183. mutexes_.resize(::CRYPTO_num_locks());
  184. ^
  185. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:46:7: warning: 'CRYPTO_set_locking_callback' is deprecated [-Wdeprecated-declarations]
  186. ::CRYPTO_set_locking_callback(&do_init::openssl_locking_func);
  187. ^
  188. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47:7: warning: 'CRYPTO_set_id_callback' is deprecated [-Wdeprecated-declarations]
  189. ::CRYPTO_set_id_callback(&do_init::openssl_id_func);
  190. ^
  191. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:52:7: warning: 'CRYPTO_set_id_callback' is deprecated [-Wdeprecated-declarations]
  192. ::CRYPTO_set_id_callback(0);
  193. ^
  194. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:53:7: warning: 'CRYPTO_set_locking_callback' is deprecated [-Wdeprecated-declarations]
  195. ::CRYPTO_set_locking_callback(0);
  196. ^
  197. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:54:7: warning: 'ERR_free_strings' is deprecated [-Wdeprecated-declarations]
  198. ::ERR_free_strings();
  199. ^
  200. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:55:7: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
  201. ::ERR_remove_state(0);
  202. ^
  203. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:56:7: warning: 'EVP_cleanup' is deprecated [-Wdeprecated-declarations]
  204. ::EVP_cleanup();
  205. ^
  206. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:57:7: warning: 'CRYPTO_cleanup_all_ex_data' is deprecated [-Wdeprecated-declarations]
  207. ::CRYPTO_cleanup_all_ex_data();
  208. ^
  209. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:58:7: warning: 'CONF_modules_unload' is deprecated [-Wdeprecated-declarations]
  210. ::CONF_modules_unload(1);
  211. ^
  212. /usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:60:7: warning: 'ENGINE_cleanup' is deprecated [-Wdeprecated-declarations]
  213. ::ENGINE_cleanup();
  214. ^
  215. In file included from /tmp/test/test/main.cpp:2:
  216. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  217. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  218. In file included from /usr/local/include/boost/asio/ssl/impl/context.ipp:26:
  219. In file included from /usr/local/include/boost/asio/ssl/error.hpp:69:
  220. /usr/local/include/boost/asio/ssl/impl/error.ipp:40:23: warning: 'ERR_reason_error_string' is deprecated [-Wdeprecated-declarations]
  221. const char* s = ::ERR_reason_error_string(value);
  222. ^
  223. In file included from /tmp/test/test/main.cpp:2:
  224. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  225. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  226. /usr/local/include/boost/asio/ssl/impl/context.ipp:51:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  227. handle_ = ::SSL_CTX_new(::SSLv2_method());
  228. ^
  229. /usr/local/include/boost/asio/ssl/impl/context.ipp:51:31: warning: 'SSLv2_method' is deprecated [-Wdeprecated-declarations]
  230. handle_ = ::SSL_CTX_new(::SSLv2_method());
  231. ^
  232. /usr/local/include/boost/asio/ssl/impl/context.ipp:54:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  233. handle_ = ::SSL_CTX_new(::SSLv2_client_method());
  234. ^
  235. /usr/local/include/boost/asio/ssl/impl/context.ipp:54:31: warning: 'SSLv2_client_method' is deprecated [-Wdeprecated-declarations]
  236. handle_ = ::SSL_CTX_new(::SSLv2_client_method());
  237. ^
  238. /usr/local/include/boost/asio/ssl/impl/context.ipp:57:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  239. handle_ = ::SSL_CTX_new(::SSLv2_server_method());
  240. ^
  241. /usr/local/include/boost/asio/ssl/impl/context.ipp:57:31: warning: 'SSLv2_server_method' is deprecated [-Wdeprecated-declarations]
  242. handle_ = ::SSL_CTX_new(::SSLv2_server_method());
  243. ^
  244. /usr/local/include/boost/asio/ssl/impl/context.ipp:61:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  245. handle_ = ::SSL_CTX_new(::SSLv3_method());
  246. ^
  247. /usr/local/include/boost/asio/ssl/impl/context.ipp:61:31: warning: 'SSLv3_method' is deprecated [-Wdeprecated-declarations]
  248. handle_ = ::SSL_CTX_new(::SSLv3_method());
  249. ^
  250. /usr/local/include/boost/asio/ssl/impl/context.ipp:64:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  251. handle_ = ::SSL_CTX_new(::SSLv3_client_method());
  252. ^
  253. /usr/local/include/boost/asio/ssl/impl/context.ipp:64:31: warning: 'SSLv3_client_method' is deprecated [-Wdeprecated-declarations]
  254. handle_ = ::SSL_CTX_new(::SSLv3_client_method());
  255. ^
  256. /usr/local/include/boost/asio/ssl/impl/context.ipp:67:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  257. handle_ = ::SSL_CTX_new(::SSLv3_server_method());
  258. ^
  259. /usr/local/include/boost/asio/ssl/impl/context.ipp:67:31: warning: 'SSLv3_server_method' is deprecated [-Wdeprecated-declarations]
  260. handle_ = ::SSL_CTX_new(::SSLv3_server_method());
  261. ^
  262. /usr/local/include/boost/asio/ssl/impl/context.ipp:70:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  263. handle_ = ::SSL_CTX_new(::TLSv1_method());
  264. ^
  265. /usr/local/include/boost/asio/ssl/impl/context.ipp:70:31: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations]
  266. handle_ = ::SSL_CTX_new(::TLSv1_method());
  267. ^
  268. /usr/local/include/boost/asio/ssl/impl/context.ipp:73:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  269. handle_ = ::SSL_CTX_new(::TLSv1_client_method());
  270. ^
  271. /usr/local/include/boost/asio/ssl/impl/context.ipp:73:31: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]
  272. handle_ = ::SSL_CTX_new(::TLSv1_client_method());
  273. ^
  274. /usr/local/include/boost/asio/ssl/impl/context.ipp:76:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  275. handle_ = ::SSL_CTX_new(::TLSv1_server_method());
  276. ^
  277. /usr/local/include/boost/asio/ssl/impl/context.ipp:76:31: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations]
  278. handle_ = ::SSL_CTX_new(::TLSv1_server_method());
  279. ^
  280. /usr/local/include/boost/asio/ssl/impl/context.ipp:79:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  281. handle_ = ::SSL_CTX_new(::SSLv23_method());
  282. ^
  283. /usr/local/include/boost/asio/ssl/impl/context.ipp:79:31: warning: 'SSLv23_method' is deprecated [-Wdeprecated-declarations]
  284. handle_ = ::SSL_CTX_new(::SSLv23_method());
  285. ^
  286. /usr/local/include/boost/asio/ssl/impl/context.ipp:82:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  287. handle_ = ::SSL_CTX_new(::SSLv23_client_method());
  288. ^
  289. /usr/local/include/boost/asio/ssl/impl/context.ipp:82:31: warning: 'SSLv23_client_method' is deprecated [-Wdeprecated-declarations]
  290. handle_ = ::SSL_CTX_new(::SSLv23_client_method());
  291. ^
  292. /usr/local/include/boost/asio/ssl/impl/context.ipp:85:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  293. handle_ = ::SSL_CTX_new(::SSLv23_server_method());
  294. ^
  295. /usr/local/include/boost/asio/ssl/impl/context.ipp:85:31: warning: 'SSLv23_server_method' is deprecated [-Wdeprecated-declarations]
  296. handle_ = ::SSL_CTX_new(::SSLv23_server_method());
  297. ^
  298. /usr/local/include/boost/asio/ssl/impl/context.ipp:88:17: warning: 'SSL_CTX_new' is deprecated [-Wdeprecated-declarations]
  299. handle_ = ::SSL_CTX_new(0);
  300. ^
  301. /usr/local/include/boost/asio/ssl/impl/context.ipp:94:36: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  302. boost::system::error_code ec(::ERR_get_error(),
  303. ^
  304. /usr/local/include/boost/asio/ssl/impl/context.ipp:94:34: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  305. boost::system::error_code ec(::ERR_get_error(),
  306. ~~ ^~~~~~~~~~~~~~~~~
  307. /usr/local/include/boost/asio/ssl/impl/context.ipp:137:9: warning: 'SSL_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  308. if (SSL_CTX_get_app_data(handle_))
  309. ^
  310. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1081:36: note: expanded from macro 'SSL_CTX_get_app_data'
  311. #define SSL_CTX_get_app_data(ctx) (SSL_CTX_get_ex_data(ctx,0))
  312. ^
  313. In file included from /tmp/test/test/main.cpp:2:
  314. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  315. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  316. /usr/local/include/boost/asio/ssl/impl/context.ipp:141:13: warning: 'SSL_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  317. SSL_CTX_get_app_data(handle_));
  318. ^
  319. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1081:36: note: expanded from macro 'SSL_CTX_get_app_data'
  320. #define SSL_CTX_get_app_data(ctx) (SSL_CTX_get_ex_data(ctx,0))
  321. ^
  322. In file included from /tmp/test/test/main.cpp:2:
  323. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  324. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  325. /usr/local/include/boost/asio/ssl/impl/context.ipp:143:7: warning: 'SSL_CTX_set_ex_data' is deprecated [-Wdeprecated-declarations]
  326. SSL_CTX_set_app_data(handle_, 0);
  327. ^
  328. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1082:40: note: expanded from macro 'SSL_CTX_set_app_data'
  329. #define SSL_CTX_set_app_data(ctx,arg) (SSL_CTX_set_ex_data(ctx,0,(char *)arg))
  330. ^
  331. In file included from /tmp/test/test/main.cpp:2:
  332. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  333. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  334. /usr/local/include/boost/asio/ssl/impl/context.ipp:146:7: warning: 'SSL_CTX_free' is deprecated [-Wdeprecated-declarations]
  335. ::SSL_CTX_free(handle_);
  336. ^
  337. /usr/local/include/boost/asio/ssl/impl/context.ipp:170:5: warning: 'SSL_CTX_ctrl' is deprecated [-Wdeprecated-declarations]
  338. ::SSL_CTX_set_options(handle_, o);
  339. ^
  340. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:571:2: note: expanded from macro 'SSL_CTX_set_options'
  341. SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
  342. ^
  343. In file included from /tmp/test/test/main.cpp:2:
  344. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  345. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  346. /usr/local/include/boost/asio/ssl/impl/context.ipp:186:5: warning: 'SSL_CTX_set_verify' is deprecated [-Wdeprecated-declarations]
  347. ::SSL_CTX_set_verify(handle_, v, ::SSL_CTX_get_verify_callback(handle_));
  348. ^
  349. /usr/local/include/boost/asio/ssl/impl/context.ipp:186:38: warning: 'SSL_CTX_get_verify_callback' is deprecated [-Wdeprecated-declarations]
  350. ::SSL_CTX_set_verify(handle_, v, ::SSL_CTX_get_verify_callback(handle_));
  351. ^
  352. /usr/local/include/boost/asio/ssl/impl/context.ipp:202:9: warning: 'SSL_CTX_load_verify_locations' is deprecated [-Wdeprecated-declarations]
  353. if (::SSL_CTX_load_verify_locations(handle_, filename.c_str(), 0) != 1)
  354. ^
  355. /usr/local/include/boost/asio/ssl/impl/context.ipp:204:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  356. ec = boost::system::error_code(::ERR_get_error(),
  357. ^
  358. /usr/local/include/boost/asio/ssl/impl/context.ipp:204:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  359. ec = boost::system::error_code(::ERR_get_error(),
  360. ~~~~~ ^~~~~~~~~~~~~~~~~
  361. /usr/local/include/boost/asio/ssl/impl/context.ipp:223:9: warning: 'SSL_CTX_set_default_verify_paths' is deprecated [-Wdeprecated-declarations]
  362. if (::SSL_CTX_set_default_verify_paths(handle_) != 1)
  363. ^
  364. /usr/local/include/boost/asio/ssl/impl/context.ipp:225:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  365. ec = boost::system::error_code(::ERR_get_error(),
  366. ^
  367. /usr/local/include/boost/asio/ssl/impl/context.ipp:225:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  368. ec = boost::system::error_code(::ERR_get_error(),
  369. ~~~~~ ^~~~~~~~~~~~~~~~~
  370. /usr/local/include/boost/asio/ssl/impl/context.ipp:244:9: warning: 'SSL_CTX_load_verify_locations' is deprecated [-Wdeprecated-declarations]
  371. if (::SSL_CTX_load_verify_locations(handle_, 0, path.c_str()) != 1)
  372. ^
  373. /usr/local/include/boost/asio/ssl/impl/context.ipp:246:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  374. ec = boost::system::error_code(::ERR_get_error(),
  375. ^
  376. /usr/local/include/boost/asio/ssl/impl/context.ipp:246:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  377. ec = boost::system::error_code(::ERR_get_error(),
  378. ~~~~~ ^~~~~~~~~~~~~~~~~
  379. /usr/local/include/boost/asio/ssl/impl/context.ipp:283:9: warning: 'SSL_CTX_use_certificate_file' is deprecated [-Wdeprecated-declarations]
  380. if (::SSL_CTX_use_certificate_file(handle_, filename.c_str(), file_type) != 1)
  381. ^
  382. /usr/local/include/boost/asio/ssl/impl/context.ipp:285:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  383. ec = boost::system::error_code(::ERR_get_error(),
  384. ^
  385. /usr/local/include/boost/asio/ssl/impl/context.ipp:285:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  386. ec = boost::system::error_code(::ERR_get_error(),
  387. ~~~~~ ^~~~~~~~~~~~~~~~~
  388. /usr/local/include/boost/asio/ssl/impl/context.ipp:304:9: warning: 'SSL_CTX_use_certificate_chain_file' is deprecated [-Wdeprecated-declarations]
  389. if (::SSL_CTX_use_certificate_chain_file(handle_, filename.c_str()) != 1)
  390. ^
  391. /usr/local/include/boost/asio/ssl/impl/context.ipp:306:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  392. ec = boost::system::error_code(::ERR_get_error(),
  393. ^
  394. /usr/local/include/boost/asio/ssl/impl/context.ipp:306:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  395. ec = boost::system::error_code(::ERR_get_error(),
  396. ~~~~~ ^~~~~~~~~~~~~~~~~
  397. /usr/local/include/boost/asio/ssl/impl/context.ipp:343:9: warning: 'SSL_CTX_use_PrivateKey_file' is deprecated [-Wdeprecated-declarations]
  398. if (::SSL_CTX_use_PrivateKey_file(handle_, filename.c_str(), file_type) != 1)
  399. ^
  400. /usr/local/include/boost/asio/ssl/impl/context.ipp:345:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  401. ec = boost::system::error_code(::ERR_get_error(),
  402. ^
  403. /usr/local/include/boost/asio/ssl/impl/context.ipp:345:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  404. ec = boost::system::error_code(::ERR_get_error(),
  405. ~~~~~ ^~~~~~~~~~~~~~~~~
  406. /usr/local/include/boost/asio/ssl/impl/context.ipp:382:9: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated [-Wdeprecated-declarations]
  407. if (::SSL_CTX_use_RSAPrivateKey_file(
  408. ^
  409. /usr/local/include/boost/asio/ssl/impl/context.ipp:385:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  410. ec = boost::system::error_code(::ERR_get_error(),
  411. ^
  412. /usr/local/include/boost/asio/ssl/impl/context.ipp:385:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  413. ec = boost::system::error_code(::ERR_get_error(),
  414. ~~~~~ ^~~~~~~~~~~~~~~~~
  415. /usr/local/include/boost/asio/ssl/impl/context.ipp:404:18: warning: 'BIO_new_file' is deprecated [-Wdeprecated-declarations]
  416. ::BIO* bio = ::BIO_new_file(filename.c_str(), "r");
  417. ^
  418. /usr/local/include/boost/asio/ssl/impl/context.ipp:414:7: warning: 'BIO_free' is deprecated [-Wdeprecated-declarations]
  419. ::BIO_free(bio);
  420. ^
  421. /usr/local/include/boost/asio/ssl/impl/context.ipp:419:5: warning: 'BIO_free' is deprecated [-Wdeprecated-declarations]
  422. ::BIO_free(bio);
  423. ^
  424. /usr/local/include/boost/asio/ssl/impl/context.ipp:420:18: warning: 'SSL_CTX_ctrl' is deprecated [-Wdeprecated-declarations]
  425. int result = ::SSL_CTX_set_tmp_dh(handle_, dh);
  426. ^
  427. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1319:2: note: expanded from macro 'SSL_CTX_set_tmp_dh'
  428. SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)dh)
  429. ^
  430. In file included from /tmp/test/test/main.cpp:2:
  431. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  432. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  433. /usr/local/include/boost/asio/ssl/impl/context.ipp:421:5: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
  434. ::DH_free(dh);
  435. ^
  436. /usr/local/include/boost/asio/ssl/impl/context.ipp:424:38: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  437. ec = boost::system::error_code(::ERR_get_error(),
  438. ^
  439. /usr/local/include/boost/asio/ssl/impl/context.ipp:420:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  440. int result = ::SSL_CTX_set_tmp_dh(handle_, dh);
  441. ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
  442. /usr/local/include/boost/asio/ssl/impl/context.ipp:424:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  443. ec = boost::system::error_code(::ERR_get_error(),
  444. ~~~~~ ^~~~~~~~~~~~~~~~~
  445. /usr/local/include/boost/asio/ssl/impl/context.ipp:436:7: warning: 'SSL_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  446. if (SSL_CTX_get_app_data(handle_))
  447. ^
  448. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1081:36: note: expanded from macro 'SSL_CTX_get_app_data'
  449. #define SSL_CTX_get_app_data(ctx) (SSL_CTX_get_ex_data(ctx,0))
  450. ^
  451. In file included from /tmp/test/test/main.cpp:2:
  452. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  453. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  454. /usr/local/include/boost/asio/ssl/impl/context.ipp:439:9: warning: 'SSL_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  455. SSL_CTX_get_app_data(handle_));
  456. ^
  457. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1081:36: note: expanded from macro 'SSL_CTX_get_app_data'
  458. #define SSL_CTX_get_app_data(ctx) (SSL_CTX_get_ex_data(ctx,0))
  459. ^
  460. In file included from /tmp/test/test/main.cpp:2:
  461. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  462. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  463. /usr/local/include/boost/asio/ssl/impl/context.ipp:442:3: warning: 'SSL_CTX_set_ex_data' is deprecated [-Wdeprecated-declarations]
  464. SSL_CTX_set_app_data(handle_, callback);
  465. ^
  466. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1082:40: note: expanded from macro 'SSL_CTX_set_app_data'
  467. #define SSL_CTX_set_app_data(ctx,arg) (SSL_CTX_set_ex_data(ctx,0,(char *)arg))
  468. ^
  469. In file included from /tmp/test/test/main.cpp:2:
  470. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  471. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  472. /usr/local/include/boost/asio/ssl/impl/context.ipp:444:5: warning: 'SSL_CTX_set_verify' is deprecated [-Wdeprecated-declarations]
  473. ::SSL_CTX_set_verify(handle_,
  474. ^
  475. /usr/local/include/boost/asio/ssl/impl/context.ipp:445:9: warning: 'SSL_CTX_get_verify_mode' is deprecated [-Wdeprecated-declarations]
  476. ::SSL_CTX_get_verify_mode(handle_),
  477. ^
  478. /usr/local/include/boost/asio/ssl/impl/context.ipp:457:13: warning: 'X509_STORE_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  479. ::X509_STORE_CTX_get_ex_data(
  480. ^
  481. /usr/local/include/boost/asio/ssl/impl/context.ipp:458:20: warning: 'SSL_get_ex_data_X509_STORE_CTX_idx' is deprecated [-Wdeprecated-declarations]
  482. ctx, ::SSL_get_ex_data_X509_STORE_CTX_idx())))
  483. ^
  484. /usr/local/include/boost/asio/ssl/impl/context.ipp:460:31: warning: 'SSL_get_SSL_CTX' is deprecated [-Wdeprecated-declarations]
  485. if (SSL_CTX* handle = ::SSL_get_SSL_CTX(ssl))
  486. ^
  487. /usr/local/include/boost/asio/ssl/impl/context.ipp:462:13: warning: 'SSL_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  488. if (SSL_CTX_get_app_data(handle))
  489. ^
  490. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1081:36: note: expanded from macro 'SSL_CTX_get_app_data'
  491. #define SSL_CTX_get_app_data(ctx) (SSL_CTX_get_ex_data(ctx,0))
  492. ^
  493. In file included from /tmp/test/test/main.cpp:2:
  494. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  495. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  496. /usr/local/include/boost/asio/ssl/impl/context.ipp:466:17: warning: 'SSL_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  497. SSL_CTX_get_app_data(handle));
  498. ^
  499. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1081:36: note: expanded from macro 'SSL_CTX_get_app_data'
  500. #define SSL_CTX_get_app_data(ctx) (SSL_CTX_get_ex_data(ctx,0))
  501. ^
  502. In file included from /tmp/test/test/main.cpp:2:
  503. In file included from /usr/local/include/boost/asio/ssl.hpp:19:
  504. In file included from /usr/local/include/boost/asio/ssl/context.hpp:530:
  505. /usr/local/include/boost/asio/ssl/impl/context.ipp:487:3: warning: 'SSL_CTX_set_default_passwd_cb' is deprecated [-Wdeprecated-declarations]
  506. SSL_CTX_set_default_passwd_cb(handle_, &context::password_callback_function);
  507. ^
  508. /usr/local/include/boost/asio/ssl/impl/context.ipp:513:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  509. return strlen(buf);
  510. ~~~~~~ ^~~~~~~~~~~
  511. In file included from /tmp/test/test/main.cpp:2:
  512. In file included from /usr/local/include/boost/asio/ssl.hpp:23:
  513. In file included from /usr/local/include/boost/asio/ssl/rfc2818_verification.hpp:99:
  514. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:46:15: warning: 'X509_STORE_CTX_get_error_depth' is deprecated [-Wdeprecated-declarations]
  515. int depth = X509_STORE_CTX_get_error_depth(ctx.native_handle());
  516. ^
  517. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:56:16: warning: 'X509_STORE_CTX_get_current_cert' is deprecated [-Wdeprecated-declarations]
  518. X509* cert = X509_STORE_CTX_get_current_cert(ctx.native_handle());
  519. ^
  520. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:61:7: warning: 'X509_get_ext_d2i' is deprecated [-Wdeprecated-declarations]
  521. X509_get_ext_d2i(cert, NID_subject_alt_name, 0, 0));
  522. ^
  523. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:62:23: warning: 'sk_num' is deprecated [-Wdeprecated-declarations]
  524. for (int i = 0; i < sk_GENERAL_NAME_num(gens); ++i)
  525. ^
  526. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/safestack.h:684:33: note: expanded from macro 'sk_GENERAL_NAME_num'
  527. #define sk_GENERAL_NAME_num(st) SKM_sk_num(GENERAL_NAME, (st))
  528. ^
  529. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/safestack.h:168:2: note: expanded from macro 'SKM_sk_num'
  530. sk_num(st)
  531. ^
  532. In file included from /tmp/test/test/main.cpp:2:
  533. In file included from /usr/local/include/boost/asio/ssl.hpp:23:
  534. In file included from /usr/local/include/boost/asio/ssl/rfc2818_verification.hpp:99:
  535. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:64:25: warning: 'sk_value' is deprecated [-Wdeprecated-declarations]
  536. GENERAL_NAME* gen = sk_GENERAL_NAME_value(gens, i);
  537. ^
  538. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/safestack.h:685:38: note: expanded from macro 'sk_GENERAL_NAME_value'
  539. #define sk_GENERAL_NAME_value(st, i) SKM_sk_value(GENERAL_NAME, (st), (i))
  540. ^
  541. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/safestack.h:170:11: note: expanded from macro 'SKM_sk_value'
  542. ((type *)sk_value(st, i))
  543. ^
  544. In file included from /tmp/test/test/main.cpp:2:
  545. In file included from /usr/local/include/boost/asio/ssl.hpp:23:
  546. In file included from /usr/local/include/boost/asio/ssl/rfc2818_verification.hpp:99:
  547. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:99:21: warning: 'X509_get_subject_name' is deprecated [-Wdeprecated-declarations]
  548. X509_NAME* name = X509_get_subject_name(cert);
  549. ^
  550. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:102:15: warning: 'X509_NAME_get_index_by_NID' is deprecated [-Wdeprecated-declarations]
  551. while ((i = X509_NAME_get_index_by_NID(name, NID_commonName, i)) >= 0)
  552. ^
  553. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:104:35: warning: 'X509_NAME_get_entry' is deprecated [-Wdeprecated-declarations]
  554. X509_NAME_ENTRY* name_entry = X509_NAME_get_entry(name, i);
  555. ^
  556. /usr/local/include/boost/asio/ssl/impl/rfc2818_verification.ipp:105:19: warning: 'X509_NAME_ENTRY_get_data' is deprecated [-Wdeprecated-declarations]
  557. common_name = X509_NAME_ENTRY_get_data(name_entry);
  558. ^
  559. In file included from /tmp/test/test/main.cpp:2:
  560. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  561. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  562. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  563. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  564. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:38:12: warning: 'SSL_new' is deprecated [-Wdeprecated-declarations]
  565. : ssl_(::SSL_new(context))
  566. ^
  567. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:42:36: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  568. boost::system::error_code ec(::ERR_get_error(),
  569. ^
  570. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:49:5: warning: 'SSL_ctrl' is deprecated [-Wdeprecated-declarations]
  571. ::SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE);
  572. ^
  573. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:592:2: note: expanded from macro 'SSL_set_mode'
  574. SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
  575. ^
  576. In file included from /tmp/test/test/main.cpp:2:
  577. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  578. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  579. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  580. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  581. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:50:5: warning: 'SSL_ctrl' is deprecated [-Wdeprecated-declarations]
  582. ::SSL_set_mode(ssl_, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
  583. ^
  584. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:592:2: note: expanded from macro 'SSL_set_mode'
  585. SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
  586. ^
  587. In file included from /tmp/test/test/main.cpp:2:
  588. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  589. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  590. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  591. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  592. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:56:5: warning: 'BIO_new_bio_pair' is deprecated [-Wdeprecated-declarations]
  593. ::BIO_new_bio_pair(&int_bio, 0, &ext_bio_, 0);
  594. ^
  595. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:57:5: warning: 'SSL_set_bio' is deprecated [-Wdeprecated-declarations]
  596. ::SSL_set_bio(ssl_, int_bio, int_bio);
  597. ^
  598. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:42:34: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  599. boost::system::error_code ec(::ERR_get_error(),
  600. ~~ ^~~~~~~~~~~~~~~~~
  601. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:62:7: warning: 'SSL_get_ex_data' is deprecated [-Wdeprecated-declarations]
  602. if (SSL_get_app_data(ssl_))
  603. ^
  604. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1078:31: note: expanded from macro 'SSL_get_app_data'
  605. #define SSL_get_app_data(s) (SSL_get_ex_data(s,0))
  606. ^
  607. In file included from /tmp/test/test/main.cpp:2:
  608. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  609. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  610. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  611. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  612. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:64:47: warning: 'SSL_get_ex_data' is deprecated [-Wdeprecated-declarations]
  613. delete static_cast<verify_callback_base*>(SSL_get_app_data(ssl_));
  614. ^
  615. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1078:31: note: expanded from macro 'SSL_get_app_data'
  616. #define SSL_get_app_data(s) (SSL_get_ex_data(s,0))
  617. ^
  618. In file included from /tmp/test/test/main.cpp:2:
  619. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  620. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  621. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  622. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  623. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:65:5: warning: 'SSL_set_ex_data' is deprecated [-Wdeprecated-declarations]
  624. SSL_set_app_data(ssl_, 0);
  625. ^
  626. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1077:35: note: expanded from macro 'SSL_set_app_data'
  627. #define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)arg))
  628. ^
  629. In file included from /tmp/test/test/main.cpp:2:
  630. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  631. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  632. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  633. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  634. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:68:5: warning: 'BIO_free' is deprecated [-Wdeprecated-declarations]
  635. ::BIO_free(ext_bio_);
  636. ^
  637. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:69:5: warning: 'SSL_free' is deprecated [-Wdeprecated-declarations]
  638. ::SSL_free(ssl_);
  639. ^
  640. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:80:5: warning: 'SSL_set_verify' is deprecated [-Wdeprecated-declarations]
  641. ::SSL_set_verify(ssl_, v, ::SSL_get_verify_callback(ssl_));
  642. ^
  643. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:80:31: warning: 'SSL_get_verify_callback' is deprecated [-Wdeprecated-declarations]
  644. ::SSL_set_verify(ssl_, v, ::SSL_get_verify_callback(ssl_));
  645. ^
  646. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:89:7: warning: 'SSL_get_ex_data' is deprecated [-Wdeprecated-declarations]
  647. if (SSL_get_app_data(ssl_))
  648. ^
  649. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1078:31: note: expanded from macro 'SSL_get_app_data'
  650. #define SSL_get_app_data(s) (SSL_get_ex_data(s,0))
  651. ^
  652. In file included from /tmp/test/test/main.cpp:2:
  653. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  654. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  655. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  656. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  657. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:90:47: warning: 'SSL_get_ex_data' is deprecated [-Wdeprecated-declarations]
  658. delete static_cast<verify_callback_base*>(SSL_get_app_data(ssl_));
  659. ^
  660. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1078:31: note: expanded from macro 'SSL_get_app_data'
  661. #define SSL_get_app_data(s) (SSL_get_ex_data(s,0))
  662. ^
  663. In file included from /tmp/test/test/main.cpp:2:
  664. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  665. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  666. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  667. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  668. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:92:3: warning: 'SSL_set_ex_data' is deprecated [-Wdeprecated-declarations]
  669. SSL_set_app_data(ssl_, callback);
  670. ^
  671. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1077:35: note: expanded from macro 'SSL_set_app_data'
  672. #define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)arg))
  673. ^
  674. In file included from /tmp/test/test/main.cpp:2:
  675. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  676. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  677. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  678. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  679. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:94:5: warning: 'SSL_set_verify' is deprecated [-Wdeprecated-declarations]
  680. ::SSL_set_verify(ssl_, ::SSL_get_verify_mode(ssl_),
  681. ^
  682. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:94:28: warning: 'SSL_get_verify_mode' is deprecated [-Wdeprecated-declarations]
  683. ::SSL_set_verify(ssl_, ::SSL_get_verify_mode(ssl_),
  684. ^
  685. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:106:13: warning: 'X509_STORE_CTX_get_ex_data' is deprecated [-Wdeprecated-declarations]
  686. ::X509_STORE_CTX_get_ex_data(
  687. ^
  688. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:107:20: warning: 'SSL_get_ex_data_X509_STORE_CTX_idx' is deprecated [-Wdeprecated-declarations]
  689. ctx, ::SSL_get_ex_data_X509_STORE_CTX_idx())))
  690. ^
  691. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:109:11: warning: 'SSL_get_ex_data' is deprecated [-Wdeprecated-declarations]
  692. if (SSL_get_app_data(ssl))
  693. ^
  694. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1078:31: note: expanded from macro 'SSL_get_app_data'
  695. #define SSL_get_app_data(s) (SSL_get_ex_data(s,0))
  696. ^
  697. In file included from /tmp/test/test/main.cpp:2:
  698. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  699. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  700. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  701. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  702. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:113:15: warning: 'SSL_get_ex_data' is deprecated [-Wdeprecated-declarations]
  703. SSL_get_app_data(ssl));
  704. ^
  705. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/ssl.h:1078:31: note: expanded from macro 'SSL_get_app_data'
  706. #define SSL_get_app_data(s) (SSL_get_ex_data(s,0))
  707. ^
  708. In file included from /tmp/test/test/main.cpp:2:
  709. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  710. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  711. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  712. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  713. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:167:18: warning: 'BIO_read' is deprecated [-Wdeprecated-declarations]
  714. int length = ::BIO_read(ext_bio_,
  715. ^
  716. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:169:7: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  717. boost::asio::buffer_size(data));
  718. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  719. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:178:18: warning: 'BIO_write' is deprecated [-Wdeprecated-declarations]
  720. int length = ::BIO_write(ext_bio_,
  721. ^
  722. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:180:7: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  723. boost::asio::buffer_size(data));
  724. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  725. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:194:7: warning: 'BIO_ctrl' is deprecated [-Wdeprecated-declarations]
  726. if (BIO_wpending(ext_bio_))
  727. ^
  728. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/bio.h:515:31: note: expanded from macro 'BIO_wpending'
  729. #define BIO_wpending(b) (int)BIO_ctrl(b,BIO_CTRL_WPENDING,0,NULL)
  730. ^
  731. In file included from /tmp/test/test/main.cpp:2:
  732. In file included from /usr/local/include/boost/asio/ssl.hpp:24:
  733. In file included from /usr/local/include/boost/asio/ssl/stream.hpp:27:
  734. In file included from /usr/local/include/boost/asio/ssl/detail/handshake_op.hpp:21:
  735. In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:159:
  736. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:208:10: warning: 'SSL_get_shutdown' is deprecated [-Wdeprecated-declarations]
  737. if ((::SSL_get_shutdown(ssl_) & SSL_RECEIVED_SHUTDOWN) == 0)
  738. ^
  739. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:228:41: warning: 'BIO_ctrl_pending' is deprecated [-Wdeprecated-declarations]
  740. std::size_t pending_output_before = ::BIO_ctrl_pending(ext_bio_);
  741. ^
  742. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:230:21: warning: 'SSL_get_error' is deprecated [-Wdeprecated-declarations]
  743. int ssl_error = ::SSL_get_error(ssl_, result);
  744. ^
  745. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:231:21: warning: 'ERR_get_error' is deprecated [-Wdeprecated-declarations]
  746. int sys_error = ::ERR_get_error();
  747. ^
  748. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:232:40: warning: 'BIO_ctrl_pending' is deprecated [-Wdeprecated-declarations]
  749. std::size_t pending_output_after = ::BIO_ctrl_pending(ext_bio_);
  750. ^
  751. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:266:14: warning: 'SSL_get_shutdown' is deprecated [-Wdeprecated-declarations]
  752. else if (::SSL_get_shutdown(ssl_) & SSL_RECEIVED_SHUTDOWN)
  753. ^
  754. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:231:19: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  755. int sys_error = ::ERR_get_error();
  756. ~~~~~~~~~ ^~~~~~~~~~~~~~~~~
  757. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:281:12: warning: 'SSL_accept' is deprecated [-Wdeprecated-declarations]
  758. return ::SSL_accept(ssl_);
  759. ^
  760. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:286:12: warning: 'SSL_connect' is deprecated [-Wdeprecated-declarations]
  761. return ::SSL_connect(ssl_);
  762. ^
  763. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:291:18: warning: 'SSL_shutdown' is deprecated [-Wdeprecated-declarations]
  764. int result = ::SSL_shutdown(ssl_);
  765. ^
  766. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:293:16: warning: 'SSL_shutdown' is deprecated [-Wdeprecated-declarations]
  767. result = ::SSL_shutdown(ssl_);
  768. ^
  769. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:299:12: warning: 'SSL_read' is deprecated [-Wdeprecated-declarations]
  770. return ::SSL_read(ssl_, data, length < INT_MAX ? length : INT_MAX);
  771. ^
  772. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:299:52: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  773. return ::SSL_read(ssl_, data, length < INT_MAX ? length : INT_MAX);
  774. ~ ^~~~~~
  775. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:304:12: warning: 'SSL_write' is deprecated [-Wdeprecated-declarations]
  776. return ::SSL_write(ssl_, data, length < INT_MAX ? length : INT_MAX);
  777. ^
  778. /usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:304:53: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  779. return ::SSL_write(ssl_, data, length < INT_MAX ? length : INT_MAX);
  780. ~ ^~~~~~
  781. In file included from /tmp/test/test/main.cpp:1:
  782. In file included from /usr/local/include/boost/asio.hpp:21:
  783. In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:21:
  784. In file included from /usr/local/include/boost/asio/deadline_timer_service.hpp:22:
  785. In file included from /usr/local/include/boost/asio/time_traits.hpp:21:
  786. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12:
  787. In file included from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12:
  788. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13:
  789. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18:
  790. In file included from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19:
  791. In file included from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:15:
  792. In file included from /usr/local/include/boost/date_time/gregorian_calendar.hpp:63:
  793. /usr/local/include/boost/date_time/gregorian_calendar.ipp:82:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'date_int_type' (aka 'unsigned int') [-Wshorten-64-to-32]
  794. return d;
  795. ~~~~~~ ^
  796. /usr/local/include/boost/date_time/date.hpp:71:25: note: in instantiation of member function 'boost::date_time::gregorian_calendar_base<boost::date_time::year_month_day_base<boost::gregorian::greg_year, boost::gregorian::greg_month, boost::gregorian::greg_day>, unsigned int>::day_number' requested here
  797. : days_(calendar::day_number(ymd_type(y, m, d)))
  798. ^
  799. /usr/local/include/boost/date_time/gregorian/greg_date.hpp:56:9: note: in instantiation of member function 'boost::date_time::date<boost::gregorian::date, boost::gregorian::gregorian_calendar, boost::gregorian::date_duration>::date' requested here
  800. : date_time::date<date, gregorian_calendar, date_duration>(y, m, d)
  801. ^
  802. In file included from /tmp/test/test/main.cpp:1:
  803. In file included from /usr/local/include/boost/asio.hpp:21:
  804. In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:21:
  805. In file included from /usr/local/include/boost/asio/deadline_timer_service.hpp:22:
  806. In file included from /usr/local/include/boost/asio/time_traits.hpp:21:
  807. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12:
  808. In file included from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12:
  809. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13:
  810. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18:
  811. In file included from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19:
  812. In file included from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:15:
  813. In file included from /usr/local/include/boost/date_time/gregorian_calendar.hpp:63:
  814. /usr/local/include/boost/date_time/gregorian_calendar.ipp:47:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  815. return week;
  816. ~~~~~~ ^~~~
  817. /usr/local/include/boost/date_time/gregorian/greg_date.hpp:111:34: note: in instantiation of member function 'boost::date_time::gregorian_calendar_base<boost::date_time::year_month_day_base<boost::gregorian::greg_year, boost::gregorian::greg_month, boost::gregorian::greg_day>, unsigned int>::week_number' requested here
  818. return gregorian_calendar::week_number(ymd);
  819. ^
  820. In file included from /tmp/test/test/main.cpp:1:
  821. In file included from /usr/local/include/boost/asio.hpp:21:
  822. In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:21:
  823. In file included from /usr/local/include/boost/asio/deadline_timer_service.hpp:22:
  824. In file included from /usr/local/include/boost/asio/time_traits.hpp:21:
  825. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12:
  826. In file included from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12:
  827. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13:
  828. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18:
  829. In file included from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19:
  830. In file included from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:15:
  831. In file included from /usr/local/include/boost/date_time/gregorian_calendar.hpp:63:
  832. /usr/local/include/boost/date_time/gregorian_calendar.ipp:52:16: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  833. return week; //under these circumstances week == 53.
  834. ~~~~~~ ^~~~
  835. /usr/local/include/boost/date_time/gregorian_calendar.ipp:63:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  836. return week;
  837. ~~~~~~ ^~~~
  838. /usr/local/include/boost/date_time/gregorian_calendar.ipp:66:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  839. return week; //not reachable -- well except if day == 5 and is_leap_year != true
  840. ~~~~~~ ^~~~
  841. In file included from /tmp/test/test/main.cpp:1:
  842. In file included from /usr/local/include/boost/asio.hpp:21:
  843. In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:21:
  844. In file included from /usr/local/include/boost/asio/deadline_timer_service.hpp:22:
  845. In file included from /usr/local/include/boost/asio/time_traits.hpp:21:
  846. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12:
  847. In file included from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12:
  848. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:15:
  849. /usr/local/include/boost/date_time/time_system_counted.hpp:57:52: warning: implicit conversion loses integer precision: 'unsigned long' to 'typename calendar_type::date_int_type' (aka 'unsigned int') [-Wshorten-64-to-32]
  850. typename calendar_type::date_int_type dc = day_count();
  851. ~~ ^~~~~~~~~~~
  852. /usr/local/include/boost/date_time/time_system_counted.hpp:170:18: note: in instantiation of member function 'boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>::date' requested here
  853. return val.date();
  854. ^
  855. /usr/local/include/boost/date_time/time.hpp:72:27: note: in instantiation of member function 'boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >::get_date' requested here
  856. return time_system::get_date(time_);
  857. ^
  858. /usr/local/include/boost/date_time/posix_time/date_duration_operators.hpp:33:31: note: in instantiation of member function 'boost::date_time::base_time<boost::posix_time::ptime, boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>> >::date' requested here
  859. return t + m.get_offset(t.date());
  860. ^
  861. In file included from /tmp/test/test/main.cpp:1:
  862. In file included from /usr/local/include/boost/asio.hpp:21:
  863. In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:21:
  864. In file included from /usr/local/include/boost/asio/deadline_timer_service.hpp:22:
  865. In file included from /usr/local/include/boost/asio/time_traits.hpp:21:
  866. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12:
  867. In file included from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12:
  868. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13:
  869. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18:
  870. In file included from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:17:
  871. /usr/local/include/boost/date_time/date.hpp:180:47: warning: implicit conversion loses integer precision: 'duration_rep_type' (aka 'long') to 'int_type' (aka 'unsigned int') [-Wshorten-64-to-32]
  872. return date_type(date_rep_type(days_) + dd.days());
  873. ~~~~~~~~~~~~~ ^~~~~~~~~
  874. /usr/local/include/boost/date_time/time.hpp:145:49: note: in instantiation of member function 'boost::date_time::date<boost::gregorian::date, boost::gregorian::gregorian_calendar, boost::gregorian::date_duration>::operator+' requested here
  875. time_ = (time_system::get_time_rep(date() + dd, time_of_day()));
  876. ^
  877. /usr/local/include/boost/date_time/posix_time/date_duration_operators.hpp:44:14: note: in instantiation of member function 'boost::date_time::base_time<boost::posix_time::ptime, boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>> >::operator+=' requested here
  878. return t += m.get_offset(t.date());
  879. ^
  880. In file included from /tmp/test/test/main.cpp:1:
  881. In file included from /usr/local/include/boost/asio.hpp:21:
  882. In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:21:
  883. In file included from /usr/local/include/boost/asio/deadline_timer_service.hpp:22:
  884. In file included from /usr/local/include/boost/asio/time_traits.hpp:21:
  885. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12:
  886. In file included from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12:
  887. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13:
  888. In file included from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:17:
  889. In file included from /usr/local/include/boost/date_time/time_resolution_traits.hpp:15:
  890. /usr/local/include/boost/date_time/int_adapter.hpp:233:41: warning: implicit conversion loses integer precision: 'long' to 'int_type' (aka 'unsigned int') [-Wshorten-64-to-32]
  891. return int_adapter<int_type>(value_ + rhs.as_number());
  892. ~~~~~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~~~
  893. /usr/local/include/boost/date_time/date.hpp:178:47: note: in instantiation of function template specialization 'boost::date_time::int_adapter<unsigned int>::operator+<long>' requested here
  894. return date_type(date_rep_type(days_) + dd.get_rep());
  895. ^
  896. /usr/local/include/boost/date_time/time.hpp:145:49: note: in instantiation of member function 'boost::date_time::date<boost::gregorian::date, boost::gregorian::gregorian_calendar, boost::gregorian::date_duration>::operator+' requested here
  897. time_ = (time_system::get_time_rep(date() + dd, time_of_day()));
  898. ^
  899. /usr/local/include/boost/date_time/posix_time/date_duration_operators.hpp:44:14: note: in instantiation of member function 'boost::date_time::base_time<boost::posix_time::ptime, boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>> >::operator+=' requested here
  900. return t += m.get_offset(t.date());
  901. ^
  902. 182 warnings generated.
  903.  
  904. Ld DerivedData/test/Build/Products/Debug/test normal x86_64
  905. cd /tmp/test
  906. setenv MACOSX_DEPLOYMENT_TARGET 10.8
  907. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/tmp/test/DerivedData/test/Build/Products/Debug -L/usr/local/lib -L/usr/local/Cellar/boost/1.50.0/lib -F/tmp/test/DerivedData/test/Build/Products/Debug -filelist /tmp/test/DerivedData/test/Build/Intermediates/test.build/Debug/test.build/Objects-normal/x86_64/test.LinkFileList -mmacosx-version-min=10.8 -lcrypto.0.9.8 -lssl.0.9.8 -lboost_system-mt -lboost_regex-mt -o /tmp/test/DerivedData/test/Build/Products/Debug/test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement