tezc / sc

Common libraries and data structures for C.
BSD 3-Clause "New" or "Revised" License
2.23k stars 239 forks source link

sc_array.h: error: implicit declaration of function 'memmove' #92

Closed jpgpng closed 2 years ago

jpgpng commented 2 years ago

The compiler is MinGW-W64 GCC 11.2 and I cloned directly from github.

tezc commented 2 years ago

@jpgpng Thanks for the report. Does this fix the warning?: https://github.com/tezc/sc/pull/93

Looks like mingw memory.h does not have memmove() in it.

jpgpng commented 2 years ago

@jpgpng Thanks for the report. Does this fix the warning?: #93

Looks like mingw memory.h does not have memmove() in it.

Yes, this fixed the compilation of that particular source file.

tezc commented 2 years ago

Fixed by https://github.com/tezc/sc/pull/93