Problem | examstress |
---|---|
User | Kiameimon |
Submission Time | 2024-05-08 19:40:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
examstress.cpp: In member function ‘void OY::IO::InputHelper::_reserve()’:
examstress.cpp:45:17: error: there are no arguments to ‘memmove’ that depend on a template parameter, so a declaration of ‘memmove’ must be available [-fpermissive]
45 | memmove(m_buf, m_cursor, a), m_cursor = m_buf;
| ^~~~~~~
examstress.cpp:45:17: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
examstress.cpp: In instantiation of ‘void OY::IO::InputHelper::_reserve() [with long unsigned int BlockSize = 1]’:
examstress.cpp:67:29: required from here
examstress.cpp:45:24: error: ‘memmove’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
45 | memmove(m_buf, m_cursor, a), m_cursor = m_buf;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/in