{"action":"opened","issue":{"url":"https://api.github.com/repos/pedro-vicente/lib_netsockets/issues/3","repository_url":"https://api.github.com/repos/pedro-vicente/lib_netsockets","labels_url":"https://api.github.com/repos/pedro-vicente/lib_netsockets/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/pedro-vicente/lib_netsockets/issues/3/comments","events_url":"https://api.github.com/repos/pedro-vicente/lib_netsockets/issues/3/events","html_url":"https://github.com/pedro-vicente/lib_netsockets/issues/3","id":392696073,"node_id":"MDU6SXNzdWUzOTI2OTYwNzM=","number":3,"title":"Error in the inmake","user":{"login":"carter3rix","id":32481699,"node_id":"MDQ6VXNlcjMyNDgxNjk5","avatar_url":"https://avatars2.githubusercontent.com/u/32481699?v=4","gravatar_id":"","url":"https://api.github.com/users/carter3rix","html_url":"https://github.com/carter3rix","followers_url":"https://api.github.com/users/carter3rix/followers","following_url":"https://api.github.com/users/carter3rix/following{/other_user}","gists_url":"https://api.github.com/users/carter3rix/gists{/gist_id}","starred_url":"https://api.github.com/users/carter3rix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carter3rix/subscriptions","organizations_url":"https://api.github.com/users/carter3rix/orgs","repos_url":"https://api.github.com/users/carter3rix/repos","events_url":"https://api.github.com/users/carter3rix/events{/privacy}","received_events_url":"https://api.github.com/users/carter3rix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T17:05:53Z","updated_at":"2018-12-19T17:05:53Z","closed_at":null,"author_association":"NONE","body":"`Had this error\r\n`Scanning dependencies of target https_coin\r\n[  1%] Building CXX object CMakeFiles/https_coin.dir/src/openssl_socket.cc.o\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc: In function ‘int hostname_to_ip(const char*, char*)’:\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:18:3: error: ‘memset’ was not declared in this scope\r\n   memset(&hints, 0, sizeof hints);\r\n   ^~~~~~\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:18:3: note: suggested alternative: ‘wmemset’\r\n   memset(&hints, 0, sizeof hints);\r\n   ^~~~~~\r\n   wmemset\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:31:5: error: ‘strcpy’ was not declared in this scope\r\n     strcpy(ip, inet_ntoa(h->sin_addr));\r\n     ^~~~~~\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:31:5: note: suggested alternative: ‘wcpcpy’\r\n     strcpy(ip, inet_ntoa(h->sin_addr));\r\n     ^~~~~~\r\n     wcpcpy\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc: In member function ‘int ssl_socket_t::open(const char*)’:\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:102:3: error: ‘memset’ was not declared in this scope\r\n   memset(&server_addr, 0, sizeof(server_addr));\r\n   ^~~~~~\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:102:3: note: suggested alternative: ‘wmemset’\r\n   memset(&server_addr, 0, sizeof(server_addr));\r\n   ^~~~~~\r\n   wmemset\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:116:52: warning: ‘const SSL_METHOD* TLSv1_2_client_method()’ is deprecated [-Wdeprecated-declarations]\r\n   SSL_CTX *ctx = SSL_CTX_new(TLSv1_2_client_method());\r\n                                                    ^\r\nIn file included from /usr/include/openssl/ct.h:13:0,\r\n                 from /usr/include/openssl/ssl.h:61,\r\n                 from /mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.hh:19,\r\n                 from /mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:1:\r\n/usr/include/openssl/ssl.h:1638:1: note: declared here\r\n DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */\r\n ^\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc: In member function ‘int ssl_socket_t::send(const char*)’:\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:138:35: error: ‘strlen’ was not declared in this scope\r\n   int len = SSL_write(m_ssl, buf, strlen(buf));\r\n                                   ^~~~~~\r\n/mnt/c/HAPPS/CTHINGS/CLIB/lib_netsockets/src/openssl_socket.cc:138:35: note: suggested alternative: ‘mbrlen’\r\n   int len = SSL_write(m_ssl, buf, strlen(buf));\r\n                                   ^~~~~~\r\n                                   mbrlen\r\nCMakeFiles/https_coin.dir/build.make:62: recipe for target 'CMakeFiles/https_coin.dir/src/openssl_socket.cc.o' failed\r\nmake[2]: *** [CMakeFiles/https_coin.dir/src/openssl_socket.cc.o] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/https_coin.dir/all' failed\r\nmake[1]: *** [CMakeFiles/https_coin.dir/all] Error 2\r\nMakefile:83: recipe for target 'all' failed\r\nmake: *** [all] Error 2``"}}
{"actor":{"display_login":"carter3rix"}}