azerothcore / mod-eluna

Eluna Lua Engine © for WoW Emulators
https://elunaluaengine.github.io/
GNU General Public License v3.0
96 stars 126 forks source link

The following error occurred while compiling the eluna module: #147

Open dudemin opened 1 year ago

dudemin commented 1 year ago

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3975:37: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] return message_digest(s, MD5_Init, MD5_Update, MD5_Final, ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3975:47: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] return message_digest(s, MD5_Init, MD5_Update, MD5_Final, ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX c, const void data, size_t len); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3975:59: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] return message_digest(s, MD5_Init, MD5_Update, MD5_Final, ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char md, MD5_CTX c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3980:40: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations] return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, ^ /usr/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3980:53: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, ^ /usr/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3980:68: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations] return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, ^ /usr/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char md, SHA256_CTX c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3985:40: warning: 'SHA512_Init' is deprecated [-Wdeprecated-declarations] return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, ^ /usr/include/openssl/sha.h:123:1: note: 'SHA512_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3985:53: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations] return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, ^ /usr/include/openssl/sha.h:124:1: note: 'SHA512_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))

                                               ^

In file included from /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/HttpManager.cpp:11: /root/azerothcore-wotlk/modules/mod-eluna/src/LuaEngine/libs/httplib.h:3985:68: warning: 'SHA512_Final' is deprecated [-Wdeprecated-declarations] return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, ^ /usr/include/openssl/sha.h:126:1: note: 'SHA512_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char md, SHA512_CTX c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'

define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)

                                            ^

/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'

define OSSL_DEPRECATED(since) attribute((deprecated))