Problem lightningrod
User Kiameimon
Submission Time 2024-03-25 21:25:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In member function ‘void OY::IO::InputHelper::_reserve()’:
lightningrod.cpp:39:17: error: there are no arguments to ‘memmove’ that depend on a template parameter, so a declaration of ‘memmove’ must be available [-fpermissive]
39 | memmove(m_buf, m_cursor, a), m_cursor = m_buf;
| ^~~~~~~
lightningrod.cpp:39:17: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:249:1: error: expected ‘}’ at end of input
249 | }
| ^
lightningrod.cpp:235:15: note: to match this ‘{’
235 | signed main() {
| ^
lightningrod.cpp: In instantiation of ‘void OY::IO::InputHelper::_reserve() [with long unsigned int BlockSize = 1]’:
lightningrod.cpp:61:29: required from here
lightningrod.cpp:39:24: error: ‘memmove’ was not declared in this scope, and no decla