Problem lightningrod
User Kiameimon
Submission Time 2024-03-25 21:27:35
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 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 declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
39 | memmove(m_buf, m_cursor, a), m_cursor = m_buf;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included