Dunno if this is because you still use GCC 12, but it's not possible to compile it with GCC 13 without those fixes.
-Wno-unused-return is used because otherwise oc_test.cpp throws error at fread.
int i is now size_t otherwise there are errors related to comparison of different signedness
unix strlcpy and strlcat were replaced with C standard strncpy and strncat
Dunno what this is used for, just somebody asked me why they can't compile it.
Dunno if this is because you still use GCC 12, but it's not possible to compile it with GCC 13 without those fixes.
-Wno-unused-return
is used because otherwiseoc_test.cpp
throws error atfread
.int i
is nowsize_t
otherwise there are errors related to comparison of different signedness unixstrlcpy
andstrlcat
were replaced with C standardstrncpy
andstrncat
Dunno what this is used for, just somebody asked me why they can't compile it.