Advertisement
eloyleonardo

Error on build casablanca

Jan 15th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 292.54 KB | None | 0 0
  1. devena@debian:~/srcc/linux/casablanca/Release/build.release$ make
  2. [  0%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o
  3. In file included from /home/devena/libsc/linux/all/include/boost/config.hpp:61:0,
  4.                  from /home/devena/libsc/linux/all/include/boost/thread/detail/platform.hpp:14,
  5.                  from /home/devena/libsc/linux/all/include/boost/thread/mutex.hpp:12,
  6.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:82,
  7.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  8. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of ‘const int boost::mpl::aux::template_arity_impl<mpl_::na, 1>::value’:
  9. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:91:5:   required from ‘const int boost::mpl::aux::template_arity<mpl_::na>::value’
  10. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:94:30:   required from ‘struct boost::mpl::aux::template_arity<mpl_::na>
  11. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1:   required from here
  12. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:83:32: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
  13.      BOOST_STATIC_CONSTANT(int, value =
  14.                                 ^
  15. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of ‘const int boost::mpl::aux::template_arity_impl<mpl_::na, 2>::value’:
  16. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:91:5:   required from ‘const int boost::mpl::aux::template_arity<mpl_::na>::value’
  17. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:94:30:   required from ‘struct boost::mpl::aux::template_arity<mpl_::na>
  18. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1:   required from here
  19. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:83:32: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
  20. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of ‘const int boost::mpl::aux::template_arity_impl<mpl_::na, 3>::value’:
  21. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:91:5:   required from ‘const int boost::mpl::aux::template_arity<mpl_::na>::value’
  22. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:94:30:   required from ‘struct boost::mpl::aux::template_arity<mpl_::na>
  23. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1:   required from here
  24. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:83:32: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
  25. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of ‘const int boost::mpl::aux::template_arity_impl<mpl_::na, 4>::value’:
  26. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:91:5:   required from ‘const int boost::mpl::aux::template_arity<mpl_::na>::value’
  27. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:94:30:   required from ‘struct boost::mpl::aux::template_arity<mpl_::na>
  28. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1:   required from here
  29. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:83:32: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
  30. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of ‘const int boost::mpl::aux::template_arity_impl<mpl_::na, 5>::value’:
  31. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:91:5:   required from ‘const int boost::mpl::aux::template_arity<mpl_::na>::value’
  32. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:94:30:   required from ‘struct boost::mpl::aux::template_arity<mpl_::na>
  33. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1:   required from here
  34. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:83:32: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
  35. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of ‘const int boost::mpl::aux::template_arity_impl<mpl_::na, 6>::value’:
  36. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:91:5:   required from ‘const int boost::mpl::aux::template_arity<mpl_::na>::value’
  37. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:94:30:   required from ‘struct boost::mpl::aux::template_arity<mpl_::na>
  38. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1:   required from here
  39. /home/devena/libsc/linux/all/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:83:32: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
  40. In file included from /home/devena/libsc/linux/all/include/boost/asio/detail/eventfd_select_interrupter.hpp:80:0,
  41.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/select_interrupter.hpp:25,
  42.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/epoll_reactor.hpp:29,
  43.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/reactor.hpp:21,
  44.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/impl/task_io_service.ipp:24,
  45.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/task_io_service.hpp:198,
  46.                  from /home/devena/libsc/linux/all/include/boost/asio/impl/io_service.hpp:71,
  47.                  from /home/devena/libsc/linux/all/include/boost/asio/io_service.hpp:767,
  48.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:26,
  49.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  50.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  51.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  52.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  53. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp: In member function ‘void boost::asio::detail::eventfd_select_interrupter::interrupt()’:
  54. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp:122:69: error: conversion to ‘int’ from ‘ssize_t {aka long int}’ may alter its value [-Werror=conversion]
  55.    int result = ::write(write_descriptor_, &counter, sizeof(uint64_t));
  56.                                                                      ^
  57. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp: In member function ‘bool boost::asio::detail::eventfd_select_interrupter::reset()’:
  58. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp:135:75: error: conversion to ‘int’ from ‘ssize_t {aka long int}’ may alter its value [-Werror=conversion]
  59.        int bytes_read = ::read(read_descriptor_, &counter, sizeof(uint64_t));
  60.                                                                            ^
  61. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp:148:67: error: conversion to ‘int’ from ‘ssize_t {aka long int}’ may alter its value [-Werror=conversion]
  62.        int bytes_read = ::read(read_descriptor_, data, sizeof(data));
  63.                                                                    ^
  64. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp:153:65: error: conversion to ‘int’ from ‘ssize_t {aka long int}’ may alter its value [-Werror=conversion]
  65.          bytes_read = ::read(read_descriptor_, data, sizeof(data));
  66.                                                                  ^
  67. In file included from /home/devena/libsc/linux/all/include/boost/asio/detail/epoll_reactor.hpp:239:0,
  68.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/reactor.hpp:21,
  69.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/impl/task_io_service.ipp:24,
  70.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/task_io_service.hpp:198,
  71.                  from /home/devena/libsc/linux/all/include/boost/asio/impl/io_service.hpp:71,
  72.                  from /home/devena/libsc/linux/all/include/boost/asio/io_service.hpp:767,
  73.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:26,
  74.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  75.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  76.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  77.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  78. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/epoll_reactor.ipp: In member function ‘int boost::asio::detail::epoll_reactor::get_timeout()’:
  79. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/epoll_reactor.ipp:552:56: error: conversion to ‘int’ from ‘long int’ may alter its value [-Werror=conversion]
  80.    return timer_queues_.wait_duration_msec(5 * 60 * 1000);
  81.                                                         ^
  82. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:130:0,
  83.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  84.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  85.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  86.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  87.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  88.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  89.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  90.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  91.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  92. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘int sk_OPENSSL_STRING_num(const stack_st_OPENSSL_STRING*)’:
  93. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_OPENSSL_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  94.          return sk_num((_STACK *)sk); \
  95.                                  ^
  96. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  97.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  98.                                           ^
  99. /home/devena/libsc/linux/all/include/openssl/safestack.h:214:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  100.  DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
  101.  ^
  102. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘char* sk_OPENSSL_STRING_value(const stack_st_OPENSSL_STRING*, int)’:
  103. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_OPENSSL_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  104.          return (t2 *)sk_value((_STACK *)sk, idx); \
  105.                                          ^
  106. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  107.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  108.                                           ^
  109. /home/devena/libsc/linux/all/include/openssl/safestack.h:214:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  110.  DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
  111.  ^
  112. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘void sk_OPENSSL_STRING_free(const stack_st_OPENSSL_STRING*)’:
  113. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_OPENSSL_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  114.          sk_free((_STACK *)sk); \
  115.                            ^
  116. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  117.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  118.                                           ^
  119. /home/devena/libsc/linux/all/include/openssl/safestack.h:214:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  120.  DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
  121.  ^
  122. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘void sk_OPENSSL_STRING_zero(const stack_st_OPENSSL_STRING*)’:
  123. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_OPENSSL_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  124.          sk_zero((_STACK *)sk); \
  125.                            ^
  126. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  127.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  128.                                           ^
  129. /home/devena/libsc/linux/all/include/openssl/safestack.h:214:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  130.  DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
  131.  ^
  132. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘void sk_OPENSSL_STRING_sort(const stack_st_OPENSSL_STRING*)’:
  133. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_OPENSSL_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  134.          sk_sort((_STACK *)sk); \
  135.                            ^
  136. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  137.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  138.                                           ^
  139. /home/devena/libsc/linux/all/include/openssl/safestack.h:214:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  140.  DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
  141.  ^
  142. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘int sk_OPENSSL_STRING_is_sorted(const stack_st_OPENSSL_STRING*)’:
  143. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_OPENSSL_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  144.          return sk_is_sorted((_STACK *)sk); \
  145.                                        ^
  146. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  147.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  148.                                           ^
  149. /home/devena/libsc/linux/all/include/openssl/safestack.h:214:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  150.  DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
  151.  ^
  152. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘int sk_OPENSSL_BLOCK_num(const stack_st_OPENSSL_BLOCK*)’:
  153. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_OPENSSL_BLOCK*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  154.          return sk_num((_STACK *)sk); \
  155.                                  ^
  156. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  157.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  158.                                           ^
  159. /home/devena/libsc/linux/all/include/openssl/safestack.h:221:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  160.  DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
  161.  ^
  162. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘void* sk_OPENSSL_BLOCK_value(const stack_st_OPENSSL_BLOCK*, int)’:
  163. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_OPENSSL_BLOCK*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  164.          return (t2 *)sk_value((_STACK *)sk, idx); \
  165.                                          ^
  166. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  167.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  168.                                           ^
  169. /home/devena/libsc/linux/all/include/openssl/safestack.h:221:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  170.  DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
  171.  ^
  172. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘void sk_OPENSSL_BLOCK_free(const stack_st_OPENSSL_BLOCK*)’:
  173. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_OPENSSL_BLOCK*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  174.          sk_free((_STACK *)sk); \
  175.                            ^
  176. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  177.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  178.                                           ^
  179. /home/devena/libsc/linux/all/include/openssl/safestack.h:221:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  180.  DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
  181.  ^
  182. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘void sk_OPENSSL_BLOCK_zero(const stack_st_OPENSSL_BLOCK*)’:
  183. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_OPENSSL_BLOCK*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  184.          sk_zero((_STACK *)sk); \
  185.                            ^
  186. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  187.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  188.                                           ^
  189. /home/devena/libsc/linux/all/include/openssl/safestack.h:221:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  190.  DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
  191.  ^
  192. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘void sk_OPENSSL_BLOCK_sort(const stack_st_OPENSSL_BLOCK*)’:
  193. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_OPENSSL_BLOCK*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  194.          sk_sort((_STACK *)sk); \
  195.                            ^
  196. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  197.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  198.                                           ^
  199. /home/devena/libsc/linux/all/include/openssl/safestack.h:221:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  200.  DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
  201.  ^
  202. /home/devena/libsc/linux/all/include/openssl/safestack.h: In function ‘int sk_OPENSSL_BLOCK_is_sorted(const stack_st_OPENSSL_BLOCK*)’:
  203. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_OPENSSL_BLOCK*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  204.          return sk_is_sorted((_STACK *)sk); \
  205.                                        ^
  206. /home/devena/libsc/linux/all/include/openssl/safestack.h:186:42: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  207.  # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
  208.                                           ^
  209. /home/devena/libsc/linux/all/include/openssl/safestack.h:221:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’
  210.  DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
  211.  ^
  212. /home/devena/libsc/linux/all/include/openssl/crypto.h: In function ‘int sk_void_num(const stack_st_void*)’:
  213. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_void*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  214.          return sk_num((_STACK *)sk); \
  215.                                  ^
  216. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  217.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  218.                              ^
  219. /home/devena/libsc/linux/all/include/openssl/crypto.h:263:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  220.  DEFINE_STACK_OF(void)
  221.  ^
  222. /home/devena/libsc/linux/all/include/openssl/crypto.h: In function ‘void* sk_void_value(const stack_st_void*, int)’:
  223. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_void*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  224.          return (t2 *)sk_value((_STACK *)sk, idx); \
  225.                                          ^
  226. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  227.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  228.                              ^
  229. /home/devena/libsc/linux/all/include/openssl/crypto.h:263:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  230.  DEFINE_STACK_OF(void)
  231.  ^
  232. /home/devena/libsc/linux/all/include/openssl/crypto.h: In function ‘void sk_void_free(const stack_st_void*)’:
  233. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_void*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  234.          sk_free((_STACK *)sk); \
  235.                            ^
  236. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  237.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  238.                              ^
  239. /home/devena/libsc/linux/all/include/openssl/crypto.h:263:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  240.  DEFINE_STACK_OF(void)
  241.  ^
  242. /home/devena/libsc/linux/all/include/openssl/crypto.h: In function ‘void sk_void_zero(const stack_st_void*)’:
  243. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_void*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  244.          sk_zero((_STACK *)sk); \
  245.                            ^
  246. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  247.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  248.                              ^
  249. /home/devena/libsc/linux/all/include/openssl/crypto.h:263:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  250.  DEFINE_STACK_OF(void)
  251.  ^
  252. /home/devena/libsc/linux/all/include/openssl/crypto.h: In function ‘void sk_void_sort(const stack_st_void*)’:
  253. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_void*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  254.          sk_sort((_STACK *)sk); \
  255.                            ^
  256. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  257.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  258.                              ^
  259. /home/devena/libsc/linux/all/include/openssl/crypto.h:263:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  260.  DEFINE_STACK_OF(void)
  261.  ^
  262. /home/devena/libsc/linux/all/include/openssl/crypto.h: In function ‘int sk_void_is_sorted(const stack_st_void*)’:
  263. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_void*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  264.          return sk_is_sorted((_STACK *)sk); \
  265.                                        ^
  266. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  267.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  268.                              ^
  269. /home/devena/libsc/linux/all/include/openssl/crypto.h:263:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  270.  DEFINE_STACK_OF(void)
  271.  ^
  272. /home/devena/libsc/linux/all/include/openssl/bio.h: In function ‘int sk_BIO_num(const stack_st_BIO*)’:
  273. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_BIO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  274.          return sk_num((_STACK *)sk); \
  275.                                  ^
  276. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  277.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  278.                              ^
  279. /home/devena/libsc/linux/all/include/openssl/bio.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  280.  DEFINE_STACK_OF(BIO)
  281.  ^
  282. /home/devena/libsc/linux/all/include/openssl/bio.h: In function ‘BIO* sk_BIO_value(const stack_st_BIO*, int)’:
  283. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_BIO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  284.          return (t2 *)sk_value((_STACK *)sk, idx); \
  285.                                          ^
  286. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  287.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  288.                              ^
  289. /home/devena/libsc/linux/all/include/openssl/bio.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  290.  DEFINE_STACK_OF(BIO)
  291.  ^
  292. /home/devena/libsc/linux/all/include/openssl/bio.h: In function ‘void sk_BIO_free(const stack_st_BIO*)’:
  293. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_BIO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  294.          sk_free((_STACK *)sk); \
  295.                            ^
  296. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  297.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  298.                              ^
  299. /home/devena/libsc/linux/all/include/openssl/bio.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  300.  DEFINE_STACK_OF(BIO)
  301.  ^
  302. /home/devena/libsc/linux/all/include/openssl/bio.h: In function ‘void sk_BIO_zero(const stack_st_BIO*)’:
  303. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_BIO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  304.          sk_zero((_STACK *)sk); \
  305.                            ^
  306. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  307.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  308.                              ^
  309. /home/devena/libsc/linux/all/include/openssl/bio.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  310.  DEFINE_STACK_OF(BIO)
  311.  ^
  312. /home/devena/libsc/linux/all/include/openssl/bio.h: In function ‘void sk_BIO_sort(const stack_st_BIO*)’:
  313. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_BIO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  314.          sk_sort((_STACK *)sk); \
  315.                            ^
  316. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  317.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  318.                              ^
  319. /home/devena/libsc/linux/all/include/openssl/bio.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  320.  DEFINE_STACK_OF(BIO)
  321.  ^
  322. /home/devena/libsc/linux/all/include/openssl/bio.h: In function ‘int sk_BIO_is_sorted(const stack_st_BIO*)’:
  323. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_BIO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  324.          return sk_is_sorted((_STACK *)sk); \
  325.                                        ^
  326. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  327.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  328.                              ^
  329. /home/devena/libsc/linux/all/include/openssl/bio.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  330.  DEFINE_STACK_OF(BIO)
  331.  ^
  332. In file included from /home/devena/libsc/linux/all/include/openssl/conf.h:63:0,
  333.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  334.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  335.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  336.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  337.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  338.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  339.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  340. /home/devena/libsc/linux/all/include/openssl/lhash.h: In function ‘void lh_OPENSSL_STRING_node_stats_bio(const lhash_st_OPENSSL_STRING*, BIO*)’:
  341. /home/devena/libsc/linux/all/include/openssl/lhash.h:222:37: error: cast from type ‘const lhash_st_OPENSSL_STRING*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  342.          lh_node_stats_bio((_LHASH *)lh, out); \
  343.                                      ^
  344. /home/devena/libsc/linux/all/include/openssl/lhash.h:270:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  345.  DEFINE_LHASH_OF(OPENSSL_STRING);
  346.  ^
  347. /home/devena/libsc/linux/all/include/openssl/lhash.h: In function ‘void lh_OPENSSL_STRING_node_usage_stats_bio(const lhash_st_OPENSSL_STRING*, BIO*)’:
  348. /home/devena/libsc/linux/all/include/openssl/lhash.h:226:43: error: cast from type ‘const lhash_st_OPENSSL_STRING*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  349.          lh_node_usage_stats_bio((_LHASH *)lh, out); \
  350.                                            ^
  351. /home/devena/libsc/linux/all/include/openssl/lhash.h:270:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  352.  DEFINE_LHASH_OF(OPENSSL_STRING);
  353.  ^
  354. /home/devena/libsc/linux/all/include/openssl/lhash.h: In function ‘void lh_OPENSSL_STRING_stats_bio(const lhash_st_OPENSSL_STRING*, BIO*)’:
  355. /home/devena/libsc/linux/all/include/openssl/lhash.h:230:32: error: cast from type ‘const lhash_st_OPENSSL_STRING*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  356.          lh_stats_bio((_LHASH *)lh, out); \
  357.                                 ^
  358. /home/devena/libsc/linux/all/include/openssl/lhash.h:270:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  359.  DEFINE_LHASH_OF(OPENSSL_STRING);
  360.  ^
  361. /home/devena/libsc/linux/all/include/openssl/lhash.h: In function ‘void lh_OPENSSL_CSTRING_node_stats_bio(const lhash_st_OPENSSL_CSTRING*, BIO*)’:
  362. /home/devena/libsc/linux/all/include/openssl/lhash.h:222:37: error: cast from type ‘const lhash_st_OPENSSL_CSTRING*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  363.          lh_node_stats_bio((_LHASH *)lh, out); \
  364.                                      ^
  365. /home/devena/libsc/linux/all/include/openssl/lhash.h:271:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  366.  DEFINE_LHASH_OF(OPENSSL_CSTRING);
  367.  ^
  368. /home/devena/libsc/linux/all/include/openssl/lhash.h: In function ‘void lh_OPENSSL_CSTRING_node_usage_stats_bio(const lhash_st_OPENSSL_CSTRING*, BIO*)’:
  369. /home/devena/libsc/linux/all/include/openssl/lhash.h:226:43: error: cast from type ‘const lhash_st_OPENSSL_CSTRING*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  370.          lh_node_usage_stats_bio((_LHASH *)lh, out); \
  371.                                            ^
  372. /home/devena/libsc/linux/all/include/openssl/lhash.h:271:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  373.  DEFINE_LHASH_OF(OPENSSL_CSTRING);
  374.  ^
  375. /home/devena/libsc/linux/all/include/openssl/lhash.h: In function ‘void lh_OPENSSL_CSTRING_stats_bio(const lhash_st_OPENSSL_CSTRING*, BIO*)’:
  376. /home/devena/libsc/linux/all/include/openssl/lhash.h:230:32: error: cast from type ‘const lhash_st_OPENSSL_CSTRING*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  377.          lh_stats_bio((_LHASH *)lh, out); \
  378.                                 ^
  379. /home/devena/libsc/linux/all/include/openssl/lhash.h:271:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  380.  DEFINE_LHASH_OF(OPENSSL_CSTRING);
  381.  ^
  382. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:130:0,
  383.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  384.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  385.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  386.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  387.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  388.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  389.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  390.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  391.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  392. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘int sk_CONF_VALUE_num(const stack_st_CONF_VALUE*)’:
  393. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_CONF_VALUE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  394.          return sk_num((_STACK *)sk); \
  395.                                  ^
  396. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  397.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  398.                              ^
  399. /home/devena/libsc/linux/all/include/openssl/conf.h:80:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  400.  DEFINE_STACK_OF(CONF_VALUE)
  401.  ^
  402. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘CONF_VALUE* sk_CONF_VALUE_value(const stack_st_CONF_VALUE*, int)’:
  403. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_CONF_VALUE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  404.          return (t2 *)sk_value((_STACK *)sk, idx); \
  405.                                          ^
  406. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  407.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  408.                              ^
  409. /home/devena/libsc/linux/all/include/openssl/conf.h:80:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  410.  DEFINE_STACK_OF(CONF_VALUE)
  411.  ^
  412. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_VALUE_free(const stack_st_CONF_VALUE*)’:
  413. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_CONF_VALUE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  414.          sk_free((_STACK *)sk); \
  415.                            ^
  416. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  417.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  418.                              ^
  419. /home/devena/libsc/linux/all/include/openssl/conf.h:80:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  420.  DEFINE_STACK_OF(CONF_VALUE)
  421.  ^
  422. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_VALUE_zero(const stack_st_CONF_VALUE*)’:
  423. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_CONF_VALUE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  424.          sk_zero((_STACK *)sk); \
  425.                            ^
  426. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  427.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  428.                              ^
  429. /home/devena/libsc/linux/all/include/openssl/conf.h:80:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  430.  DEFINE_STACK_OF(CONF_VALUE)
  431.  ^
  432. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_VALUE_sort(const stack_st_CONF_VALUE*)’:
  433. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_CONF_VALUE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  434.          sk_sort((_STACK *)sk); \
  435.                            ^
  436. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  437.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  438.                              ^
  439. /home/devena/libsc/linux/all/include/openssl/conf.h:80:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  440.  DEFINE_STACK_OF(CONF_VALUE)
  441.  ^
  442. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘int sk_CONF_VALUE_is_sorted(const stack_st_CONF_VALUE*)’:
  443. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_CONF_VALUE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  444.          return sk_is_sorted((_STACK *)sk); \
  445.                                        ^
  446. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  447.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  448.                              ^
  449. /home/devena/libsc/linux/all/include/openssl/conf.h:80:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  450.  DEFINE_STACK_OF(CONF_VALUE)
  451.  ^
  452. In file included from /home/devena/libsc/linux/all/include/openssl/conf.h:63:0,
  453.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  454.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  455.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  456.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  457.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  458.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  459.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  460. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void lh_CONF_VALUE_node_stats_bio(const lhash_st_CONF_VALUE*, BIO*)’:
  461. /home/devena/libsc/linux/all/include/openssl/lhash.h:222:37: error: cast from type ‘const lhash_st_CONF_VALUE*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  462.          lh_node_stats_bio((_LHASH *)lh, out); \
  463.                                      ^
  464. /home/devena/libsc/linux/all/include/openssl/conf.h:81:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  465.  DEFINE_LHASH_OF(CONF_VALUE);
  466.  ^
  467. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void lh_CONF_VALUE_node_usage_stats_bio(const lhash_st_CONF_VALUE*, BIO*)’:
  468. /home/devena/libsc/linux/all/include/openssl/lhash.h:226:43: error: cast from type ‘const lhash_st_CONF_VALUE*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  469.          lh_node_usage_stats_bio((_LHASH *)lh, out); \
  470.                                            ^
  471. /home/devena/libsc/linux/all/include/openssl/conf.h:81:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  472.  DEFINE_LHASH_OF(CONF_VALUE);
  473.  ^
  474. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void lh_CONF_VALUE_stats_bio(const lhash_st_CONF_VALUE*, BIO*)’:
  475. /home/devena/libsc/linux/all/include/openssl/lhash.h:230:32: error: cast from type ‘const lhash_st_CONF_VALUE*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  476.          lh_stats_bio((_LHASH *)lh, out); \
  477.                                 ^
  478. /home/devena/libsc/linux/all/include/openssl/conf.h:81:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  479.  DEFINE_LHASH_OF(CONF_VALUE);
  480.  ^
  481. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:130:0,
  482.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  483.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  484.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  485.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  486.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  487.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  488.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  489.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  490.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  491. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘int sk_CONF_MODULE_num(const stack_st_CONF_MODULE*)’:
  492. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_CONF_MODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  493.          return sk_num((_STACK *)sk); \
  494.                                  ^
  495. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  496.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  497.                              ^
  498. /home/devena/libsc/linux/all/include/openssl/conf.h:105:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  499.  DEFINE_STACK_OF(CONF_MODULE)
  500.  ^
  501. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘CONF_MODULE* sk_CONF_MODULE_value(const stack_st_CONF_MODULE*, int)’:
  502. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_CONF_MODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  503.          return (t2 *)sk_value((_STACK *)sk, idx); \
  504.                                          ^
  505. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  506.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  507.                              ^
  508. /home/devena/libsc/linux/all/include/openssl/conf.h:105:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  509.  DEFINE_STACK_OF(CONF_MODULE)
  510.  ^
  511. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_MODULE_free(const stack_st_CONF_MODULE*)’:
  512. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_CONF_MODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  513.          sk_free((_STACK *)sk); \
  514.                            ^
  515. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  516.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  517.                              ^
  518. /home/devena/libsc/linux/all/include/openssl/conf.h:105:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  519.  DEFINE_STACK_OF(CONF_MODULE)
  520.  ^
  521. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_MODULE_zero(const stack_st_CONF_MODULE*)’:
  522. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_CONF_MODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  523.          sk_zero((_STACK *)sk); \
  524.                            ^
  525. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  526.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  527.                              ^
  528. /home/devena/libsc/linux/all/include/openssl/conf.h:105:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  529.  DEFINE_STACK_OF(CONF_MODULE)
  530.  ^
  531. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_MODULE_sort(const stack_st_CONF_MODULE*)’:
  532. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_CONF_MODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  533.          sk_sort((_STACK *)sk); \
  534.                            ^
  535. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  536.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  537.                              ^
  538. /home/devena/libsc/linux/all/include/openssl/conf.h:105:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  539.  DEFINE_STACK_OF(CONF_MODULE)
  540.  ^
  541. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘int sk_CONF_MODULE_is_sorted(const stack_st_CONF_MODULE*)’:
  542. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_CONF_MODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  543.          return sk_is_sorted((_STACK *)sk); \
  544.                                        ^
  545. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  546.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  547.                              ^
  548. /home/devena/libsc/linux/all/include/openssl/conf.h:105:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  549.  DEFINE_STACK_OF(CONF_MODULE)
  550.  ^
  551. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘int sk_CONF_IMODULE_num(const stack_st_CONF_IMODULE*)’:
  552. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_CONF_IMODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  553.          return sk_num((_STACK *)sk); \
  554.                                  ^
  555. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  556.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  557.                              ^
  558. /home/devena/libsc/linux/all/include/openssl/conf.h:106:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  559.  DEFINE_STACK_OF(CONF_IMODULE)
  560.  ^
  561. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘CONF_IMODULE* sk_CONF_IMODULE_value(const stack_st_CONF_IMODULE*, int)’:
  562. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_CONF_IMODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  563.          return (t2 *)sk_value((_STACK *)sk, idx); \
  564.                                          ^
  565. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  566.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  567.                              ^
  568. /home/devena/libsc/linux/all/include/openssl/conf.h:106:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  569.  DEFINE_STACK_OF(CONF_IMODULE)
  570.  ^
  571. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_IMODULE_free(const stack_st_CONF_IMODULE*)’:
  572. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_CONF_IMODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  573.          sk_free((_STACK *)sk); \
  574.                            ^
  575. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  576.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  577.                              ^
  578. /home/devena/libsc/linux/all/include/openssl/conf.h:106:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  579.  DEFINE_STACK_OF(CONF_IMODULE)
  580.  ^
  581. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_IMODULE_zero(const stack_st_CONF_IMODULE*)’:
  582. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_CONF_IMODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  583.          sk_zero((_STACK *)sk); \
  584.                            ^
  585. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  586.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  587.                              ^
  588. /home/devena/libsc/linux/all/include/openssl/conf.h:106:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  589.  DEFINE_STACK_OF(CONF_IMODULE)
  590.  ^
  591. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘void sk_CONF_IMODULE_sort(const stack_st_CONF_IMODULE*)’:
  592. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_CONF_IMODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  593.          sk_sort((_STACK *)sk); \
  594.                            ^
  595. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  596.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  597.                              ^
  598. /home/devena/libsc/linux/all/include/openssl/conf.h:106:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  599.  DEFINE_STACK_OF(CONF_IMODULE)
  600.  ^
  601. /home/devena/libsc/linux/all/include/openssl/conf.h: In function ‘int sk_CONF_IMODULE_is_sorted(const stack_st_CONF_IMODULE*)’:
  602. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_CONF_IMODULE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  603.          return sk_is_sorted((_STACK *)sk); \
  604.                                        ^
  605. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  606.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  607.                              ^
  608. /home/devena/libsc/linux/all/include/openssl/conf.h:106:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  609.  DEFINE_STACK_OF(CONF_IMODULE)
  610.  ^
  611. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_X509_ALGOR_num(const stack_st_X509_ALGOR*)’:
  612. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_ALGOR*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  613.          return sk_num((_STACK *)sk); \
  614.                                  ^
  615. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  616.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  617.                              ^
  618. /home/devena/libsc/linux/all/include/openssl/asn1.h:161:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  619.  DEFINE_STACK_OF(X509_ALGOR)
  620.  ^
  621. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘X509_ALGOR* sk_X509_ALGOR_value(const stack_st_X509_ALGOR*, int)’:
  622. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_ALGOR*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  623.          return (t2 *)sk_value((_STACK *)sk, idx); \
  624.                                          ^
  625. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  626.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  627.                              ^
  628. /home/devena/libsc/linux/all/include/openssl/asn1.h:161:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  629.  DEFINE_STACK_OF(X509_ALGOR)
  630.  ^
  631. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_X509_ALGOR_free(const stack_st_X509_ALGOR*)’:
  632. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_ALGOR*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  633.          sk_free((_STACK *)sk); \
  634.                            ^
  635. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  636.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  637.                              ^
  638. /home/devena/libsc/linux/all/include/openssl/asn1.h:161:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  639.  DEFINE_STACK_OF(X509_ALGOR)
  640.  ^
  641. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_X509_ALGOR_zero(const stack_st_X509_ALGOR*)’:
  642. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_ALGOR*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  643.          sk_zero((_STACK *)sk); \
  644.                            ^
  645. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  646.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  647.                              ^
  648. /home/devena/libsc/linux/all/include/openssl/asn1.h:161:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  649.  DEFINE_STACK_OF(X509_ALGOR)
  650.  ^
  651. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_X509_ALGOR_sort(const stack_st_X509_ALGOR*)’:
  652. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_ALGOR*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  653.          sk_sort((_STACK *)sk); \
  654.                            ^
  655. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  656.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  657.                              ^
  658. /home/devena/libsc/linux/all/include/openssl/asn1.h:161:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  659.  DEFINE_STACK_OF(X509_ALGOR)
  660.  ^
  661. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_X509_ALGOR_is_sorted(const stack_st_X509_ALGOR*)’:
  662. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_ALGOR*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  663.          return sk_is_sorted((_STACK *)sk); \
  664.                                        ^
  665. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  666.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  667.                              ^
  668. /home/devena/libsc/linux/all/include/openssl/asn1.h:161:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  669.  DEFINE_STACK_OF(X509_ALGOR)
  670.  ^
  671. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_STRING_TABLE_num(const stack_st_ASN1_STRING_TABLE*)’:
  672. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_ASN1_STRING_TABLE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  673.          return sk_num((_STACK *)sk); \
  674.                                  ^
  675. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  676.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  677.                              ^
  678. /home/devena/libsc/linux/all/include/openssl/asn1.h:234:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  679.  DEFINE_STACK_OF(ASN1_STRING_TABLE)
  680.  ^
  681. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘ASN1_STRING_TABLE* sk_ASN1_STRING_TABLE_value(const stack_st_ASN1_STRING_TABLE*, int)’:
  682. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_ASN1_STRING_TABLE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  683.          return (t2 *)sk_value((_STACK *)sk, idx); \
  684.                                          ^
  685. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  686.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  687.                              ^
  688. /home/devena/libsc/linux/all/include/openssl/asn1.h:234:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  689.  DEFINE_STACK_OF(ASN1_STRING_TABLE)
  690.  ^
  691. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_STRING_TABLE_free(const stack_st_ASN1_STRING_TABLE*)’:
  692. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_ASN1_STRING_TABLE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  693.          sk_free((_STACK *)sk); \
  694.                            ^
  695. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  696.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  697.                              ^
  698. /home/devena/libsc/linux/all/include/openssl/asn1.h:234:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  699.  DEFINE_STACK_OF(ASN1_STRING_TABLE)
  700.  ^
  701. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_STRING_TABLE_zero(const stack_st_ASN1_STRING_TABLE*)’:
  702. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_ASN1_STRING_TABLE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  703.          sk_zero((_STACK *)sk); \
  704.                            ^
  705. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  706.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  707.                              ^
  708. /home/devena/libsc/linux/all/include/openssl/asn1.h:234:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  709.  DEFINE_STACK_OF(ASN1_STRING_TABLE)
  710.  ^
  711. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_STRING_TABLE_sort(const stack_st_ASN1_STRING_TABLE*)’:
  712. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_ASN1_STRING_TABLE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  713.          sk_sort((_STACK *)sk); \
  714.                            ^
  715. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  716.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  717.                              ^
  718. /home/devena/libsc/linux/all/include/openssl/asn1.h:234:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  719.  DEFINE_STACK_OF(ASN1_STRING_TABLE)
  720.  ^
  721. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_STRING_TABLE_is_sorted(const stack_st_ASN1_STRING_TABLE*)’:
  722. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_ASN1_STRING_TABLE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  723.          return sk_is_sorted((_STACK *)sk); \
  724.                                        ^
  725. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  726.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  727.                              ^
  728. /home/devena/libsc/linux/all/include/openssl/asn1.h:234:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  729.  DEFINE_STACK_OF(ASN1_STRING_TABLE)
  730.  ^
  731. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_INTEGER_num(const stack_st_ASN1_INTEGER*)’:
  732. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_ASN1_INTEGER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  733.          return sk_num((_STACK *)sk); \
  734.                                  ^
  735. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  736.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  737.                              ^
  738. /home/devena/libsc/linux/all/include/openssl/asn1.h:473:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  739.  DEFINE_STACK_OF(ASN1_INTEGER)
  740.  ^
  741. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘ASN1_INTEGER* sk_ASN1_INTEGER_value(const stack_st_ASN1_INTEGER*, int)’:
  742. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_ASN1_INTEGER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  743.          return (t2 *)sk_value((_STACK *)sk, idx); \
  744.                                          ^
  745. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  746.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  747.                              ^
  748. /home/devena/libsc/linux/all/include/openssl/asn1.h:473:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  749.  DEFINE_STACK_OF(ASN1_INTEGER)
  750.  ^
  751. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_INTEGER_free(const stack_st_ASN1_INTEGER*)’:
  752. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_ASN1_INTEGER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  753.          sk_free((_STACK *)sk); \
  754.                            ^
  755. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  756.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  757.                              ^
  758. /home/devena/libsc/linux/all/include/openssl/asn1.h:473:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  759.  DEFINE_STACK_OF(ASN1_INTEGER)
  760.  ^
  761. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_INTEGER_zero(const stack_st_ASN1_INTEGER*)’:
  762. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_ASN1_INTEGER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  763.          sk_zero((_STACK *)sk); \
  764.                            ^
  765. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  766.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  767.                              ^
  768. /home/devena/libsc/linux/all/include/openssl/asn1.h:473:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  769.  DEFINE_STACK_OF(ASN1_INTEGER)
  770.  ^
  771. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_INTEGER_sort(const stack_st_ASN1_INTEGER*)’:
  772. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_ASN1_INTEGER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  773.          sk_sort((_STACK *)sk); \
  774.                            ^
  775. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  776.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  777.                              ^
  778. /home/devena/libsc/linux/all/include/openssl/asn1.h:473:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  779.  DEFINE_STACK_OF(ASN1_INTEGER)
  780.  ^
  781. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_INTEGER_is_sorted(const stack_st_ASN1_INTEGER*)’:
  782. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_ASN1_INTEGER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  783.          return sk_is_sorted((_STACK *)sk); \
  784.                                        ^
  785. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  786.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  787.                              ^
  788. /home/devena/libsc/linux/all/include/openssl/asn1.h:473:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  789.  DEFINE_STACK_OF(ASN1_INTEGER)
  790.  ^
  791. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_GENERALSTRING_num(const stack_st_ASN1_GENERALSTRING*)’:
  792. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_ASN1_GENERALSTRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  793.          return sk_num((_STACK *)sk); \
  794.                                  ^
  795. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  796.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  797.                              ^
  798. /home/devena/libsc/linux/all/include/openssl/asn1.h:475:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  799.  DEFINE_STACK_OF(ASN1_GENERALSTRING)
  800.  ^
  801. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘ASN1_GENERALSTRING* sk_ASN1_GENERALSTRING_value(const stack_st_ASN1_GENERALSTRING*, int)’:
  802. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_ASN1_GENERALSTRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  803.          return (t2 *)sk_value((_STACK *)sk, idx); \
  804.                                          ^
  805. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  806.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  807.                              ^
  808. /home/devena/libsc/linux/all/include/openssl/asn1.h:475:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  809.  DEFINE_STACK_OF(ASN1_GENERALSTRING)
  810.  ^
  811. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_GENERALSTRING_free(const stack_st_ASN1_GENERALSTRING*)’:
  812. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_ASN1_GENERALSTRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  813.          sk_free((_STACK *)sk); \
  814.                            ^
  815. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  816.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  817.                              ^
  818. /home/devena/libsc/linux/all/include/openssl/asn1.h:475:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  819.  DEFINE_STACK_OF(ASN1_GENERALSTRING)
  820.  ^
  821. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_GENERALSTRING_zero(const stack_st_ASN1_GENERALSTRING*)’:
  822. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_ASN1_GENERALSTRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  823.          sk_zero((_STACK *)sk); \
  824.                            ^
  825. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  826.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  827.                              ^
  828. /home/devena/libsc/linux/all/include/openssl/asn1.h:475:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  829.  DEFINE_STACK_OF(ASN1_GENERALSTRING)
  830.  ^
  831. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_GENERALSTRING_sort(const stack_st_ASN1_GENERALSTRING*)’:
  832. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_ASN1_GENERALSTRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  833.          sk_sort((_STACK *)sk); \
  834.                            ^
  835. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  836.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  837.                              ^
  838. /home/devena/libsc/linux/all/include/openssl/asn1.h:475:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  839.  DEFINE_STACK_OF(ASN1_GENERALSTRING)
  840.  ^
  841. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_GENERALSTRING_is_sorted(const stack_st_ASN1_GENERALSTRING*)’:
  842. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_ASN1_GENERALSTRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  843.          return sk_is_sorted((_STACK *)sk); \
  844.                                        ^
  845. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  846.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  847.                              ^
  848. /home/devena/libsc/linux/all/include/openssl/asn1.h:475:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  849.  DEFINE_STACK_OF(ASN1_GENERALSTRING)
  850.  ^
  851. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_TYPE_num(const stack_st_ASN1_TYPE*)’:
  852. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_ASN1_TYPE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  853.          return sk_num((_STACK *)sk); \
  854.                                  ^
  855. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  856.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  857.                              ^
  858. /home/devena/libsc/linux/all/include/openssl/asn1.h:508:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  859.  DEFINE_STACK_OF(ASN1_TYPE)
  860.  ^
  861. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘ASN1_TYPE* sk_ASN1_TYPE_value(const stack_st_ASN1_TYPE*, int)’:
  862. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_ASN1_TYPE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  863.          return (t2 *)sk_value((_STACK *)sk, idx); \
  864.                                          ^
  865. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  866.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  867.                              ^
  868. /home/devena/libsc/linux/all/include/openssl/asn1.h:508:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  869.  DEFINE_STACK_OF(ASN1_TYPE)
  870.  ^
  871. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_TYPE_free(const stack_st_ASN1_TYPE*)’:
  872. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_ASN1_TYPE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  873.          sk_free((_STACK *)sk); \
  874.                            ^
  875. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  876.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  877.                              ^
  878. /home/devena/libsc/linux/all/include/openssl/asn1.h:508:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  879.  DEFINE_STACK_OF(ASN1_TYPE)
  880.  ^
  881. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_TYPE_zero(const stack_st_ASN1_TYPE*)’:
  882. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_ASN1_TYPE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  883.          sk_zero((_STACK *)sk); \
  884.                            ^
  885. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  886.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  887.                              ^
  888. /home/devena/libsc/linux/all/include/openssl/asn1.h:508:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  889.  DEFINE_STACK_OF(ASN1_TYPE)
  890.  ^
  891. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_TYPE_sort(const stack_st_ASN1_TYPE*)’:
  892. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_ASN1_TYPE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  893.          sk_sort((_STACK *)sk); \
  894.                            ^
  895. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  896.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  897.                              ^
  898. /home/devena/libsc/linux/all/include/openssl/asn1.h:508:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  899.  DEFINE_STACK_OF(ASN1_TYPE)
  900.  ^
  901. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_TYPE_is_sorted(const stack_st_ASN1_TYPE*)’:
  902. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_ASN1_TYPE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  903.          return sk_is_sorted((_STACK *)sk); \
  904.                                        ^
  905. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  906.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  907.                              ^
  908. /home/devena/libsc/linux/all/include/openssl/asn1.h:508:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  909.  DEFINE_STACK_OF(ASN1_TYPE)
  910.  ^
  911. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_OBJECT_num(const stack_st_ASN1_OBJECT*)’:
  912. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_ASN1_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  913.          return sk_num((_STACK *)sk); \
  914.                                  ^
  915. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  916.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  917.                              ^
  918. /home/devena/libsc/linux/all/include/openssl/asn1.h:569:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  919.  DEFINE_STACK_OF(ASN1_OBJECT)
  920.  ^
  921. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘ASN1_OBJECT* sk_ASN1_OBJECT_value(const stack_st_ASN1_OBJECT*, int)’:
  922. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_ASN1_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  923.          return (t2 *)sk_value((_STACK *)sk, idx); \
  924.                                          ^
  925. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  926.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  927.                              ^
  928. /home/devena/libsc/linux/all/include/openssl/asn1.h:569:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  929.  DEFINE_STACK_OF(ASN1_OBJECT)
  930.  ^
  931. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_OBJECT_free(const stack_st_ASN1_OBJECT*)’:
  932. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_ASN1_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  933.          sk_free((_STACK *)sk); \
  934.                            ^
  935. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  936.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  937.                              ^
  938. /home/devena/libsc/linux/all/include/openssl/asn1.h:569:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  939.  DEFINE_STACK_OF(ASN1_OBJECT)
  940.  ^
  941. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_OBJECT_zero(const stack_st_ASN1_OBJECT*)’:
  942. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_ASN1_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  943.          sk_zero((_STACK *)sk); \
  944.                            ^
  945. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  946.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  947.                              ^
  948. /home/devena/libsc/linux/all/include/openssl/asn1.h:569:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  949.  DEFINE_STACK_OF(ASN1_OBJECT)
  950.  ^
  951. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘void sk_ASN1_OBJECT_sort(const stack_st_ASN1_OBJECT*)’:
  952. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_ASN1_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  953.          sk_sort((_STACK *)sk); \
  954.                            ^
  955. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  956.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  957.                              ^
  958. /home/devena/libsc/linux/all/include/openssl/asn1.h:569:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  959.  DEFINE_STACK_OF(ASN1_OBJECT)
  960.  ^
  961. /home/devena/libsc/linux/all/include/openssl/asn1.h: In function ‘int sk_ASN1_OBJECT_is_sorted(const stack_st_ASN1_OBJECT*)’:
  962. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_ASN1_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  963.          return sk_is_sorted((_STACK *)sk); \
  964.                                        ^
  965. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  966.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  967.                              ^
  968. /home/devena/libsc/linux/all/include/openssl/asn1.h:569:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  969.  DEFINE_STACK_OF(ASN1_OBJECT)
  970.  ^
  971. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_NAME_ENTRY_num(const stack_st_X509_NAME_ENTRY*)’:
  972. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_NAME_ENTRY*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  973.          return sk_num((_STACK *)sk); \
  974.                                  ^
  975. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  976.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  977.                              ^
  978. /home/devena/libsc/linux/all/include/openssl/x509.h:146:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  979.  DEFINE_STACK_OF(X509_NAME_ENTRY)
  980.  ^
  981. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_NAME_ENTRY* sk_X509_NAME_ENTRY_value(const stack_st_X509_NAME_ENTRY*, int)’:
  982. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_NAME_ENTRY*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  983.          return (t2 *)sk_value((_STACK *)sk, idx); \
  984.                                          ^
  985. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  986.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  987.                              ^
  988. /home/devena/libsc/linux/all/include/openssl/x509.h:146:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  989.  DEFINE_STACK_OF(X509_NAME_ENTRY)
  990.  ^
  991. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_NAME_ENTRY_free(const stack_st_X509_NAME_ENTRY*)’:
  992. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_NAME_ENTRY*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  993.          sk_free((_STACK *)sk); \
  994.                            ^
  995. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  996.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  997.                              ^
  998. /home/devena/libsc/linux/all/include/openssl/x509.h:146:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  999.  DEFINE_STACK_OF(X509_NAME_ENTRY)
  1000.  ^
  1001. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_NAME_ENTRY_zero(const stack_st_X509_NAME_ENTRY*)’:
  1002. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_NAME_ENTRY*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1003.          sk_zero((_STACK *)sk); \
  1004.                            ^
  1005. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1006.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1007.                              ^
  1008. /home/devena/libsc/linux/all/include/openssl/x509.h:146:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1009.  DEFINE_STACK_OF(X509_NAME_ENTRY)
  1010.  ^
  1011. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_NAME_ENTRY_sort(const stack_st_X509_NAME_ENTRY*)’:
  1012. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_NAME_ENTRY*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1013.          sk_sort((_STACK *)sk); \
  1014.                            ^
  1015. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1016.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1017.                              ^
  1018. /home/devena/libsc/linux/all/include/openssl/x509.h:146:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1019.  DEFINE_STACK_OF(X509_NAME_ENTRY)
  1020.  ^
  1021. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_NAME_ENTRY_is_sorted(const stack_st_X509_NAME_ENTRY*)’:
  1022. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_NAME_ENTRY*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1023.          return sk_is_sorted((_STACK *)sk); \
  1024.                                        ^
  1025. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1026.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1027.                              ^
  1028. /home/devena/libsc/linux/all/include/openssl/x509.h:146:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1029.  DEFINE_STACK_OF(X509_NAME_ENTRY)
  1030.  ^
  1031. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_NAME_num(const stack_st_X509_NAME*)’:
  1032. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1033.          return sk_num((_STACK *)sk); \
  1034.                                  ^
  1035. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1036.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1037.                              ^
  1038. /home/devena/libsc/linux/all/include/openssl/x509.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1039.  DEFINE_STACK_OF(X509_NAME)
  1040.  ^
  1041. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_NAME* sk_X509_NAME_value(const stack_st_X509_NAME*, int)’:
  1042. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1043.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1044.                                          ^
  1045. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1046.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1047.                              ^
  1048. /home/devena/libsc/linux/all/include/openssl/x509.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1049.  DEFINE_STACK_OF(X509_NAME)
  1050.  ^
  1051. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_NAME_free(const stack_st_X509_NAME*)’:
  1052. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1053.          sk_free((_STACK *)sk); \
  1054.                            ^
  1055. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1056.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1057.                              ^
  1058. /home/devena/libsc/linux/all/include/openssl/x509.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1059.  DEFINE_STACK_OF(X509_NAME)
  1060.  ^
  1061. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_NAME_zero(const stack_st_X509_NAME*)’:
  1062. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1063.          sk_zero((_STACK *)sk); \
  1064.                            ^
  1065. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1066.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1067.                              ^
  1068. /home/devena/libsc/linux/all/include/openssl/x509.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1069.  DEFINE_STACK_OF(X509_NAME)
  1070.  ^
  1071. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_NAME_sort(const stack_st_X509_NAME*)’:
  1072. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1073.          sk_sort((_STACK *)sk); \
  1074.                            ^
  1075. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1076.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1077.                              ^
  1078. /home/devena/libsc/linux/all/include/openssl/x509.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1079.  DEFINE_STACK_OF(X509_NAME)
  1080.  ^
  1081. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_NAME_is_sorted(const stack_st_X509_NAME*)’:
  1082. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1083.          return sk_is_sorted((_STACK *)sk); \
  1084.                                        ^
  1085. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1086.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1087.                              ^
  1088. /home/devena/libsc/linux/all/include/openssl/x509.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1089.  DEFINE_STACK_OF(X509_NAME)
  1090.  ^
  1091. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_EXTENSION_num(const stack_st_X509_EXTENSION*)’:
  1092. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_EXTENSION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1093.          return sk_num((_STACK *)sk); \
  1094.                                  ^
  1095. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1096.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1097.                              ^
  1098. /home/devena/libsc/linux/all/include/openssl/x509.h:156:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1099.  DEFINE_STACK_OF(X509_EXTENSION)
  1100.  ^
  1101. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_EXTENSION* sk_X509_EXTENSION_value(const stack_st_X509_EXTENSION*, int)’:
  1102. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_EXTENSION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1103.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1104.                                          ^
  1105. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1106.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1107.                              ^
  1108. /home/devena/libsc/linux/all/include/openssl/x509.h:156:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1109.  DEFINE_STACK_OF(X509_EXTENSION)
  1110.  ^
  1111. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_EXTENSION_free(const stack_st_X509_EXTENSION*)’:
  1112. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_EXTENSION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1113.          sk_free((_STACK *)sk); \
  1114.                            ^
  1115. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1116.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1117.                              ^
  1118. /home/devena/libsc/linux/all/include/openssl/x509.h:156:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1119.  DEFINE_STACK_OF(X509_EXTENSION)
  1120.  ^
  1121. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_EXTENSION_zero(const stack_st_X509_EXTENSION*)’:
  1122. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_EXTENSION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1123.          sk_zero((_STACK *)sk); \
  1124.                            ^
  1125. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1126.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1127.                              ^
  1128. /home/devena/libsc/linux/all/include/openssl/x509.h:156:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1129.  DEFINE_STACK_OF(X509_EXTENSION)
  1130.  ^
  1131. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_EXTENSION_sort(const stack_st_X509_EXTENSION*)’:
  1132. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_EXTENSION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1133.          sk_sort((_STACK *)sk); \
  1134.                            ^
  1135. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1136.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1137.                              ^
  1138. /home/devena/libsc/linux/all/include/openssl/x509.h:156:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1139.  DEFINE_STACK_OF(X509_EXTENSION)
  1140.  ^
  1141. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_EXTENSION_is_sorted(const stack_st_X509_EXTENSION*)’:
  1142. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_EXTENSION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1143.          return sk_is_sorted((_STACK *)sk); \
  1144.                                        ^
  1145. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1146.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1147.                              ^
  1148. /home/devena/libsc/linux/all/include/openssl/x509.h:156:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1149.  DEFINE_STACK_OF(X509_EXTENSION)
  1150.  ^
  1151. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_ATTRIBUTE_num(const stack_st_X509_ATTRIBUTE*)’:
  1152. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_ATTRIBUTE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1153.          return sk_num((_STACK *)sk); \
  1154.                                  ^
  1155. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1156.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1157.                              ^
  1158. /home/devena/libsc/linux/all/include/openssl/x509.h:160:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1159.  DEFINE_STACK_OF(X509_ATTRIBUTE)
  1160.  ^
  1161. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_ATTRIBUTE* sk_X509_ATTRIBUTE_value(const stack_st_X509_ATTRIBUTE*, int)’:
  1162. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_ATTRIBUTE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1163.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1164.                                          ^
  1165. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1166.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1167.                              ^
  1168. /home/devena/libsc/linux/all/include/openssl/x509.h:160:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1169.  DEFINE_STACK_OF(X509_ATTRIBUTE)
  1170.  ^
  1171. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_ATTRIBUTE_free(const stack_st_X509_ATTRIBUTE*)’:
  1172. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_ATTRIBUTE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1173.          sk_free((_STACK *)sk); \
  1174.                            ^
  1175. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1176.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1177.                              ^
  1178. /home/devena/libsc/linux/all/include/openssl/x509.h:160:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1179.  DEFINE_STACK_OF(X509_ATTRIBUTE)
  1180.  ^
  1181. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_ATTRIBUTE_zero(const stack_st_X509_ATTRIBUTE*)’:
  1182. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_ATTRIBUTE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1183.          sk_zero((_STACK *)sk); \
  1184.                            ^
  1185. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1186.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1187.                              ^
  1188. /home/devena/libsc/linux/all/include/openssl/x509.h:160:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1189.  DEFINE_STACK_OF(X509_ATTRIBUTE)
  1190.  ^
  1191. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_ATTRIBUTE_sort(const stack_st_X509_ATTRIBUTE*)’:
  1192. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_ATTRIBUTE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1193.          sk_sort((_STACK *)sk); \
  1194.                            ^
  1195. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1196.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1197.                              ^
  1198. /home/devena/libsc/linux/all/include/openssl/x509.h:160:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1199.  DEFINE_STACK_OF(X509_ATTRIBUTE)
  1200.  ^
  1201. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_ATTRIBUTE_is_sorted(const stack_st_X509_ATTRIBUTE*)’:
  1202. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_ATTRIBUTE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1203.          return sk_is_sorted((_STACK *)sk); \
  1204.                                        ^
  1205. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1206.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1207.                              ^
  1208. /home/devena/libsc/linux/all/include/openssl/x509.h:160:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1209.  DEFINE_STACK_OF(X509_ATTRIBUTE)
  1210.  ^
  1211. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_num(const stack_st_X509*)’:
  1212. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1213.          return sk_num((_STACK *)sk); \
  1214.                                  ^
  1215. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1216.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1217.                              ^
  1218. /home/devena/libsc/linux/all/include/openssl/x509.h:170:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1219.  DEFINE_STACK_OF(X509)
  1220.  ^
  1221. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509* sk_X509_value(const stack_st_X509*, int)’:
  1222. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1223.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1224.                                          ^
  1225. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1226.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1227.                              ^
  1228. /home/devena/libsc/linux/all/include/openssl/x509.h:170:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1229.  DEFINE_STACK_OF(X509)
  1230.  ^
  1231. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_free(const stack_st_X509*)’:
  1232. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1233.          sk_free((_STACK *)sk); \
  1234.                            ^
  1235. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1236.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1237.                              ^
  1238. /home/devena/libsc/linux/all/include/openssl/x509.h:170:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1239.  DEFINE_STACK_OF(X509)
  1240.  ^
  1241. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_zero(const stack_st_X509*)’:
  1242. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1243.          sk_zero((_STACK *)sk); \
  1244.                            ^
  1245. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1246.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1247.                              ^
  1248. /home/devena/libsc/linux/all/include/openssl/x509.h:170:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1249.  DEFINE_STACK_OF(X509)
  1250.  ^
  1251. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_sort(const stack_st_X509*)’:
  1252. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1253.          sk_sort((_STACK *)sk); \
  1254.                            ^
  1255. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1256.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1257.                              ^
  1258. /home/devena/libsc/linux/all/include/openssl/x509.h:170:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1259.  DEFINE_STACK_OF(X509)
  1260.  ^
  1261. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_is_sorted(const stack_st_X509*)’:
  1262. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1263.          return sk_is_sorted((_STACK *)sk); \
  1264.                                        ^
  1265. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1266.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1267.                              ^
  1268. /home/devena/libsc/linux/all/include/openssl/x509.h:170:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1269.  DEFINE_STACK_OF(X509)
  1270.  ^
  1271. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_TRUST_num(const stack_st_X509_TRUST*)’:
  1272. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_TRUST*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1273.          return sk_num((_STACK *)sk); \
  1274.                                  ^
  1275. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1276.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1277.                              ^
  1278. /home/devena/libsc/linux/all/include/openssl/x509.h:183:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1279.  DEFINE_STACK_OF(X509_TRUST)
  1280.  ^
  1281. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_TRUST* sk_X509_TRUST_value(const stack_st_X509_TRUST*, int)’:
  1282. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_TRUST*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1283.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1284.                                          ^
  1285. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1286.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1287.                              ^
  1288. /home/devena/libsc/linux/all/include/openssl/x509.h:183:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1289.  DEFINE_STACK_OF(X509_TRUST)
  1290.  ^
  1291. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_TRUST_free(const stack_st_X509_TRUST*)’:
  1292. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_TRUST*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1293.          sk_free((_STACK *)sk); \
  1294.                            ^
  1295. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1296.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1297.                              ^
  1298. /home/devena/libsc/linux/all/include/openssl/x509.h:183:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1299.  DEFINE_STACK_OF(X509_TRUST)
  1300.  ^
  1301. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_TRUST_zero(const stack_st_X509_TRUST*)’:
  1302. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_TRUST*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1303.          sk_zero((_STACK *)sk); \
  1304.                            ^
  1305. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1306.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1307.                              ^
  1308. /home/devena/libsc/linux/all/include/openssl/x509.h:183:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1309.  DEFINE_STACK_OF(X509_TRUST)
  1310.  ^
  1311. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_TRUST_sort(const stack_st_X509_TRUST*)’:
  1312. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_TRUST*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1313.          sk_sort((_STACK *)sk); \
  1314.                            ^
  1315. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1316.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1317.                              ^
  1318. /home/devena/libsc/linux/all/include/openssl/x509.h:183:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1319.  DEFINE_STACK_OF(X509_TRUST)
  1320.  ^
  1321. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_TRUST_is_sorted(const stack_st_X509_TRUST*)’:
  1322. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_TRUST*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1323.          return sk_is_sorted((_STACK *)sk); \
  1324.                                        ^
  1325. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1326.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1327.                              ^
  1328. /home/devena/libsc/linux/all/include/openssl/x509.h:183:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1329.  DEFINE_STACK_OF(X509_TRUST)
  1330.  ^
  1331. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_REVOKED_num(const stack_st_X509_REVOKED*)’:
  1332. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_REVOKED*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1333.          return sk_num((_STACK *)sk); \
  1334.                                  ^
  1335. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1336.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1337.                              ^
  1338. /home/devena/libsc/linux/all/include/openssl/x509.h:289:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1339.  DEFINE_STACK_OF(X509_REVOKED)
  1340.  ^
  1341. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_REVOKED* sk_X509_REVOKED_value(const stack_st_X509_REVOKED*, int)’:
  1342. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_REVOKED*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1343.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1344.                                          ^
  1345. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1346.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1347.                              ^
  1348. /home/devena/libsc/linux/all/include/openssl/x509.h:289:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1349.  DEFINE_STACK_OF(X509_REVOKED)
  1350.  ^
  1351. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_REVOKED_free(const stack_st_X509_REVOKED*)’:
  1352. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_REVOKED*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1353.          sk_free((_STACK *)sk); \
  1354.                            ^
  1355. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1356.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1357.                              ^
  1358. /home/devena/libsc/linux/all/include/openssl/x509.h:289:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1359.  DEFINE_STACK_OF(X509_REVOKED)
  1360.  ^
  1361. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_REVOKED_zero(const stack_st_X509_REVOKED*)’:
  1362. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_REVOKED*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1363.          sk_zero((_STACK *)sk); \
  1364.                            ^
  1365. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1366.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1367.                              ^
  1368. /home/devena/libsc/linux/all/include/openssl/x509.h:289:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1369.  DEFINE_STACK_OF(X509_REVOKED)
  1370.  ^
  1371. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_REVOKED_sort(const stack_st_X509_REVOKED*)’:
  1372. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_REVOKED*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1373.          sk_sort((_STACK *)sk); \
  1374.                            ^
  1375. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1376.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1377.                              ^
  1378. /home/devena/libsc/linux/all/include/openssl/x509.h:289:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1379.  DEFINE_STACK_OF(X509_REVOKED)
  1380.  ^
  1381. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_REVOKED_is_sorted(const stack_st_X509_REVOKED*)’:
  1382. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_REVOKED*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1383.          return sk_is_sorted((_STACK *)sk); \
  1384.                                        ^
  1385. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1386.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1387.                              ^
  1388. /home/devena/libsc/linux/all/include/openssl/x509.h:289:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1389.  DEFINE_STACK_OF(X509_REVOKED)
  1390.  ^
  1391. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_CRL_num(const stack_st_X509_CRL*)’:
  1392. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_CRL*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1393.          return sk_num((_STACK *)sk); \
  1394.                                  ^
  1395. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1396.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1397.                              ^
  1398. /home/devena/libsc/linux/all/include/openssl/x509.h:293:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1399.  DEFINE_STACK_OF(X509_CRL)
  1400.  ^
  1401. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_CRL* sk_X509_CRL_value(const stack_st_X509_CRL*, int)’:
  1402. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_CRL*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1403.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1404.                                          ^
  1405. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1406.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1407.                              ^
  1408. /home/devena/libsc/linux/all/include/openssl/x509.h:293:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1409.  DEFINE_STACK_OF(X509_CRL)
  1410.  ^
  1411. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_CRL_free(const stack_st_X509_CRL*)’:
  1412. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_CRL*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1413.          sk_free((_STACK *)sk); \
  1414.                            ^
  1415. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1416.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1417.                              ^
  1418. /home/devena/libsc/linux/all/include/openssl/x509.h:293:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1419.  DEFINE_STACK_OF(X509_CRL)
  1420.  ^
  1421. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_CRL_zero(const stack_st_X509_CRL*)’:
  1422. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_CRL*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1423.          sk_zero((_STACK *)sk); \
  1424.                            ^
  1425. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1426.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1427.                              ^
  1428. /home/devena/libsc/linux/all/include/openssl/x509.h:293:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1429.  DEFINE_STACK_OF(X509_CRL)
  1430.  ^
  1431. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_CRL_sort(const stack_st_X509_CRL*)’:
  1432. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_CRL*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1433.          sk_sort((_STACK *)sk); \
  1434.                            ^
  1435. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1436.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1437.                              ^
  1438. /home/devena/libsc/linux/all/include/openssl/x509.h:293:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1439.  DEFINE_STACK_OF(X509_CRL)
  1440.  ^
  1441. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_CRL_is_sorted(const stack_st_X509_CRL*)’:
  1442. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_CRL*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1443.          return sk_is_sorted((_STACK *)sk); \
  1444.                                        ^
  1445. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1446.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1447.                              ^
  1448. /home/devena/libsc/linux/all/include/openssl/x509.h:293:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1449.  DEFINE_STACK_OF(X509_CRL)
  1450.  ^
  1451. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_INFO_num(const stack_st_X509_INFO*)’:
  1452. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1453.          return sk_num((_STACK *)sk); \
  1454.                                  ^
  1455. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1456.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1457.                              ^
  1458. /home/devena/libsc/linux/all/include/openssl/x509.h:321:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1459.  DEFINE_STACK_OF(X509_INFO)
  1460.  ^
  1461. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘X509_INFO* sk_X509_INFO_value(const stack_st_X509_INFO*, int)’:
  1462. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1463.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1464.                                          ^
  1465. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1466.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1467.                              ^
  1468. /home/devena/libsc/linux/all/include/openssl/x509.h:321:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1469.  DEFINE_STACK_OF(X509_INFO)
  1470.  ^
  1471. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_INFO_free(const stack_st_X509_INFO*)’:
  1472. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1473.          sk_free((_STACK *)sk); \
  1474.                            ^
  1475. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1476.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1477.                              ^
  1478. /home/devena/libsc/linux/all/include/openssl/x509.h:321:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1479.  DEFINE_STACK_OF(X509_INFO)
  1480.  ^
  1481. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_INFO_zero(const stack_st_X509_INFO*)’:
  1482. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1483.          sk_zero((_STACK *)sk); \
  1484.                            ^
  1485. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1486.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1487.                              ^
  1488. /home/devena/libsc/linux/all/include/openssl/x509.h:321:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1489.  DEFINE_STACK_OF(X509_INFO)
  1490.  ^
  1491. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘void sk_X509_INFO_sort(const stack_st_X509_INFO*)’:
  1492. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1493.          sk_sort((_STACK *)sk); \
  1494.                            ^
  1495. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1496.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1497.                              ^
  1498. /home/devena/libsc/linux/all/include/openssl/x509.h:321:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1499.  DEFINE_STACK_OF(X509_INFO)
  1500.  ^
  1501. /home/devena/libsc/linux/all/include/openssl/x509.h: In function ‘int sk_X509_INFO_is_sorted(const stack_st_X509_INFO*)’:
  1502. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1503.          return sk_is_sorted((_STACK *)sk); \
  1504.                                        ^
  1505. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1506.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1507.                              ^
  1508. /home/devena/libsc/linux/all/include/openssl/x509.h:321:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1509.  DEFINE_STACK_OF(X509_INFO)
  1510.  ^
  1511. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘int sk_X509_LOOKUP_num(const stack_st_X509_LOOKUP*)’:
  1512. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_LOOKUP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1513.          return sk_num((_STACK *)sk); \
  1514.                                  ^
  1515. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1516.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1517.                              ^
  1518. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:123:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1519.  DEFINE_STACK_OF(X509_LOOKUP)
  1520.  ^
  1521. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘X509_LOOKUP* sk_X509_LOOKUP_value(const stack_st_X509_LOOKUP*, int)’:
  1522. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_LOOKUP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1523.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1524.                                          ^
  1525. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1526.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1527.                              ^
  1528. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:123:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1529.  DEFINE_STACK_OF(X509_LOOKUP)
  1530.  ^
  1531. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_LOOKUP_free(const stack_st_X509_LOOKUP*)’:
  1532. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_LOOKUP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1533.          sk_free((_STACK *)sk); \
  1534.                            ^
  1535. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1536.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1537.                              ^
  1538. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:123:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1539.  DEFINE_STACK_OF(X509_LOOKUP)
  1540.  ^
  1541. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_LOOKUP_zero(const stack_st_X509_LOOKUP*)’:
  1542. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_LOOKUP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1543.          sk_zero((_STACK *)sk); \
  1544.                            ^
  1545. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1546.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1547.                              ^
  1548. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:123:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1549.  DEFINE_STACK_OF(X509_LOOKUP)
  1550.  ^
  1551. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_LOOKUP_sort(const stack_st_X509_LOOKUP*)’:
  1552. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_LOOKUP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1553.          sk_sort((_STACK *)sk); \
  1554.                            ^
  1555. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1556.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1557.                              ^
  1558. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:123:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1559.  DEFINE_STACK_OF(X509_LOOKUP)
  1560.  ^
  1561. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘int sk_X509_LOOKUP_is_sorted(const stack_st_X509_LOOKUP*)’:
  1562. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_LOOKUP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1563.          return sk_is_sorted((_STACK *)sk); \
  1564.                                        ^
  1565. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1566.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1567.                              ^
  1568. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:123:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1569.  DEFINE_STACK_OF(X509_LOOKUP)
  1570.  ^
  1571. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘int sk_X509_OBJECT_num(const stack_st_X509_OBJECT*)’:
  1572. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1573.          return sk_num((_STACK *)sk); \
  1574.                                  ^
  1575. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1576.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1577.                              ^
  1578. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:124:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1579.  DEFINE_STACK_OF(X509_OBJECT)
  1580.  ^
  1581. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘X509_OBJECT* sk_X509_OBJECT_value(const stack_st_X509_OBJECT*, int)’:
  1582. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1583.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1584.                                          ^
  1585. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1586.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1587.                              ^
  1588. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:124:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1589.  DEFINE_STACK_OF(X509_OBJECT)
  1590.  ^
  1591. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_OBJECT_free(const stack_st_X509_OBJECT*)’:
  1592. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1593.          sk_free((_STACK *)sk); \
  1594.                            ^
  1595. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1596.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1597.                              ^
  1598. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:124:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1599.  DEFINE_STACK_OF(X509_OBJECT)
  1600.  ^
  1601. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_OBJECT_zero(const stack_st_X509_OBJECT*)’:
  1602. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1603.          sk_zero((_STACK *)sk); \
  1604.                            ^
  1605. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1606.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1607.                              ^
  1608. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:124:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1609.  DEFINE_STACK_OF(X509_OBJECT)
  1610.  ^
  1611. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_OBJECT_sort(const stack_st_X509_OBJECT*)’:
  1612. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1613.          sk_sort((_STACK *)sk); \
  1614.                            ^
  1615. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1616.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1617.                              ^
  1618. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:124:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1619.  DEFINE_STACK_OF(X509_OBJECT)
  1620.  ^
  1621. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘int sk_X509_OBJECT_is_sorted(const stack_st_X509_OBJECT*)’:
  1622. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_OBJECT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1623.          return sk_is_sorted((_STACK *)sk); \
  1624.                                        ^
  1625. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1626.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1627.                              ^
  1628. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:124:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1629.  DEFINE_STACK_OF(X509_OBJECT)
  1630.  ^
  1631. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘int sk_X509_VERIFY_PARAM_num(const stack_st_X509_VERIFY_PARAM*)’:
  1632. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_VERIFY_PARAM*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1633.          return sk_num((_STACK *)sk); \
  1634.                                  ^
  1635. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1636.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1637.                              ^
  1638. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1639.  DEFINE_STACK_OF(X509_VERIFY_PARAM)
  1640.  ^
  1641. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘X509_VERIFY_PARAM* sk_X509_VERIFY_PARAM_value(const stack_st_X509_VERIFY_PARAM*, int)’:
  1642. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_VERIFY_PARAM*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1643.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1644.                                          ^
  1645. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1646.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1647.                              ^
  1648. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1649.  DEFINE_STACK_OF(X509_VERIFY_PARAM)
  1650.  ^
  1651. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_VERIFY_PARAM_free(const stack_st_X509_VERIFY_PARAM*)’:
  1652. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_VERIFY_PARAM*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1653.          sk_free((_STACK *)sk); \
  1654.                            ^
  1655. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1656.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1657.                              ^
  1658. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1659.  DEFINE_STACK_OF(X509_VERIFY_PARAM)
  1660.  ^
  1661. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_VERIFY_PARAM_zero(const stack_st_X509_VERIFY_PARAM*)’:
  1662. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_VERIFY_PARAM*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1663.          sk_zero((_STACK *)sk); \
  1664.                            ^
  1665. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1666.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1667.                              ^
  1668. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1669.  DEFINE_STACK_OF(X509_VERIFY_PARAM)
  1670.  ^
  1671. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘void sk_X509_VERIFY_PARAM_sort(const stack_st_X509_VERIFY_PARAM*)’:
  1672. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_VERIFY_PARAM*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1673.          sk_sort((_STACK *)sk); \
  1674.                            ^
  1675. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1676.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1677.                              ^
  1678. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1679.  DEFINE_STACK_OF(X509_VERIFY_PARAM)
  1680.  ^
  1681. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h: In function ‘int sk_X509_VERIFY_PARAM_is_sorted(const stack_st_X509_VERIFY_PARAM*)’:
  1682. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_VERIFY_PARAM*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1683.          return sk_is_sorted((_STACK *)sk); \
  1684.                                        ^
  1685. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1686.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1687.                              ^
  1688. /home/devena/libsc/linux/all/include/openssl/x509_vfy.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1689.  DEFINE_STACK_OF(X509_VERIFY_PARAM)
  1690.  ^
  1691. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘int sk_PKCS7_SIGNER_INFO_num(const stack_st_PKCS7_SIGNER_INFO*)’:
  1692. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_PKCS7_SIGNER_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1693.          return sk_num((_STACK *)sk); \
  1694.                                  ^
  1695. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1696.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1697.                              ^
  1698. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:103:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1699.  DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
  1700.  ^
  1701. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘PKCS7_SIGNER_INFO* sk_PKCS7_SIGNER_INFO_value(const stack_st_PKCS7_SIGNER_INFO*, int)’:
  1702. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_PKCS7_SIGNER_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1703.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1704.                                          ^
  1705. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1706.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1707.                              ^
  1708. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:103:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1709.  DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
  1710.  ^
  1711. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_SIGNER_INFO_free(const stack_st_PKCS7_SIGNER_INFO*)’:
  1712. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_PKCS7_SIGNER_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1713.          sk_free((_STACK *)sk); \
  1714.                            ^
  1715. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1716.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1717.                              ^
  1718. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:103:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1719.  DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
  1720.  ^
  1721. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_SIGNER_INFO_zero(const stack_st_PKCS7_SIGNER_INFO*)’:
  1722. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_PKCS7_SIGNER_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1723.          sk_zero((_STACK *)sk); \
  1724.                            ^
  1725. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1726.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1727.                              ^
  1728. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:103:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1729.  DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
  1730.  ^
  1731. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_SIGNER_INFO_sort(const stack_st_PKCS7_SIGNER_INFO*)’:
  1732. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_PKCS7_SIGNER_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1733.          sk_sort((_STACK *)sk); \
  1734.                            ^
  1735. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1736.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1737.                              ^
  1738. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:103:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1739.  DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
  1740.  ^
  1741. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘int sk_PKCS7_SIGNER_INFO_is_sorted(const stack_st_PKCS7_SIGNER_INFO*)’:
  1742. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_PKCS7_SIGNER_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1743.          return sk_is_sorted((_STACK *)sk); \
  1744.                                        ^
  1745. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1746.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1747.                              ^
  1748. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:103:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1749.  DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
  1750.  ^
  1751. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘int sk_PKCS7_RECIP_INFO_num(const stack_st_PKCS7_RECIP_INFO*)’:
  1752. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_PKCS7_RECIP_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1753.          return sk_num((_STACK *)sk); \
  1754.                                  ^
  1755. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1756.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1757.                              ^
  1758. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:113:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1759.  DEFINE_STACK_OF(PKCS7_RECIP_INFO)
  1760.  ^
  1761. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘PKCS7_RECIP_INFO* sk_PKCS7_RECIP_INFO_value(const stack_st_PKCS7_RECIP_INFO*, int)’:
  1762. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_PKCS7_RECIP_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1763.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1764.                                          ^
  1765. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1766.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1767.                              ^
  1768. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:113:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1769.  DEFINE_STACK_OF(PKCS7_RECIP_INFO)
  1770.  ^
  1771. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_RECIP_INFO_free(const stack_st_PKCS7_RECIP_INFO*)’:
  1772. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_PKCS7_RECIP_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1773.          sk_free((_STACK *)sk); \
  1774.                            ^
  1775. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1776.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1777.                              ^
  1778. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:113:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1779.  DEFINE_STACK_OF(PKCS7_RECIP_INFO)
  1780.  ^
  1781. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_RECIP_INFO_zero(const stack_st_PKCS7_RECIP_INFO*)’:
  1782. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_PKCS7_RECIP_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1783.          sk_zero((_STACK *)sk); \
  1784.                            ^
  1785. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1786.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1787.                              ^
  1788. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:113:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1789.  DEFINE_STACK_OF(PKCS7_RECIP_INFO)
  1790.  ^
  1791. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_RECIP_INFO_sort(const stack_st_PKCS7_RECIP_INFO*)’:
  1792. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_PKCS7_RECIP_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1793.          sk_sort((_STACK *)sk); \
  1794.                            ^
  1795. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1796.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1797.                              ^
  1798. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:113:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1799.  DEFINE_STACK_OF(PKCS7_RECIP_INFO)
  1800.  ^
  1801. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘int sk_PKCS7_RECIP_INFO_is_sorted(const stack_st_PKCS7_RECIP_INFO*)’:
  1802. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_PKCS7_RECIP_INFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1803.          return sk_is_sorted((_STACK *)sk); \
  1804.                                        ^
  1805. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1806.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1807.                              ^
  1808. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:113:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1809.  DEFINE_STACK_OF(PKCS7_RECIP_INFO)
  1810.  ^
  1811. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘int sk_PKCS7_num(const stack_st_PKCS7*)’:
  1812. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_PKCS7*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1813.          return sk_num((_STACK *)sk); \
  1814.                                  ^
  1815. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1816.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1817.                              ^
  1818. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:200:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1819.  DEFINE_STACK_OF(PKCS7)
  1820.  ^
  1821. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘PKCS7* sk_PKCS7_value(const stack_st_PKCS7*, int)’:
  1822. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_PKCS7*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1823.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1824.                                          ^
  1825. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1826.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1827.                              ^
  1828. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:200:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1829.  DEFINE_STACK_OF(PKCS7)
  1830.  ^
  1831. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_free(const stack_st_PKCS7*)’:
  1832. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_PKCS7*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1833.          sk_free((_STACK *)sk); \
  1834.                            ^
  1835. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1836.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1837.                              ^
  1838. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:200:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1839.  DEFINE_STACK_OF(PKCS7)
  1840.  ^
  1841. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_zero(const stack_st_PKCS7*)’:
  1842. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_PKCS7*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1843.          sk_zero((_STACK *)sk); \
  1844.                            ^
  1845. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1846.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1847.                              ^
  1848. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:200:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1849.  DEFINE_STACK_OF(PKCS7)
  1850.  ^
  1851. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘void sk_PKCS7_sort(const stack_st_PKCS7*)’:
  1852. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_PKCS7*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1853.          sk_sort((_STACK *)sk); \
  1854.                            ^
  1855. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1856.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1857.                              ^
  1858. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:200:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1859.  DEFINE_STACK_OF(PKCS7)
  1860.  ^
  1861. /home/devena/libsc/linux/all/include/openssl/pkcs7.h: In function ‘int sk_PKCS7_is_sorted(const stack_st_PKCS7*)’:
  1862. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_PKCS7*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1863.          return sk_is_sorted((_STACK *)sk); \
  1864.                                        ^
  1865. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1866.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  1867.                              ^
  1868. /home/devena/libsc/linux/all/include/openssl/pkcs7.h:200:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  1869.  DEFINE_STACK_OF(PKCS7)
  1870.  ^
  1871. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_CIPHER_num(const stack_st_SSL_CIPHER*)’:
  1872. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_SSL_CIPHER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1873.          return sk_num((_STACK *)sk); \
  1874.                                  ^
  1875. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1876.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1877.                                    ^
  1878. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1879.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1880.  ^
  1881. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘const SSL_CIPHER* sk_SSL_CIPHER_value(const stack_st_SSL_CIPHER*, int)’:
  1882. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_SSL_CIPHER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1883.          return (t2 *)sk_value((_STACK *)sk, idx); \
  1884.                                          ^
  1885. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1886.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1887.                                    ^
  1888. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1889.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1890.  ^
  1891. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SSL_CIPHER_free(const stack_st_SSL_CIPHER*)’:
  1892. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_SSL_CIPHER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1893.          sk_free((_STACK *)sk); \
  1894.                            ^
  1895. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1896.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1897.                                    ^
  1898. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1899.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1900.  ^
  1901. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SSL_CIPHER_zero(const stack_st_SSL_CIPHER*)’:
  1902. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_SSL_CIPHER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1903.          sk_zero((_STACK *)sk); \
  1904.                            ^
  1905. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1906.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1907.                                    ^
  1908. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1909.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1910.  ^
  1911. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘const SSL_CIPHER* sk_SSL_CIPHER_delete_ptr(stack_st_SSL_CIPHER*, const SSL_CIPHER*)’:
  1912. /home/devena/libsc/linux/all/include/openssl/safestack.h:123:58: error: cast from type ‘const SSL_CIPHER* {aka const ssl_cipher_st*}’ to type ‘void*’ casts away qualifiers [-Werror=cast-qual]
  1913.          return (t2 *)sk_delete_ptr((_STACK *)sk, (void *)ptr); \
  1914.                                                           ^
  1915. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1916.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1917.                                    ^
  1918. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1919.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1920.  ^
  1921. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_CIPHER_push(stack_st_SSL_CIPHER*, const SSL_CIPHER*)’:
  1922. /home/devena/libsc/linux/all/include/openssl/safestack.h:127:46: error: cast from type ‘const SSL_CIPHER* {aka const ssl_cipher_st*}’ to type ‘void*’ casts away qualifiers [-Werror=cast-qual]
  1923.          return sk_push((_STACK *)sk, (void *)ptr); \
  1924.                                               ^
  1925. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1926.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1927.                                    ^
  1928. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1929.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1930.  ^
  1931. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_CIPHER_unshift(stack_st_SSL_CIPHER*, const SSL_CIPHER*)’:
  1932. /home/devena/libsc/linux/all/include/openssl/safestack.h:131:49: error: cast from type ‘const SSL_CIPHER* {aka const ssl_cipher_st*}’ to type ‘void*’ casts away qualifiers [-Werror=cast-qual]
  1933.          return sk_unshift((_STACK *)sk, (void *)ptr); \
  1934.                                                  ^
  1935. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1936.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1937.                                    ^
  1938. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1939.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1940.  ^
  1941. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_CIPHER_insert(stack_st_SSL_CIPHER*, const SSL_CIPHER*, int)’:
  1942. /home/devena/libsc/linux/all/include/openssl/safestack.h:147:48: error: cast from type ‘const SSL_CIPHER* {aka const ssl_cipher_st*}’ to type ‘void*’ casts away qualifiers [-Werror=cast-qual]
  1943.          return sk_insert((_STACK *)sk, (void *)ptr, idx); \
  1944.                                                 ^
  1945. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1946.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1947.                                    ^
  1948. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1949.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1950.  ^
  1951. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘const SSL_CIPHER* sk_SSL_CIPHER_set(stack_st_SSL_CIPHER*, int, const SSL_CIPHER*)’:
  1952. /home/devena/libsc/linux/all/include/openssl/safestack.h:151:56: error: cast from type ‘const SSL_CIPHER* {aka const ssl_cipher_st*}’ to type ‘void*’ casts away qualifiers [-Werror=cast-qual]
  1953.          return (t2 *)sk_set((_STACK *)sk, idx, (void *)ptr); \
  1954.                                                         ^
  1955. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1956.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1957.                                    ^
  1958. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1959.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1960.  ^
  1961. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_CIPHER_find(stack_st_SSL_CIPHER*, const SSL_CIPHER*)’:
  1962. /home/devena/libsc/linux/all/include/openssl/safestack.h:155:46: error: cast from type ‘const SSL_CIPHER* {aka const ssl_cipher_st*}’ to type ‘void*’ casts away qualifiers [-Werror=cast-qual]
  1963.          return sk_find((_STACK *)sk, (void *)ptr); \
  1964.                                               ^
  1965. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1966.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1967.                                    ^
  1968. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1969.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1970.  ^
  1971. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_CIPHER_find_ex(stack_st_SSL_CIPHER*, const SSL_CIPHER*)’:
  1972. /home/devena/libsc/linux/all/include/openssl/safestack.h:159:49: error: cast from type ‘const SSL_CIPHER* {aka const ssl_cipher_st*}’ to type ‘void*’ casts away qualifiers [-Werror=cast-qual]
  1973.          return sk_find_ex((_STACK *)sk, (void *)ptr); \
  1974.                                                  ^
  1975. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1976.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1977.                                    ^
  1978. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1979.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1980.  ^
  1981. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SSL_CIPHER_sort(const stack_st_SSL_CIPHER*)’:
  1982. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_SSL_CIPHER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1983.          sk_sort((_STACK *)sk); \
  1984.                            ^
  1985. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1986.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1987.                                    ^
  1988. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1989.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  1990.  ^
  1991. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_CIPHER_is_sorted(const stack_st_SSL_CIPHER*)’:
  1992. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_SSL_CIPHER*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  1993.          return sk_is_sorted((_STACK *)sk); \
  1994.                                        ^
  1995. /home/devena/libsc/linux/all/include/openssl/safestack.h:188:35: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  1996.  # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
  1997.                                    ^
  1998. /home/devena/libsc/linux/all/include/openssl/ssl.h:330:1: note: in expansion of macro ‘DEFINE_STACK_OF_CONST’
  1999.  DEFINE_STACK_OF_CONST(SSL_CIPHER)
  2000.  ^
  2001. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_COMP_num(const stack_st_SSL_COMP*)’:
  2002. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_SSL_COMP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2003.          return sk_num((_STACK *)sk); \
  2004.                                  ^
  2005. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2006.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2007.                              ^
  2008. /home/devena/libsc/linux/all/include/openssl/ssl.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2009.  DEFINE_STACK_OF(SSL_COMP)
  2010.  ^
  2011. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘SSL_COMP* sk_SSL_COMP_value(const stack_st_SSL_COMP*, int)’:
  2012. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_SSL_COMP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2013.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2014.                                          ^
  2015. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2016.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2017.                              ^
  2018. /home/devena/libsc/linux/all/include/openssl/ssl.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2019.  DEFINE_STACK_OF(SSL_COMP)
  2020.  ^
  2021. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SSL_COMP_free(const stack_st_SSL_COMP*)’:
  2022. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_SSL_COMP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2023.          sk_free((_STACK *)sk); \
  2024.                            ^
  2025. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2026.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2027.                              ^
  2028. /home/devena/libsc/linux/all/include/openssl/ssl.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2029.  DEFINE_STACK_OF(SSL_COMP)
  2030.  ^
  2031. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SSL_COMP_zero(const stack_st_SSL_COMP*)’:
  2032. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_SSL_COMP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2033.          sk_zero((_STACK *)sk); \
  2034.                            ^
  2035. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2036.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2037.                              ^
  2038. /home/devena/libsc/linux/all/include/openssl/ssl.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2039.  DEFINE_STACK_OF(SSL_COMP)
  2040.  ^
  2041. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SSL_COMP_sort(const stack_st_SSL_COMP*)’:
  2042. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_SSL_COMP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2043.          sk_sort((_STACK *)sk); \
  2044.                            ^
  2045. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2046.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2047.                              ^
  2048. /home/devena/libsc/linux/all/include/openssl/ssl.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2049.  DEFINE_STACK_OF(SSL_COMP)
  2050.  ^
  2051. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SSL_COMP_is_sorted(const stack_st_SSL_COMP*)’:
  2052. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_SSL_COMP*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2053.          return sk_is_sorted((_STACK *)sk); \
  2054.                                        ^
  2055. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2056.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2057.                              ^
  2058. /home/devena/libsc/linux/all/include/openssl/ssl.h:331:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2059.  DEFINE_STACK_OF(SSL_COMP)
  2060.  ^
  2061. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SRTP_PROTECTION_PROFILE_num(const stack_st_SRTP_PROTECTION_PROFILE*)’:
  2062. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_SRTP_PROTECTION_PROFILE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2063.          return sk_num((_STACK *)sk); \
  2064.                                  ^
  2065. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2066.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2067.                              ^
  2068. /home/devena/libsc/linux/all/include/openssl/ssl.h:339:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2069.  DEFINE_STACK_OF(SRTP_PROTECTION_PROFILE)
  2070.  ^
  2071. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘SRTP_PROTECTION_PROFILE* sk_SRTP_PROTECTION_PROFILE_value(const stack_st_SRTP_PROTECTION_PROFILE*, int)’:
  2072. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_SRTP_PROTECTION_PROFILE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2073.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2074.                                          ^
  2075. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2076.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2077.                              ^
  2078. /home/devena/libsc/linux/all/include/openssl/ssl.h:339:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2079.  DEFINE_STACK_OF(SRTP_PROTECTION_PROFILE)
  2080.  ^
  2081. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SRTP_PROTECTION_PROFILE_free(const stack_st_SRTP_PROTECTION_PROFILE*)’:
  2082. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_SRTP_PROTECTION_PROFILE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2083.          sk_free((_STACK *)sk); \
  2084.                            ^
  2085. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2086.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2087.                              ^
  2088. /home/devena/libsc/linux/all/include/openssl/ssl.h:339:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2089.  DEFINE_STACK_OF(SRTP_PROTECTION_PROFILE)
  2090.  ^
  2091. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SRTP_PROTECTION_PROFILE_zero(const stack_st_SRTP_PROTECTION_PROFILE*)’:
  2092. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_SRTP_PROTECTION_PROFILE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2093.          sk_zero((_STACK *)sk); \
  2094.                            ^
  2095. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2096.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2097.                              ^
  2098. /home/devena/libsc/linux/all/include/openssl/ssl.h:339:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2099.  DEFINE_STACK_OF(SRTP_PROTECTION_PROFILE)
  2100.  ^
  2101. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘void sk_SRTP_PROTECTION_PROFILE_sort(const stack_st_SRTP_PROTECTION_PROFILE*)’:
  2102. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_SRTP_PROTECTION_PROFILE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2103.          sk_sort((_STACK *)sk); \
  2104.                            ^
  2105. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2106.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2107.                              ^
  2108. /home/devena/libsc/linux/all/include/openssl/ssl.h:339:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2109.  DEFINE_STACK_OF(SRTP_PROTECTION_PROFILE)
  2110.  ^
  2111. /home/devena/libsc/linux/all/include/openssl/ssl.h: In function ‘int sk_SRTP_PROTECTION_PROFILE_is_sorted(const stack_st_SRTP_PROTECTION_PROFILE*)’:
  2112. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_SRTP_PROTECTION_PROFILE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2113.          return sk_is_sorted((_STACK *)sk); \
  2114.                                        ^
  2115. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2116.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2117.                              ^
  2118. /home/devena/libsc/linux/all/include/openssl/ssl.h:339:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2119.  DEFINE_STACK_OF(SRTP_PROTECTION_PROFILE)
  2120.  ^
  2121. /home/devena/libsc/linux/all/include/openssl/ui.h: In function ‘int sk_UI_STRING_num(const stack_st_UI_STRING*)’:
  2122. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_UI_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2123.          return sk_num((_STACK *)sk); \
  2124.                                  ^
  2125. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2126.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2127.                              ^
  2128. /home/devena/libsc/linux/all/include/openssl/ui.h:307:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2129.  DEFINE_STACK_OF(UI_STRING)
  2130.  ^
  2131. /home/devena/libsc/linux/all/include/openssl/ui.h: In function ‘UI_STRING* sk_UI_STRING_value(const stack_st_UI_STRING*, int)’:
  2132. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_UI_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2133.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2134.                                          ^
  2135. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2136.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2137.                              ^
  2138. /home/devena/libsc/linux/all/include/openssl/ui.h:307:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2139.  DEFINE_STACK_OF(UI_STRING)
  2140.  ^
  2141. /home/devena/libsc/linux/all/include/openssl/ui.h: In function ‘void sk_UI_STRING_free(const stack_st_UI_STRING*)’:
  2142. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_UI_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2143.          sk_free((_STACK *)sk); \
  2144.                            ^
  2145. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2146.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2147.                              ^
  2148. /home/devena/libsc/linux/all/include/openssl/ui.h:307:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2149.  DEFINE_STACK_OF(UI_STRING)
  2150.  ^
  2151. /home/devena/libsc/linux/all/include/openssl/ui.h: In function ‘void sk_UI_STRING_zero(const stack_st_UI_STRING*)’:
  2152. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_UI_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2153.          sk_zero((_STACK *)sk); \
  2154.                            ^
  2155. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2156.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2157.                              ^
  2158. /home/devena/libsc/linux/all/include/openssl/ui.h:307:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2159.  DEFINE_STACK_OF(UI_STRING)
  2160.  ^
  2161. /home/devena/libsc/linux/all/include/openssl/ui.h: In function ‘void sk_UI_STRING_sort(const stack_st_UI_STRING*)’:
  2162. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_UI_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2163.          sk_sort((_STACK *)sk); \
  2164.                            ^
  2165. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2166.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2167.                              ^
  2168. /home/devena/libsc/linux/all/include/openssl/ui.h:307:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2169.  DEFINE_STACK_OF(UI_STRING)
  2170.  ^
  2171. /home/devena/libsc/linux/all/include/openssl/ui.h: In function ‘int sk_UI_STRING_is_sorted(const stack_st_UI_STRING*)’:
  2172. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_UI_STRING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2173.          return sk_is_sorted((_STACK *)sk); \
  2174.                                        ^
  2175. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2176.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2177.                              ^
  2178. /home/devena/libsc/linux/all/include/openssl/ui.h:307:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2179.  DEFINE_STACK_OF(UI_STRING)
  2180.  ^
  2181. In file included from /home/devena/libsc/linux/all/include/openssl/conf.h:63:0,
  2182.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  2183.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  2184.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  2185.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  2186.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  2187.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  2188.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  2189. /home/devena/libsc/linux/all/include/openssl/err.h: In function ‘void lh_ERR_STRING_DATA_node_stats_bio(const lhash_st_ERR_STRING_DATA*, BIO*)’:
  2190. /home/devena/libsc/linux/all/include/openssl/lhash.h:222:37: error: cast from type ‘const lhash_st_ERR_STRING_DATA*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  2191.          lh_node_stats_bio((_LHASH *)lh, out); \
  2192.                                      ^
  2193. /home/devena/libsc/linux/all/include/openssl/err.h:318:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  2194.  DEFINE_LHASH_OF(ERR_STRING_DATA);
  2195.  ^
  2196. /home/devena/libsc/linux/all/include/openssl/err.h: In function ‘void lh_ERR_STRING_DATA_node_usage_stats_bio(const lhash_st_ERR_STRING_DATA*, BIO*)’:
  2197. /home/devena/libsc/linux/all/include/openssl/lhash.h:226:43: error: cast from type ‘const lhash_st_ERR_STRING_DATA*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  2198.          lh_node_usage_stats_bio((_LHASH *)lh, out); \
  2199.                                            ^
  2200. /home/devena/libsc/linux/all/include/openssl/err.h:318:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  2201.  DEFINE_LHASH_OF(ERR_STRING_DATA);
  2202.  ^
  2203. /home/devena/libsc/linux/all/include/openssl/err.h: In function ‘void lh_ERR_STRING_DATA_stats_bio(const lhash_st_ERR_STRING_DATA*, BIO*)’:
  2204. /home/devena/libsc/linux/all/include/openssl/lhash.h:230:32: error: cast from type ‘const lhash_st_ERR_STRING_DATA*’ to type ‘_LHASH* {aka lhash_st*}’ casts away qualifiers [-Werror=cast-qual]
  2205.          lh_stats_bio((_LHASH *)lh, out); \
  2206.                                 ^
  2207. /home/devena/libsc/linux/all/include/openssl/err.h:318:1: note: in expansion of macro ‘DEFINE_LHASH_OF’
  2208.  DEFINE_LHASH_OF(ERR_STRING_DATA);
  2209.  ^
  2210. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:130:0,
  2211.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  2212.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  2213.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  2214.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  2215.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  2216.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  2217.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  2218.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  2219.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  2220. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_X509V3_EXT_METHOD_num(const stack_st_X509V3_EXT_METHOD*)’:
  2221. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509V3_EXT_METHOD*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2222.          return sk_num((_STACK *)sk); \
  2223.                                  ^
  2224. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2225.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2226.                              ^
  2227. /home/devena/libsc/linux/all/include/openssl/x509v3.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2228.  DEFINE_STACK_OF(X509V3_EXT_METHOD)
  2229.  ^
  2230. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘X509V3_EXT_METHOD* sk_X509V3_EXT_METHOD_value(const stack_st_X509V3_EXT_METHOD*, int)’:
  2231. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509V3_EXT_METHOD*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2232.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2233.                                          ^
  2234. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2235.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2236.                              ^
  2237. /home/devena/libsc/linux/all/include/openssl/x509v3.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2238.  DEFINE_STACK_OF(X509V3_EXT_METHOD)
  2239.  ^
  2240. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509V3_EXT_METHOD_free(const stack_st_X509V3_EXT_METHOD*)’:
  2241. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509V3_EXT_METHOD*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2242.          sk_free((_STACK *)sk); \
  2243.                            ^
  2244. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2245.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2246.                              ^
  2247. /home/devena/libsc/linux/all/include/openssl/x509v3.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2248.  DEFINE_STACK_OF(X509V3_EXT_METHOD)
  2249.  ^
  2250. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509V3_EXT_METHOD_zero(const stack_st_X509V3_EXT_METHOD*)’:
  2251. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509V3_EXT_METHOD*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2252.          sk_zero((_STACK *)sk); \
  2253.                            ^
  2254. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2255.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2256.                              ^
  2257. /home/devena/libsc/linux/all/include/openssl/x509v3.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2258.  DEFINE_STACK_OF(X509V3_EXT_METHOD)
  2259.  ^
  2260. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509V3_EXT_METHOD_sort(const stack_st_X509V3_EXT_METHOD*)’:
  2261. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509V3_EXT_METHOD*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2262.          sk_sort((_STACK *)sk); \
  2263.                            ^
  2264. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2265.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2266.                              ^
  2267. /home/devena/libsc/linux/all/include/openssl/x509v3.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2268.  DEFINE_STACK_OF(X509V3_EXT_METHOD)
  2269.  ^
  2270. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_X509V3_EXT_METHOD_is_sorted(const stack_st_X509V3_EXT_METHOD*)’:
  2271. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509V3_EXT_METHOD*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2272.          return sk_is_sorted((_STACK *)sk); \
  2273.                                        ^
  2274. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2275.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2276.                              ^
  2277. /home/devena/libsc/linux/all/include/openssl/x509v3.h:148:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2278.  DEFINE_STACK_OF(X509V3_EXT_METHOD)
  2279.  ^
  2280. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_GENERAL_NAME_num(const stack_st_GENERAL_NAME*)’:
  2281. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_GENERAL_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2282.          return sk_num((_STACK *)sk); \
  2283.                                  ^
  2284. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2285.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2286.                              ^
  2287. /home/devena/libsc/linux/all/include/openssl/x509v3.h:220:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2288.  DEFINE_STACK_OF(GENERAL_NAME)
  2289.  ^
  2290. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘GENERAL_NAME* sk_GENERAL_NAME_value(const stack_st_GENERAL_NAME*, int)’:
  2291. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_GENERAL_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2292.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2293.                                          ^
  2294. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2295.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2296.                              ^
  2297. /home/devena/libsc/linux/all/include/openssl/x509v3.h:220:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2298.  DEFINE_STACK_OF(GENERAL_NAME)
  2299.  ^
  2300. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_NAME_free(const stack_st_GENERAL_NAME*)’:
  2301. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_GENERAL_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2302.          sk_free((_STACK *)sk); \
  2303.                            ^
  2304. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2305.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2306.                              ^
  2307. /home/devena/libsc/linux/all/include/openssl/x509v3.h:220:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2308.  DEFINE_STACK_OF(GENERAL_NAME)
  2309.  ^
  2310. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_NAME_zero(const stack_st_GENERAL_NAME*)’:
  2311. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_GENERAL_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2312.          sk_zero((_STACK *)sk); \
  2313.                            ^
  2314. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2315.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2316.                              ^
  2317. /home/devena/libsc/linux/all/include/openssl/x509v3.h:220:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2318.  DEFINE_STACK_OF(GENERAL_NAME)
  2319.  ^
  2320. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_NAME_sort(const stack_st_GENERAL_NAME*)’:
  2321. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_GENERAL_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2322.          sk_sort((_STACK *)sk); \
  2323.                            ^
  2324. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2325.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2326.                              ^
  2327. /home/devena/libsc/linux/all/include/openssl/x509v3.h:220:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2328.  DEFINE_STACK_OF(GENERAL_NAME)
  2329.  ^
  2330. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_GENERAL_NAME_is_sorted(const stack_st_GENERAL_NAME*)’:
  2331. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_GENERAL_NAME*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2332.          return sk_is_sorted((_STACK *)sk); \
  2333.                                        ^
  2334. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2335.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2336.                              ^
  2337. /home/devena/libsc/linux/all/include/openssl/x509v3.h:220:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2338.  DEFINE_STACK_OF(GENERAL_NAME)
  2339.  ^
  2340. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_GENERAL_NAMES_num(const stack_st_GENERAL_NAMES*)’:
  2341. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_GENERAL_NAMES*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2342.          return sk_num((_STACK *)sk); \
  2343.                                  ^
  2344. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2345.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2346.                              ^
  2347. /home/devena/libsc/linux/all/include/openssl/x509v3.h:222:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2348.  DEFINE_STACK_OF(GENERAL_NAMES)
  2349.  ^
  2350. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘GENERAL_NAMES* sk_GENERAL_NAMES_value(const stack_st_GENERAL_NAMES*, int)’:
  2351. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_GENERAL_NAMES*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2352.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2353.                                          ^
  2354. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2355.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2356.                              ^
  2357. /home/devena/libsc/linux/all/include/openssl/x509v3.h:222:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2358.  DEFINE_STACK_OF(GENERAL_NAMES)
  2359.  ^
  2360. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_NAMES_free(const stack_st_GENERAL_NAMES*)’:
  2361. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_GENERAL_NAMES*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2362.          sk_free((_STACK *)sk); \
  2363.                            ^
  2364. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2365.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2366.                              ^
  2367. /home/devena/libsc/linux/all/include/openssl/x509v3.h:222:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2368.  DEFINE_STACK_OF(GENERAL_NAMES)
  2369.  ^
  2370. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_NAMES_zero(const stack_st_GENERAL_NAMES*)’:
  2371. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_GENERAL_NAMES*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2372.          sk_zero((_STACK *)sk); \
  2373.                            ^
  2374. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2375.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2376.                              ^
  2377. /home/devena/libsc/linux/all/include/openssl/x509v3.h:222:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2378.  DEFINE_STACK_OF(GENERAL_NAMES)
  2379.  ^
  2380. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_NAMES_sort(const stack_st_GENERAL_NAMES*)’:
  2381. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_GENERAL_NAMES*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2382.          sk_sort((_STACK *)sk); \
  2383.                            ^
  2384. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2385.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2386.                              ^
  2387. /home/devena/libsc/linux/all/include/openssl/x509v3.h:222:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2388.  DEFINE_STACK_OF(GENERAL_NAMES)
  2389.  ^
  2390. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_GENERAL_NAMES_is_sorted(const stack_st_GENERAL_NAMES*)’:
  2391. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_GENERAL_NAMES*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2392.          return sk_is_sorted((_STACK *)sk); \
  2393.                                        ^
  2394. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2395.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2396.                              ^
  2397. /home/devena/libsc/linux/all/include/openssl/x509v3.h:222:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2398.  DEFINE_STACK_OF(GENERAL_NAMES)
  2399.  ^
  2400. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_ACCESS_DESCRIPTION_num(const stack_st_ACCESS_DESCRIPTION*)’:
  2401. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_ACCESS_DESCRIPTION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2402.          return sk_num((_STACK *)sk); \
  2403.                                  ^
  2404. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2405.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2406.                              ^
  2407. /home/devena/libsc/linux/all/include/openssl/x509v3.h:224:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2408.  DEFINE_STACK_OF(ACCESS_DESCRIPTION)
  2409.  ^
  2410. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘ACCESS_DESCRIPTION* sk_ACCESS_DESCRIPTION_value(const stack_st_ACCESS_DESCRIPTION*, int)’:
  2411. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_ACCESS_DESCRIPTION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2412.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2413.                                          ^
  2414. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2415.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2416.                              ^
  2417. /home/devena/libsc/linux/all/include/openssl/x509v3.h:224:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2418.  DEFINE_STACK_OF(ACCESS_DESCRIPTION)
  2419.  ^
  2420. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_ACCESS_DESCRIPTION_free(const stack_st_ACCESS_DESCRIPTION*)’:
  2421. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_ACCESS_DESCRIPTION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2422.          sk_free((_STACK *)sk); \
  2423.                            ^
  2424. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2425.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2426.                              ^
  2427. /home/devena/libsc/linux/all/include/openssl/x509v3.h:224:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2428.  DEFINE_STACK_OF(ACCESS_DESCRIPTION)
  2429.  ^
  2430. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_ACCESS_DESCRIPTION_zero(const stack_st_ACCESS_DESCRIPTION*)’:
  2431. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_ACCESS_DESCRIPTION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2432.          sk_zero((_STACK *)sk); \
  2433.                            ^
  2434. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2435.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2436.                              ^
  2437. /home/devena/libsc/linux/all/include/openssl/x509v3.h:224:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2438.  DEFINE_STACK_OF(ACCESS_DESCRIPTION)
  2439.  ^
  2440. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_ACCESS_DESCRIPTION_sort(const stack_st_ACCESS_DESCRIPTION*)’:
  2441. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_ACCESS_DESCRIPTION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2442.          sk_sort((_STACK *)sk); \
  2443.                            ^
  2444. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2445.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2446.                              ^
  2447. /home/devena/libsc/linux/all/include/openssl/x509v3.h:224:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2448.  DEFINE_STACK_OF(ACCESS_DESCRIPTION)
  2449.  ^
  2450. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_ACCESS_DESCRIPTION_is_sorted(const stack_st_ACCESS_DESCRIPTION*)’:
  2451. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_ACCESS_DESCRIPTION*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2452.          return sk_is_sorted((_STACK *)sk); \
  2453.                                        ^
  2454. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2455.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2456.                              ^
  2457. /home/devena/libsc/linux/all/include/openssl/x509v3.h:224:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2458.  DEFINE_STACK_OF(ACCESS_DESCRIPTION)
  2459.  ^
  2460. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_DIST_POINT_num(const stack_st_DIST_POINT*)’:
  2461. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_DIST_POINT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2462.          return sk_num((_STACK *)sk); \
  2463.                                  ^
  2464. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2465.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2466.                              ^
  2467. /home/devena/libsc/linux/all/include/openssl/x509v3.h:259:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2468.  DEFINE_STACK_OF(DIST_POINT)
  2469.  ^
  2470. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘DIST_POINT* sk_DIST_POINT_value(const stack_st_DIST_POINT*, int)’:
  2471. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_DIST_POINT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2472.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2473.                                          ^
  2474. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2475.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2476.                              ^
  2477. /home/devena/libsc/linux/all/include/openssl/x509v3.h:259:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2478.  DEFINE_STACK_OF(DIST_POINT)
  2479.  ^
  2480. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_DIST_POINT_free(const stack_st_DIST_POINT*)’:
  2481. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_DIST_POINT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2482.          sk_free((_STACK *)sk); \
  2483.                            ^
  2484. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2485.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2486.                              ^
  2487. /home/devena/libsc/linux/all/include/openssl/x509v3.h:259:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2488.  DEFINE_STACK_OF(DIST_POINT)
  2489.  ^
  2490. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_DIST_POINT_zero(const stack_st_DIST_POINT*)’:
  2491. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_DIST_POINT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2492.          sk_zero((_STACK *)sk); \
  2493.                            ^
  2494. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2495.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2496.                              ^
  2497. /home/devena/libsc/linux/all/include/openssl/x509v3.h:259:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2498.  DEFINE_STACK_OF(DIST_POINT)
  2499.  ^
  2500. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_DIST_POINT_sort(const stack_st_DIST_POINT*)’:
  2501. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_DIST_POINT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2502.          sk_sort((_STACK *)sk); \
  2503.                            ^
  2504. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2505.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2506.                              ^
  2507. /home/devena/libsc/linux/all/include/openssl/x509v3.h:259:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2508.  DEFINE_STACK_OF(DIST_POINT)
  2509.  ^
  2510. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_DIST_POINT_is_sorted(const stack_st_DIST_POINT*)’:
  2511. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_DIST_POINT*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2512.          return sk_is_sorted((_STACK *)sk); \
  2513.                                        ^
  2514. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2515.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2516.                              ^
  2517. /home/devena/libsc/linux/all/include/openssl/x509v3.h:259:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2518.  DEFINE_STACK_OF(DIST_POINT)
  2519.  ^
  2520. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_SXNETID_num(const stack_st_SXNETID*)’:
  2521. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_SXNETID*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2522.          return sk_num((_STACK *)sk); \
  2523.                                  ^
  2524. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2525.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2526.                              ^
  2527. /home/devena/libsc/linux/all/include/openssl/x509v3.h:274:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2528.  DEFINE_STACK_OF(SXNETID)
  2529.  ^
  2530. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘SXNETID* sk_SXNETID_value(const stack_st_SXNETID*, int)’:
  2531. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_SXNETID*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2532.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2533.                                          ^
  2534. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2535.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2536.                              ^
  2537. /home/devena/libsc/linux/all/include/openssl/x509v3.h:274:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2538.  DEFINE_STACK_OF(SXNETID)
  2539.  ^
  2540. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_SXNETID_free(const stack_st_SXNETID*)’:
  2541. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_SXNETID*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2542.          sk_free((_STACK *)sk); \
  2543.                            ^
  2544. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2545.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2546.                              ^
  2547. /home/devena/libsc/linux/all/include/openssl/x509v3.h:274:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2548.  DEFINE_STACK_OF(SXNETID)
  2549.  ^
  2550. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_SXNETID_zero(const stack_st_SXNETID*)’:
  2551. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_SXNETID*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2552.          sk_zero((_STACK *)sk); \
  2553.                            ^
  2554. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2555.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2556.                              ^
  2557. /home/devena/libsc/linux/all/include/openssl/x509v3.h:274:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2558.  DEFINE_STACK_OF(SXNETID)
  2559.  ^
  2560. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_SXNETID_sort(const stack_st_SXNETID*)’:
  2561. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_SXNETID*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2562.          sk_sort((_STACK *)sk); \
  2563.                            ^
  2564. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2565.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2566.                              ^
  2567. /home/devena/libsc/linux/all/include/openssl/x509v3.h:274:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2568.  DEFINE_STACK_OF(SXNETID)
  2569.  ^
  2570. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_SXNETID_is_sorted(const stack_st_SXNETID*)’:
  2571. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_SXNETID*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2572.          return sk_is_sorted((_STACK *)sk); \
  2573.                                        ^
  2574. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2575.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2576.                              ^
  2577. /home/devena/libsc/linux/all/include/openssl/x509v3.h:274:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2578.  DEFINE_STACK_OF(SXNETID)
  2579.  ^
  2580. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_POLICYQUALINFO_num(const stack_st_POLICYQUALINFO*)’:
  2581. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_POLICYQUALINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2582.          return sk_num((_STACK *)sk); \
  2583.                                  ^
  2584. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2585.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2586.                              ^
  2587. /home/devena/libsc/linux/all/include/openssl/x509v3.h:300:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2588.  DEFINE_STACK_OF(POLICYQUALINFO)
  2589.  ^
  2590. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘POLICYQUALINFO* sk_POLICYQUALINFO_value(const stack_st_POLICYQUALINFO*, int)’:
  2591. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_POLICYQUALINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2592.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2593.                                          ^
  2594. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2595.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2596.                              ^
  2597. /home/devena/libsc/linux/all/include/openssl/x509v3.h:300:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2598.  DEFINE_STACK_OF(POLICYQUALINFO)
  2599.  ^
  2600. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICYQUALINFO_free(const stack_st_POLICYQUALINFO*)’:
  2601. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_POLICYQUALINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2602.          sk_free((_STACK *)sk); \
  2603.                            ^
  2604. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2605.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2606.                              ^
  2607. /home/devena/libsc/linux/all/include/openssl/x509v3.h:300:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2608.  DEFINE_STACK_OF(POLICYQUALINFO)
  2609.  ^
  2610. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICYQUALINFO_zero(const stack_st_POLICYQUALINFO*)’:
  2611. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_POLICYQUALINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2612.          sk_zero((_STACK *)sk); \
  2613.                            ^
  2614. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2615.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2616.                              ^
  2617. /home/devena/libsc/linux/all/include/openssl/x509v3.h:300:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2618.  DEFINE_STACK_OF(POLICYQUALINFO)
  2619.  ^
  2620. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICYQUALINFO_sort(const stack_st_POLICYQUALINFO*)’:
  2621. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_POLICYQUALINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2622.          sk_sort((_STACK *)sk); \
  2623.                            ^
  2624. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2625.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2626.                              ^
  2627. /home/devena/libsc/linux/all/include/openssl/x509v3.h:300:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2628.  DEFINE_STACK_OF(POLICYQUALINFO)
  2629.  ^
  2630. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_POLICYQUALINFO_is_sorted(const stack_st_POLICYQUALINFO*)’:
  2631. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_POLICYQUALINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2632.          return sk_is_sorted((_STACK *)sk); \
  2633.                                        ^
  2634. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2635.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2636.                              ^
  2637. /home/devena/libsc/linux/all/include/openssl/x509v3.h:300:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2638.  DEFINE_STACK_OF(POLICYQUALINFO)
  2639.  ^
  2640. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_POLICYINFO_num(const stack_st_POLICYINFO*)’:
  2641. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_POLICYINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2642.          return sk_num((_STACK *)sk); \
  2643.                                  ^
  2644. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2645.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2646.                              ^
  2647. /home/devena/libsc/linux/all/include/openssl/x509v3.h:309:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2648.  DEFINE_STACK_OF(POLICYINFO)
  2649.  ^
  2650. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘POLICYINFO* sk_POLICYINFO_value(const stack_st_POLICYINFO*, int)’:
  2651. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_POLICYINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2652.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2653.                                          ^
  2654. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2655.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2656.                              ^
  2657. /home/devena/libsc/linux/all/include/openssl/x509v3.h:309:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2658.  DEFINE_STACK_OF(POLICYINFO)
  2659.  ^
  2660. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICYINFO_free(const stack_st_POLICYINFO*)’:
  2661. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_POLICYINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2662.          sk_free((_STACK *)sk); \
  2663.                            ^
  2664. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2665.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2666.                              ^
  2667. /home/devena/libsc/linux/all/include/openssl/x509v3.h:309:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2668.  DEFINE_STACK_OF(POLICYINFO)
  2669.  ^
  2670. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICYINFO_zero(const stack_st_POLICYINFO*)’:
  2671. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_POLICYINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2672.          sk_zero((_STACK *)sk); \
  2673.                            ^
  2674. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2675.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2676.                              ^
  2677. /home/devena/libsc/linux/all/include/openssl/x509v3.h:309:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2678.  DEFINE_STACK_OF(POLICYINFO)
  2679.  ^
  2680. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICYINFO_sort(const stack_st_POLICYINFO*)’:
  2681. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_POLICYINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2682.          sk_sort((_STACK *)sk); \
  2683.                            ^
  2684. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2685.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2686.                              ^
  2687. /home/devena/libsc/linux/all/include/openssl/x509v3.h:309:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2688.  DEFINE_STACK_OF(POLICYINFO)
  2689.  ^
  2690. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_POLICYINFO_is_sorted(const stack_st_POLICYINFO*)’:
  2691. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_POLICYINFO*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2692.          return sk_is_sorted((_STACK *)sk); \
  2693.                                        ^
  2694. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2695.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2696.                              ^
  2697. /home/devena/libsc/linux/all/include/openssl/x509v3.h:309:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2698.  DEFINE_STACK_OF(POLICYINFO)
  2699.  ^
  2700. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_POLICY_MAPPING_num(const stack_st_POLICY_MAPPING*)’:
  2701. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_POLICY_MAPPING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2702.          return sk_num((_STACK *)sk); \
  2703.                                  ^
  2704. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2705.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2706.                              ^
  2707. /home/devena/libsc/linux/all/include/openssl/x509v3.h:316:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2708.  DEFINE_STACK_OF(POLICY_MAPPING)
  2709.  ^
  2710. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘POLICY_MAPPING* sk_POLICY_MAPPING_value(const stack_st_POLICY_MAPPING*, int)’:
  2711. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_POLICY_MAPPING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2712.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2713.                                          ^
  2714. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2715.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2716.                              ^
  2717. /home/devena/libsc/linux/all/include/openssl/x509v3.h:316:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2718.  DEFINE_STACK_OF(POLICY_MAPPING)
  2719.  ^
  2720. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICY_MAPPING_free(const stack_st_POLICY_MAPPING*)’:
  2721. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_POLICY_MAPPING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2722.          sk_free((_STACK *)sk); \
  2723.                            ^
  2724. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2725.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2726.                              ^
  2727. /home/devena/libsc/linux/all/include/openssl/x509v3.h:316:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2728.  DEFINE_STACK_OF(POLICY_MAPPING)
  2729.  ^
  2730. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICY_MAPPING_zero(const stack_st_POLICY_MAPPING*)’:
  2731. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_POLICY_MAPPING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2732.          sk_zero((_STACK *)sk); \
  2733.                            ^
  2734. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2735.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2736.                              ^
  2737. /home/devena/libsc/linux/all/include/openssl/x509v3.h:316:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2738.  DEFINE_STACK_OF(POLICY_MAPPING)
  2739.  ^
  2740. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_POLICY_MAPPING_sort(const stack_st_POLICY_MAPPING*)’:
  2741. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_POLICY_MAPPING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2742.          sk_sort((_STACK *)sk); \
  2743.                            ^
  2744. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2745.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2746.                              ^
  2747. /home/devena/libsc/linux/all/include/openssl/x509v3.h:316:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2748.  DEFINE_STACK_OF(POLICY_MAPPING)
  2749.  ^
  2750. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_POLICY_MAPPING_is_sorted(const stack_st_POLICY_MAPPING*)’:
  2751. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_POLICY_MAPPING*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2752.          return sk_is_sorted((_STACK *)sk); \
  2753.                                        ^
  2754. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2755.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2756.                              ^
  2757. /home/devena/libsc/linux/all/include/openssl/x509v3.h:316:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2758.  DEFINE_STACK_OF(POLICY_MAPPING)
  2759.  ^
  2760. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_GENERAL_SUBTREE_num(const stack_st_GENERAL_SUBTREE*)’:
  2761. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_GENERAL_SUBTREE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2762.          return sk_num((_STACK *)sk); \
  2763.                                  ^
  2764. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2765.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2766.                              ^
  2767. /home/devena/libsc/linux/all/include/openssl/x509v3.h:326:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2768.  DEFINE_STACK_OF(GENERAL_SUBTREE)
  2769.  ^
  2770. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘GENERAL_SUBTREE* sk_GENERAL_SUBTREE_value(const stack_st_GENERAL_SUBTREE*, int)’:
  2771. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_GENERAL_SUBTREE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2772.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2773.                                          ^
  2774. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2775.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2776.                              ^
  2777. /home/devena/libsc/linux/all/include/openssl/x509v3.h:326:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2778.  DEFINE_STACK_OF(GENERAL_SUBTREE)
  2779.  ^
  2780. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_SUBTREE_free(const stack_st_GENERAL_SUBTREE*)’:
  2781. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_GENERAL_SUBTREE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2782.          sk_free((_STACK *)sk); \
  2783.                            ^
  2784. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2785.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2786.                              ^
  2787. /home/devena/libsc/linux/all/include/openssl/x509v3.h:326:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2788.  DEFINE_STACK_OF(GENERAL_SUBTREE)
  2789.  ^
  2790. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_SUBTREE_zero(const stack_st_GENERAL_SUBTREE*)’:
  2791. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_GENERAL_SUBTREE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2792.          sk_zero((_STACK *)sk); \
  2793.                            ^
  2794. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2795.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2796.                              ^
  2797. /home/devena/libsc/linux/all/include/openssl/x509v3.h:326:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2798.  DEFINE_STACK_OF(GENERAL_SUBTREE)
  2799.  ^
  2800. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_GENERAL_SUBTREE_sort(const stack_st_GENERAL_SUBTREE*)’:
  2801. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_GENERAL_SUBTREE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2802.          sk_sort((_STACK *)sk); \
  2803.                            ^
  2804. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2805.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2806.                              ^
  2807. /home/devena/libsc/linux/all/include/openssl/x509v3.h:326:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2808.  DEFINE_STACK_OF(GENERAL_SUBTREE)
  2809.  ^
  2810. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_GENERAL_SUBTREE_is_sorted(const stack_st_GENERAL_SUBTREE*)’:
  2811. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_GENERAL_SUBTREE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2812.          return sk_is_sorted((_STACK *)sk); \
  2813.                                        ^
  2814. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2815.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2816.                              ^
  2817. /home/devena/libsc/linux/all/include/openssl/x509v3.h:326:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2818.  DEFINE_STACK_OF(GENERAL_SUBTREE)
  2819.  ^
  2820. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_X509_PURPOSE_num(const stack_st_X509_PURPOSE*)’:
  2821. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_PURPOSE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2822.          return sk_num((_STACK *)sk); \
  2823.                                  ^
  2824. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2825.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2826.                              ^
  2827. /home/devena/libsc/linux/all/include/openssl/x509v3.h:500:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2828.  DEFINE_STACK_OF(X509_PURPOSE)
  2829.  ^
  2830. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘X509_PURPOSE* sk_X509_PURPOSE_value(const stack_st_X509_PURPOSE*, int)’:
  2831. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_PURPOSE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2832.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2833.                                          ^
  2834. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2835.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2836.                              ^
  2837. /home/devena/libsc/linux/all/include/openssl/x509v3.h:500:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2838.  DEFINE_STACK_OF(X509_PURPOSE)
  2839.  ^
  2840. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509_PURPOSE_free(const stack_st_X509_PURPOSE*)’:
  2841. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_PURPOSE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2842.          sk_free((_STACK *)sk); \
  2843.                            ^
  2844. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2845.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2846.                              ^
  2847. /home/devena/libsc/linux/all/include/openssl/x509v3.h:500:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2848.  DEFINE_STACK_OF(X509_PURPOSE)
  2849.  ^
  2850. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509_PURPOSE_zero(const stack_st_X509_PURPOSE*)’:
  2851. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_PURPOSE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2852.          sk_zero((_STACK *)sk); \
  2853.                            ^
  2854. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2855.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2856.                              ^
  2857. /home/devena/libsc/linux/all/include/openssl/x509v3.h:500:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2858.  DEFINE_STACK_OF(X509_PURPOSE)
  2859.  ^
  2860. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509_PURPOSE_sort(const stack_st_X509_PURPOSE*)’:
  2861. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_PURPOSE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2862.          sk_sort((_STACK *)sk); \
  2863.                            ^
  2864. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2865.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2866.                              ^
  2867. /home/devena/libsc/linux/all/include/openssl/x509v3.h:500:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2868.  DEFINE_STACK_OF(X509_PURPOSE)
  2869.  ^
  2870. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_X509_PURPOSE_is_sorted(const stack_st_X509_PURPOSE*)’:
  2871. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_PURPOSE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2872.          return sk_is_sorted((_STACK *)sk); \
  2873.                                        ^
  2874. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2875.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2876.                              ^
  2877. /home/devena/libsc/linux/all/include/openssl/x509v3.h:500:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2878.  DEFINE_STACK_OF(X509_PURPOSE)
  2879.  ^
  2880. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_X509_POLICY_NODE_num(const stack_st_X509_POLICY_NODE*)’:
  2881. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_X509_POLICY_NODE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2882.          return sk_num((_STACK *)sk); \
  2883.                                  ^
  2884. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2885.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2886.                              ^
  2887. /home/devena/libsc/linux/all/include/openssl/x509v3.h:763:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2888.  DEFINE_STACK_OF(X509_POLICY_NODE)
  2889.  ^
  2890. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘X509_POLICY_NODE* sk_X509_POLICY_NODE_value(const stack_st_X509_POLICY_NODE*, int)’:
  2891. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_X509_POLICY_NODE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2892.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2893.                                          ^
  2894. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2895.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2896.                              ^
  2897. /home/devena/libsc/linux/all/include/openssl/x509v3.h:763:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2898.  DEFINE_STACK_OF(X509_POLICY_NODE)
  2899.  ^
  2900. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509_POLICY_NODE_free(const stack_st_X509_POLICY_NODE*)’:
  2901. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_X509_POLICY_NODE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2902.          sk_free((_STACK *)sk); \
  2903.                            ^
  2904. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2905.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2906.                              ^
  2907. /home/devena/libsc/linux/all/include/openssl/x509v3.h:763:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2908.  DEFINE_STACK_OF(X509_POLICY_NODE)
  2909.  ^
  2910. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509_POLICY_NODE_zero(const stack_st_X509_POLICY_NODE*)’:
  2911. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_X509_POLICY_NODE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2912.          sk_zero((_STACK *)sk); \
  2913.                            ^
  2914. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2915.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2916.                              ^
  2917. /home/devena/libsc/linux/all/include/openssl/x509v3.h:763:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2918.  DEFINE_STACK_OF(X509_POLICY_NODE)
  2919.  ^
  2920. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_X509_POLICY_NODE_sort(const stack_st_X509_POLICY_NODE*)’:
  2921. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_X509_POLICY_NODE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2922.          sk_sort((_STACK *)sk); \
  2923.                            ^
  2924. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2925.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2926.                              ^
  2927. /home/devena/libsc/linux/all/include/openssl/x509v3.h:763:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2928.  DEFINE_STACK_OF(X509_POLICY_NODE)
  2929.  ^
  2930. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_X509_POLICY_NODE_is_sorted(const stack_st_X509_POLICY_NODE*)’:
  2931. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_X509_POLICY_NODE*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2932.          return sk_is_sorted((_STACK *)sk); \
  2933.                                        ^
  2934. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2935.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2936.                              ^
  2937. /home/devena/libsc/linux/all/include/openssl/x509v3.h:763:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2938.  DEFINE_STACK_OF(X509_POLICY_NODE)
  2939.  ^
  2940. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_ASIdOrRange_num(const stack_st_ASIdOrRange*)’:
  2941. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_ASIdOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2942.          return sk_num((_STACK *)sk); \
  2943.                                  ^
  2944. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2945.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2946.                              ^
  2947. /home/devena/libsc/linux/all/include/openssl/x509v3.h:782:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2948.  DEFINE_STACK_OF(ASIdOrRange)
  2949.  ^
  2950. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘ASIdOrRange* sk_ASIdOrRange_value(const stack_st_ASIdOrRange*, int)’:
  2951. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_ASIdOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2952.          return (t2 *)sk_value((_STACK *)sk, idx); \
  2953.                                          ^
  2954. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2955.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2956.                              ^
  2957. /home/devena/libsc/linux/all/include/openssl/x509v3.h:782:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2958.  DEFINE_STACK_OF(ASIdOrRange)
  2959.  ^
  2960. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_ASIdOrRange_free(const stack_st_ASIdOrRange*)’:
  2961. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_ASIdOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2962.          sk_free((_STACK *)sk); \
  2963.                            ^
  2964. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2965.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2966.                              ^
  2967. /home/devena/libsc/linux/all/include/openssl/x509v3.h:782:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2968.  DEFINE_STACK_OF(ASIdOrRange)
  2969.  ^
  2970. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_ASIdOrRange_zero(const stack_st_ASIdOrRange*)’:
  2971. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_ASIdOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2972.          sk_zero((_STACK *)sk); \
  2973.                            ^
  2974. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2975.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2976.                              ^
  2977. /home/devena/libsc/linux/all/include/openssl/x509v3.h:782:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2978.  DEFINE_STACK_OF(ASIdOrRange)
  2979.  ^
  2980. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_ASIdOrRange_sort(const stack_st_ASIdOrRange*)’:
  2981. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_ASIdOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2982.          sk_sort((_STACK *)sk); \
  2983.                            ^
  2984. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2985.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2986.                              ^
  2987. /home/devena/libsc/linux/all/include/openssl/x509v3.h:782:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2988.  DEFINE_STACK_OF(ASIdOrRange)
  2989.  ^
  2990. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_ASIdOrRange_is_sorted(const stack_st_ASIdOrRange*)’:
  2991. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_ASIdOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  2992.          return sk_is_sorted((_STACK *)sk); \
  2993.                                        ^
  2994. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  2995.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  2996.                              ^
  2997. /home/devena/libsc/linux/all/include/openssl/x509v3.h:782:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  2998.  DEFINE_STACK_OF(ASIdOrRange)
  2999.  ^
  3000. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_IPAddressOrRange_num(const stack_st_IPAddressOrRange*)’:
  3001. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_IPAddressOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3002.          return sk_num((_STACK *)sk); \
  3003.                                  ^
  3004. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3005.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3006.                              ^
  3007. /home/devena/libsc/linux/all/include/openssl/x509v3.h:820:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3008.  DEFINE_STACK_OF(IPAddressOrRange)
  3009.  ^
  3010. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘IPAddressOrRange* sk_IPAddressOrRange_value(const stack_st_IPAddressOrRange*, int)’:
  3011. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_IPAddressOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3012.          return (t2 *)sk_value((_STACK *)sk, idx); \
  3013.                                          ^
  3014. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3015.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3016.                              ^
  3017. /home/devena/libsc/linux/all/include/openssl/x509v3.h:820:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3018.  DEFINE_STACK_OF(IPAddressOrRange)
  3019.  ^
  3020. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_IPAddressOrRange_free(const stack_st_IPAddressOrRange*)’:
  3021. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_IPAddressOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3022.          sk_free((_STACK *)sk); \
  3023.                            ^
  3024. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3025.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3026.                              ^
  3027. /home/devena/libsc/linux/all/include/openssl/x509v3.h:820:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3028.  DEFINE_STACK_OF(IPAddressOrRange)
  3029.  ^
  3030. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_IPAddressOrRange_zero(const stack_st_IPAddressOrRange*)’:
  3031. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_IPAddressOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3032.          sk_zero((_STACK *)sk); \
  3033.                            ^
  3034. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3035.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3036.                              ^
  3037. /home/devena/libsc/linux/all/include/openssl/x509v3.h:820:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3038.  DEFINE_STACK_OF(IPAddressOrRange)
  3039.  ^
  3040. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_IPAddressOrRange_sort(const stack_st_IPAddressOrRange*)’:
  3041. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_IPAddressOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3042.          sk_sort((_STACK *)sk); \
  3043.                            ^
  3044. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3045.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3046.                              ^
  3047. /home/devena/libsc/linux/all/include/openssl/x509v3.h:820:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3048.  DEFINE_STACK_OF(IPAddressOrRange)
  3049.  ^
  3050. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_IPAddressOrRange_is_sorted(const stack_st_IPAddressOrRange*)’:
  3051. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_IPAddressOrRange*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3052.          return sk_is_sorted((_STACK *)sk); \
  3053.                                        ^
  3054. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3055.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3056.                              ^
  3057. /home/devena/libsc/linux/all/include/openssl/x509v3.h:820:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3058.  DEFINE_STACK_OF(IPAddressOrRange)
  3059.  ^
  3060. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_IPAddressFamily_num(const stack_st_IPAddressFamily*)’:
  3061. /home/devena/libsc/linux/all/include/openssl/safestack.h:95:33: error: cast from type ‘const stack_st_IPAddressFamily*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3062.          return sk_num((_STACK *)sk); \
  3063.                                  ^
  3064. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3065.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3066.                              ^
  3067. /home/devena/libsc/linux/all/include/openssl/x509v3.h:839:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3068.  DEFINE_STACK_OF(IPAddressFamily)
  3069.  ^
  3070. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘IPAddressFamily* sk_IPAddressFamily_value(const stack_st_IPAddressFamily*, int)’:
  3071. /home/devena/libsc/linux/all/include/openssl/safestack.h:99:41: error: cast from type ‘const stack_st_IPAddressFamily*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3072.          return (t2 *)sk_value((_STACK *)sk, idx); \
  3073.                                          ^
  3074. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3075.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3076.                              ^
  3077. /home/devena/libsc/linux/all/include/openssl/x509v3.h:839:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3078.  DEFINE_STACK_OF(IPAddressFamily)
  3079.  ^
  3080. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_IPAddressFamily_free(const stack_st_IPAddressFamily*)’:
  3081. /home/devena/libsc/linux/all/include/openssl/safestack.h:111:27: error: cast from type ‘const stack_st_IPAddressFamily*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3082.          sk_free((_STACK *)sk); \
  3083.                            ^
  3084. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3085.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3086.                              ^
  3087. /home/devena/libsc/linux/all/include/openssl/x509v3.h:839:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3088.  DEFINE_STACK_OF(IPAddressFamily)
  3089.  ^
  3090. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_IPAddressFamily_zero(const stack_st_IPAddressFamily*)’:
  3091. /home/devena/libsc/linux/all/include/openssl/safestack.h:115:27: error: cast from type ‘const stack_st_IPAddressFamily*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3092.          sk_zero((_STACK *)sk); \
  3093.                            ^
  3094. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3095.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3096.                              ^
  3097. /home/devena/libsc/linux/all/include/openssl/x509v3.h:839:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3098.  DEFINE_STACK_OF(IPAddressFamily)
  3099.  ^
  3100. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘void sk_IPAddressFamily_sort(const stack_st_IPAddressFamily*)’:
  3101. /home/devena/libsc/linux/all/include/openssl/safestack.h:163:27: error: cast from type ‘const stack_st_IPAddressFamily*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3102.          sk_sort((_STACK *)sk); \
  3103.                            ^
  3104. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3105.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3106.                              ^
  3107. /home/devena/libsc/linux/all/include/openssl/x509v3.h:839:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3108.  DEFINE_STACK_OF(IPAddressFamily)
  3109.  ^
  3110. /home/devena/libsc/linux/all/include/openssl/x509v3.h: In function ‘int sk_IPAddressFamily_is_sorted(const stack_st_IPAddressFamily*)’:
  3111. /home/devena/libsc/linux/all/include/openssl/safestack.h:167:39: error: cast from type ‘const stack_st_IPAddressFamily*’ to type ‘_STACK* {aka stack_st*}’ casts away qualifiers [-Werror=cast-qual]
  3112.          return sk_is_sorted((_STACK *)sk); \
  3113.                                        ^
  3114. /home/devena/libsc/linux/all/include/openssl/safestack.h:187:29: note: in expansion of macro ‘SKM_DEFINE_STACK_OF’
  3115.  # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
  3116.                              ^
  3117. /home/devena/libsc/linux/all/include/openssl/x509v3.h:839:1: note: in expansion of macro ‘DEFINE_STACK_OF’
  3118.  DEFINE_STACK_OF(IPAddressFamily)
  3119.  ^
  3120. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_init.hpp:100:0,
  3121.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:29,
  3122.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3123.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3124.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3125.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3126. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::do_init()’:
  3127. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47:7: error: ‘void CRYPTO_set_id_callback(long unsigned int (*)())’ is deprecated (declared at /home/devena/libsc/linux/all/include/openssl/crypto.h:426) [-Werror=deprecated-declarations]
  3128.      ::CRYPTO_set_id_callback(&do_init::openssl_id_func);
  3129.        ^
  3130. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47:55: error: ‘void CRYPTO_set_id_callback(long unsigned int (*)())’ is deprecated (declared at /home/devena/libsc/linux/all/include/openssl/crypto.h:426) [-Werror=deprecated-declarations]
  3131.      ::CRYPTO_set_id_callback(&do_init::openssl_id_func);
  3132.                                                        ^
  3133. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In destructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()’:
  3134. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64:7: error: ‘void CRYPTO_set_id_callback(long unsigned int (*)())’ is deprecated (declared at /home/devena/libsc/linux/all/include/openssl/crypto.h:426) [-Werror=deprecated-declarations]
  3135.      ::CRYPTO_set_id_callback(0);
  3136.        ^
  3137. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64:31: error: ‘void CRYPTO_set_id_callback(long unsigned int (*)())’ is deprecated (declared at /home/devena/libsc/linux/all/include/openssl/crypto.h:426) [-Werror=deprecated-declarations]
  3138.      ::CRYPTO_set_id_callback(0);
  3139.                                ^
  3140. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3141.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3142.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3143.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3144.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3145. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp: In constructor ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’:
  3146. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:83:29: error: ‘::SSLv2_method’ has not been declared
  3147.      handle_ = ::SSL_CTX_new(::SSLv2_method());
  3148.                              ^
  3149. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:86:29: error: ‘::SSLv2_client_method’ has not been declared
  3150.      handle_ = ::SSL_CTX_new(::SSLv2_client_method());
  3151.                              ^
  3152. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:89:29: error: ‘::SSLv2_server_method’ has not been declared
  3153.      handle_ = ::SSL_CTX_new(::SSLv2_server_method());
  3154.                              ^
  3155. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp: In destructor ‘boost::asio::ssl::context::~context()’:
  3156. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:208:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3157.      if (handle_->default_passwd_callback_userdata)
  3158.                 ^
  3159. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3160.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3161.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3162.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3163.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3164.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3165.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3166.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3167.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3168.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3169. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3170.  typedef struct ssl_ctx_st SSL_CTX;
  3171.                 ^
  3172. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3173.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3174.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3175.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3176.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3177. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:212:20: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3178.              handle_->default_passwd_callback_userdata);
  3179.                     ^
  3180. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3181.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3182.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3183.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3184.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3185.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3186.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3187.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3188.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3189.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3190. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3191.  typedef struct ssl_ctx_st SSL_CTX;
  3192.                 ^
  3193. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3194.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3195.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3196.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3197.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3198. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:214:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3199.        handle_->default_passwd_callback_userdata = 0;
  3200.               ^
  3201. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3202.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3203.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3204.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3205.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3206.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3207.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3208.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3209.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3210.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3211. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3212.  typedef struct ssl_ctx_st SSL_CTX;
  3213.                 ^
  3214. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3215.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3216.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3217.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3218.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3219. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_certificate_chain(const boost::asio::const_buffer&, boost::system::error_code&)’:
  3220. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:551:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3221.            handle_->default_passwd_callback,
  3222.                   ^
  3223. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3224.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3225.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3226.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3227.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3228.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3229.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3230.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3231.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3232.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3233. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3234.  typedef struct ssl_ctx_st SSL_CTX;
  3235.                 ^
  3236. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3237.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3238.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3239.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3240.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3241. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:552:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3242.            handle_->default_passwd_callback_userdata) };
  3243.                   ^
  3244. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3245.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3246.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3247.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3248.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3249.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3250.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3251.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3252.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3253.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3254. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3255.  typedef struct ssl_ctx_st SSL_CTX;
  3256.                 ^
  3257. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3258.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3259.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3260.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3261.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3262. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:580:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3263.            handle_->default_passwd_callback,
  3264.                   ^
  3265. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3266.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3267.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3268.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3269.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3270.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3271.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3272.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3273.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3274.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3275. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3276.  typedef struct ssl_ctx_st SSL_CTX;
  3277.                 ^
  3278. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3279.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3280.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3281.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3282.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3283. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:581:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3284.            handle_->default_passwd_callback_userdata))
  3285.                   ^
  3286. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3287.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3288.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3289.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3290.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3291.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3292.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3293.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3294.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3295.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3296. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3297.  typedef struct ssl_ctx_st SSL_CTX;
  3298.                 ^
  3299. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3300.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3301.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3302.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3303.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3304. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:592:36: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
  3305.      result = ::ERR_peek_last_error();
  3306.                                     ^
  3307. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
  3308. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:657:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3309.            bio.p, 0, handle_->default_passwd_callback,
  3310.                             ^
  3311. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3312.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3313.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3314.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3315.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3316.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3317.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3318.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3319.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3320.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3321. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3322.  typedef struct ssl_ctx_st SSL_CTX;
  3323.                 ^
  3324. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3325.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3326.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3327.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3328.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3329. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:658:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3330.            handle_->default_passwd_callback_userdata);
  3331.                   ^
  3332. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3333.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3334.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3335.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3336.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3337.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3338.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3339.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3340.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3341.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3342. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3343.  typedef struct ssl_ctx_st SSL_CTX;
  3344.                 ^
  3345. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3346.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3347.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3348.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3349.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3350. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
  3351. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:716:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3352.            bio.p, 0, handle_->default_passwd_callback,
  3353.                             ^
  3354. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3355.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3356.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3357.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3358.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3359.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3360.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3361.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3362.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3363.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3364. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3365.  typedef struct ssl_ctx_st SSL_CTX;
  3366.                 ^
  3367. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3368.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3369.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3370.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3371.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3372. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:717:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3373.            handle_->default_passwd_callback_userdata);
  3374.                   ^
  3375. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3376.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3377.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3378.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3379.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3380.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3381.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3382.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3383.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3384.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3385. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3386.  typedef struct ssl_ctx_st SSL_CTX;
  3387.                 ^
  3388. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3389.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3390.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3391.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3392.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3393. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::do_set_password_callback(boost::asio::ssl::detail::password_callback_base*, boost::system::error_code&)’:
  3394. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:936:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3395.    if (handle_->default_passwd_callback_userdata)
  3396.               ^
  3397. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3398.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3399.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3400.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3401.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3402.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3403.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3404.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3405.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3406.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3407. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3408.  typedef struct ssl_ctx_st SSL_CTX;
  3409.                 ^
  3410. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3411.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3412.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3413.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3414.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3415. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:938:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3416.          handle_->default_passwd_callback_userdata);
  3417.                 ^
  3418. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3419.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3420.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3421.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3422.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3423.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3424.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3425.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3426.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3427.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3428. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3429.  typedef struct ssl_ctx_st SSL_CTX;
  3430.                 ^
  3431. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786:0,
  3432.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3433.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3434.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3435.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3436. /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:940:10: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}
  3437.    handle_->default_passwd_callback_userdata = callback;
  3438.           ^
  3439. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3440.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3441.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3442.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3443.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3444.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3445.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3446.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3447.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3448.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3449. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:183:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}
  3450.  typedef struct ssl_ctx_st SSL_CTX;
  3451.                 ^
  3452. In file included from /home/devena/libsc/linux/all/include/boost/asio/detail/socket_ops.hpp:333:0,
  3453.                  from /home/devena/libsc/linux/all/include/boost/asio/ip/impl/address_v4.ipp:22,
  3454.                  from /home/devena/libsc/linux/all/include/boost/asio/ip/address_v4.hpp:240,
  3455.                  from /home/devena/libsc/linux/all/include/boost/asio/ip/address.hpp:21,
  3456.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/rfc2818_verification.ipp:23,
  3457.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/rfc2818_verification.hpp:99,
  3458.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:23,
  3459.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3460.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3461.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3462. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp: In function ‘int boost::asio::detail::socket_ops::close(boost::asio::detail::socket_type, boost::asio::detail::socket_ops::state_type&, bool, boost::system::error_code&)’:
  3463. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:345:13: error: conversion to ‘boost::asio::detail::socket_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3464.        state &= ~non_blocking;
  3465.              ^
  3466. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp: In function ‘bool boost::asio::detail::socket_ops::set_user_non_blocking(boost::asio::detail::socket_type, boost::asio::detail::socket_ops::state_type&, bool, boost::system::error_code&)’:
  3467. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:397:13: error: conversion to ‘boost::asio::detail::socket_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3468.        state &= ~(user_set_non_blocking | internal_non_blocking);
  3469.              ^
  3470. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp: In function ‘bool boost::asio::detail::socket_ops::set_internal_non_blocking(boost::asio::detail::socket_type, boost::asio::detail::socket_ops::state_type&, bool, boost::system::error_code&)’:
  3471. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:446:13: error: conversion to ‘boost::asio::detail::socket_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3472.        state &= ~internal_non_blocking;
  3473.              ^
  3474. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp: In function ‘int boost::asio::detail::socket_ops::setsockopt(boost::asio::detail::socket_type, boost::asio::detail::socket_ops::state_type&, int, int, const void*, std::size_t, boost::system::error_code&)’:
  3475. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:1458:13: error: conversion to ‘boost::asio::detail::socket_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3476.        state &= ~enable_connection_aborted;
  3477.              ^
  3478. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp: In function ‘int boost::asio::detail::socket_ops::ioctl(boost::asio::detail::socket_type, boost::asio::detail::socket_ops::state_type&, int, boost::asio::detail::ioctl_arg_type*, boost::system::error_code&)’:
  3479. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:1739:15: error: conversion to ‘boost::asio::detail::socket_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3480.          state &= ~(user_set_non_blocking | internal_non_blocking);
  3481.                ^
  3482. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp: In function ‘boost::system::error_code boost::asio::detail::socket_ops::getnameinfo(const socket_addr_type*, std::size_t, char*, std::size_t, char*, std::size_t, int, boost::system::error_code&)’:
  3483. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:3325:79: error: conversion to ‘socklen_t {aka unsigned int}’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Werror=conversion]
  3484.    int error = ::getnameinfo(addr, addrlen, host, hostlen, serv, servlen, flags);
  3485.                                                                                ^
  3486. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:3325:79: error: conversion to ‘socklen_t {aka unsigned int}’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Werror=conversion]
  3487. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/socket_ops.ipp:3325:79: error: conversion to ‘socklen_t {aka unsigned int}’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Werror=conversion]
  3488. In file included from /home/devena/libsc/linux/all/include/openssl/engine.h:90:0,
  3489.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:22,
  3490.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3491.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3492.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3493.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3494.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3495.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3496. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/engine.ipp: In member function ‘const boost::system::error_code& boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const’:
  3497. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/engine.ipp:207:34: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
  3498.          ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
  3499.                                   ^
  3500. /home/devena/libsc/linux/all/include/openssl/err.h:243:51: note: in definition of macro ‘ERR_PACK’
  3501.                                  ((((unsigned long)r)&0xfffL)))
  3502.                                                    ^
  3503. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/engine.hpp:163:0,
  3504.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/buffered_handshake_op.hpp:21,
  3505.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/stream.hpp:29,
  3506.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:24,
  3507.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3508.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3509.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3510. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/engine.ipp:214:11: error: invalid use of incomplete type ‘SSL {aka struct ssl_st}
  3511.    if (ssl_->version == SSL2_VERSION)
  3512.            ^
  3513. In file included from /home/devena/libsc/linux/all/include/openssl/crypto.h:132:0,
  3514.                  from /home/devena/libsc/linux/all/include/openssl/bio.h:69,
  3515.                  from /home/devena/libsc/linux/all/include/openssl/conf.h:62,
  3516.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  3517.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3518.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3519.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3520.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3521.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3522.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3523. /home/devena/libsc/linux/all/include/openssl/ossl_typ.h:182:16: error: forward declaration of ‘SSL {aka struct ssl_st}
  3524.  typedef struct ssl_st SSL;
  3525.                 ^
  3526. In file included from /home/devena/libsc/linux/all/include/openssl/engine.h:90:0,
  3527.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/openssl_types.hpp:22,
  3528.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context_base.hpp:19,
  3529.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:27,
  3530.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3531.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3532.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3533.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3534. /home/devena/libsc/linux/all/include/boost/asio/ssl/detail/impl/engine.ipp:221:34: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
  3535.          ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
  3536.                                   ^
  3537. /home/devena/libsc/linux/all/include/openssl/err.h:243:51: note: in definition of macro ‘ERR_PACK’
  3538.                                  ((((unsigned long)r)&0xfffL)))
  3539.                                                    ^
  3540. In file included from /home/devena/libsc/linux/all/include/boost/asio/detail/descriptor_ops.hpp:112:0,
  3541.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/reactive_serial_port_service.hpp:28,
  3542.                  from /home/devena/libsc/linux/all/include/boost/asio/serial_port_service.hpp:26,
  3543.                  from /home/devena/libsc/linux/all/include/boost/asio/basic_serial_port.hpp:30,
  3544.                  from /home/devena/libsc/linux/all/include/boost/asio.hpp:26,
  3545.                  from /home/devena/srcc/linux/casablanca/Release/include/pplx/threadpool.h:34,
  3546.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/details/http_server_asio.h:18,
  3547.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:157,
  3548.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3549. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp: In function ‘int boost::asio::detail::descriptor_ops::close(int, boost::asio::detail::descriptor_ops::state_type&, boost::system::error_code&)’:
  3550. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp:69:13: error: conversion to ‘boost::asio::detail::descriptor_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3551.        state &= ~non_blocking;
  3552.              ^
  3553. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp: In function ‘bool boost::asio::detail::descriptor_ops::set_user_non_blocking(int, boost::asio::detail::descriptor_ops::state_type&, bool, boost::system::error_code&)’:
  3554. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp:114:13: error: conversion to ‘boost::asio::detail::descriptor_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3555.        state &= ~(user_set_non_blocking | internal_non_blocking);
  3556.              ^
  3557. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp: In function ‘bool boost::asio::detail::descriptor_ops::set_internal_non_blocking(int, boost::asio::detail::descriptor_ops::state_type&, bool, boost::system::error_code&)’:
  3558. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp:160:13: error: conversion to ‘boost::asio::detail::descriptor_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3559.        state &= ~internal_non_blocking;
  3560.              ^
  3561. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp: In function ‘int boost::asio::detail::descriptor_ops::ioctl(int, boost::asio::detail::descriptor_ops::state_type&, long int, boost::asio::detail::ioctl_arg_type*, boost::system::error_code&)’:
  3562. /home/devena/libsc/linux/all/include/boost/asio/detail/impl/descriptor_ops.ipp:358:15: error: conversion to ‘boost::asio::detail::descriptor_ops::state_type {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
  3563.          state &= ~(user_set_non_blocking | internal_non_blocking);
  3564.                ^
  3565. In file included from /home/devena/libsc/linux/all/include/boost/thread/thread_time.hpp:10:0,
  3566.                  from /home/devena/libsc/linux/all/include/boost/thread/lock_types.hpp:18,
  3567.                  from /home/devena/libsc/linux/all/include/boost/thread/pthread/mutex.hpp:16,
  3568.                  from /home/devena/libsc/linux/all/include/boost/thread/mutex.hpp:16,
  3569.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:82,
  3570.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3571. /home/devena/libsc/linux/all/include/boost/date_time/microsec_time_clock.hpp: In instantiation of ‘static time_type boost::date_time::microsec_clock<time_type>::create_time(boost::date_time::microsec_clock<time_type>::time_converter) [with time_type = boost::posix_time::ptime; boost::date_time::microsec_clock<time_type>::time_converter = tm* (*)(const long int*, tm*); time_t = long int]’:
  3572. /home/devena/libsc/linux/all/include/boost/date_time/microsec_time_clock.hpp:76:41:   required from ‘static time_type boost::date_time::microsec_clock<time_type>::universal_time() [with time_type = boost::posix_time::ptime]
  3573. /home/devena/libsc/linux/all/include/boost/thread/thread_time.hpp:22:63:   required from here
  3574. /home/devena/libsc/linux/all/include/boost/date_time/microsec_time_clock.hpp:86:36: error: conversion to ‘uint32_t {aka unsigned int}’ from ‘__suseconds_t {aka long int}’ may alter its value [-Werror=conversion]
  3575.        boost::uint32_t sub_sec = tv.tv_usec;
  3576.                                     ^
  3577. In file included from /home/devena/libsc/linux/all/include/boost/date_time/adjust_functors.hpp:13:0,
  3578.                  from /home/devena/libsc/linux/all/include/boost/date_time/gregorian/greg_duration_types.hpp:14,
  3579.                  from /home/devena/libsc/linux/all/include/boost/date_time/gregorian/gregorian_types.hpp:22,
  3580.                  from /home/devena/libsc/linux/all/include/boost/date_time/posix_time/posix_time_config.hpp:18,
  3581.                  from /home/devena/libsc/linux/all/include/boost/date_time/posix_time/posix_time_system.hpp:13,
  3582.                  from /home/devena/libsc/linux/all/include/boost/date_time/posix_time/ptime.hpp:12,
  3583.                  from /home/devena/libsc/linux/all/include/boost/date_time/posix_time/posix_time_types.hpp:12,
  3584.                  from /home/devena/libsc/linux/all/include/boost/thread/thread_time.hpp:11,
  3585.                  from /home/devena/libsc/linux/all/include/boost/thread/lock_types.hpp:18,
  3586.                  from /home/devena/libsc/linux/all/include/boost/thread/pthread/mutex.hpp:16,
  3587.                  from /home/devena/libsc/linux/all/include/boost/thread/mutex.hpp:16,
  3588.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:82,
  3589.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3590. /home/devena/libsc/linux/all/include/boost/date_time/wrapping_int.hpp: In instantiation of ‘IntT boost::date_time::wrapping_int2<int_type_, wrap_min, wrap_max>::calculate_wrap(IntT) [with IntT = short int; int_type_ = short int; int_type_ wrap_min = 1; int_type_ wrap_max = 12]’:
  3591. /home/devena/libsc/linux/all/include/boost/date_time/wrapping_int.hpp:126:35:   required from ‘IntT boost::date_time::wrapping_int2<int_type_, wrap_min, wrap_max>::add(IntT) [with IntT = short int; int_type_ = short int; int_type_ wrap_min = 1; int_type_ wrap_max = 12]
  3592. /home/devena/libsc/linux/all/include/boost/date_time/adjust_functors.hpp:77:55:   required from ‘boost::date_time::month_functor<date_type>::duration_type boost::date_time::month_functor<date_type>::get_offset(const date_type&) const [with date_type = boost::gregorian::date; boost::date_time::month_functor<date_type>::duration_type = boost::gregorian::date_duration]
  3593. /home/devena/libsc/linux/all/include/boost/date_time/date_duration_types.hpp:66:49:   required from ‘boost::date_time::months_duration<base_config>::duration_type boost::date_time::months_duration<base_config>::get_offset(const date_type&) const [with base_config = boost::gregorian::greg_durations_config; boost::date_time::months_duration<base_config>::duration_type = boost::gregorian::date_duration; boost::date_time::months_duration<base_config>::date_type = boost::gregorian::date]
  3594. /home/devena/libsc/linux/all/include/boost/date_time/posix_time/date_duration_operators.hpp:33:37:   required from here
  3595. /home/devena/libsc/linux/all/include/boost/date_time/wrapping_int.hpp:151:14: error: conversion to ‘boost::date_time::wrapping_int2<short int, 1, 12>::int_type {aka short int}’ from ‘int’ may alter its value [-Werror=conversion]
  3596.        value_ -= (wrap_max - wrap_min + 1);
  3597.               ^
  3598. /home/devena/libsc/linux/all/include/boost/date_time/wrapping_int.hpp:156:14: error: conversion to ‘boost::date_time::wrapping_int2<short int, 1, 12>::int_type {aka short int}’ from ‘int’ may alter its value [-Werror=conversion]
  3599.        value_ += (wrap_max - wrap_min + 1);
  3600.               ^
  3601. In file included from /home/devena/libsc/linux/all/include/boost/asio/detail/impl/posix_mutex.ipp:24:0,
  3602.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/posix_mutex.hpp:73,
  3603.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/mutex.hpp:25,
  3604.                  from /home/devena/libsc/linux/all/include/boost/asio/detail/service_registry.hpp:20,
  3605.                  from /home/devena/libsc/linux/all/include/boost/asio/impl/io_service.hpp:19,
  3606.                  from /home/devena/libsc/linux/all/include/boost/asio/io_service.hpp:767,
  3607.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:26,
  3608.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3609.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3610.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3611.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3612. /home/devena/libsc/linux/all/include/boost/asio/error.hpp: At global scope:
  3613. /home/devena/libsc/linux/all/include/boost/asio/error.hpp:258:45: error: ‘boost::asio::error::system_category’ defined but not used [-Werror=unused-variable]
  3614.  static const boost::system::error_category& system_category
  3615.                                              ^
  3616. /home/devena/libsc/linux/all/include/boost/asio/error.hpp:260:45: error: ‘boost::asio::error::netdb_category’ defined but not used [-Werror=unused-variable]
  3617.  static const boost::system::error_category& netdb_category
  3618.                                              ^
  3619. /home/devena/libsc/linux/all/include/boost/asio/error.hpp:262:45: error: ‘boost::asio::error::addrinfo_category’ defined but not used [-Werror=unused-variable]
  3620.  static const boost::system::error_category& addrinfo_category
  3621.                                              ^
  3622. /home/devena/libsc/linux/all/include/boost/asio/error.hpp:264:45: error: ‘boost::asio::error::misc_category’ defined but not used [-Werror=unused-variable]
  3623.  static const boost::system::error_category& misc_category
  3624.                                              ^
  3625. In file included from /home/devena/libsc/linux/all/include/boost/asio/ssl/impl/context.ipp:26:0,
  3626.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl/context.hpp:786,
  3627.                  from /home/devena/libsc/linux/all/include/boost/asio/ssl.hpp:19,
  3628.                  from /home/devena/srcc/linux/casablanca/Release/include/cpprest/http_client.h:65,
  3629.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:132,
  3630.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3631. /home/devena/libsc/linux/all/include/boost/asio/ssl/error.hpp:34:45: error: ‘boost::asio::error::ssl_category’ defined but not used [-Werror=unused-variable]
  3632.  static const boost::system::error_category& ssl_category
  3633.                                              ^
  3634. In file included from /home/devena/libsc/linux/all/include/boost/system/system_error.hpp:14:0,
  3635.                  from /home/devena/libsc/linux/all/include/boost/thread/exceptions.hpp:22,
  3636.                  from /home/devena/libsc/linux/all/include/boost/thread/pthread/mutex.hpp:14,
  3637.                  from /home/devena/libsc/linux/all/include/boost/thread/mutex.hpp:16,
  3638.                  from /home/devena/srcc/linux/casablanca/Release/src/pch/stdafx.h:82,
  3639.                  from /home/devena/srcc/linux/casablanca/Release/src/http/client/http_client_msg.cpp:25:
  3640. /home/devena/libsc/linux/all/include/boost/system/error_code.hpp:221:36: error: ‘boost::system::posix_category’ defined but not used [-Werror=unused-variable]
  3641.      static const error_category &  posix_category = generic_category();
  3642.                                     ^
  3643. /home/devena/libsc/linux/all/include/boost/system/error_code.hpp:222:36: error: ‘boost::system::errno_ecat’ defined but not used [-Werror=unused-variable]
  3644.      static const error_category &  errno_ecat     = generic_category();
  3645.                                     ^
  3646. /home/devena/libsc/linux/all/include/boost/system/error_code.hpp:223:36: error: ‘boost::system::native_ecat’ defined but not used [-Werror=unused-variable]
  3647.      static const error_category &  native_ecat    = system_category();
  3648.                                     ^
  3649. cc1plus: all warnings being treated as errors
  3650. src/CMakeFiles/cpprest.dir/build.make:54: recipe for target 'src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o' failed
  3651. make[2]: *** [src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o] Error 1
  3652. CMakeFiles/Makefile2:75: recipe for target 'src/CMakeFiles/cpprest.dir/all' failed
  3653. make[1]: *** [src/CMakeFiles/cpprest.dir/all] Error 2
  3654. Makefile:127: recipe for target 'all' failed
  3655. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement