...\lauxlib.c|586,warning: 'memcpy' Указанный oblide 184467407370955161414 9223372036854775807 [-wstringop-overflow =] | < /p>
< /blockquote>
в строке < /p>
Код: Выделить всё
LUALIB_API void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l) {
if (l > 0) { /* avoid 'memcpy' when 's' can be NULL */
char *b = prepbuffsize(B, l, -1);
memcpy(b, s, l * sizeof(char)); /* here*/
luaL_addsize(B, l);
}
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... imum-objec
Мобильная версия