just adding Jakub.
On Sun, Jan 30, 2022 at 7:50 AM Artur Frenszek-Iwicki
wrote:
>
> Bumping this since I have an identical issue with colobot - the compilation
> errors out when a C-like string literal is assigned to an std::string, with
> the compiler providing the same "memcpy accessing...
Bumping this since I have an identical issue with colobot - the compilation
errors out when a C-like string literal is assigned to an std::string, with the
compiler providing the same "memcpy accessing... overlaps lots-of-bytes at
offset -3" error message.
A.FI.
This seems serious, but I've no idea what it means.
The line of code appears to be 398 marked below.
std::string spvTargetEnvList(const int pad, const int wrap) {
std::string ret;
size_t max_line_len = wrap - pad; // The first line isn't padded
std::string line;
std::string sep = "";