CE-Programming / CEmu

Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features
https://ce-programming.github.io/CEmu/
Other
1.07k stars 76 forks source link

Include missing `cstring` header in autotester.cpp #424

Closed melvyn2 closed 2 years ago

melvyn2 commented 2 years ago

memcpy is used but the relevant header wasn't included, causing the file not to compile:

../../tests/autotester/autotester.cpp: In lambda function:
../../tests/autotester/autotester.cpp:180:25: error: ‘memcpy’ was not declared in this scope
  180 |                         memcpy(temp_buffer_dup, temp_buffer, param.size);
      |                         ^~~~~~
../../tests/autotester/autotester.cpp:28:1: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
   27 | #include "autotester.h"
  +++ |+#include <cstring>
   28 | 
make: *** [Makefile:1417: autotester.o] Error 1
adriweb commented 2 years ago

Hm, I should clean up this part anyway :)