Closed myd7349 closed 1 year ago
见:https://github.com/skywind3000/PyStand/pull/32#issuecomment-1374779103
之所以多加了 #include <string.h> 是考虑到 PyStand.h、PyStand.cpp 都没直接包含该头文件(虽然没加也没触发编译错误,这可能是该头文件被其它头文件间接包含了)。
#include <string.h>
PyStand.h
PyStand.cpp
鉴于 PyStand.cpp 中使用到了 strlen、wcslen 等函数,加上这个头文件包含更稳妥。
见:https://github.com/skywind3000/PyStand/pull/32#issuecomment-1374779103