Repro step:
Install sleepy-discord via vcpkg install sleepy-discord[compression]:x64-linux
Error message:
/root/vcpkg/buildtrees/sleepy-discord/src/129fbab21b-0fb9b07de3.clean/sleepy_discord/zlib_compression.cpp:7:3: error: ‘memset’ was not declared in this scope
7 | memset(&stream, 0, sizeof(stream));
| ^~~~~~
/root/vcpkg/buildtrees/sleepy-discord/src/129fbab21b-0fb9b07de3.clean/sleepy_discord/zlib_compression.cpp:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include "zlib_compression.h"
+++ |+#include <cstring>
3 |
Repro step: Install sleepy-discord via
vcpkg install sleepy-discord[compression]:x64-linux
Error message: