我在使用minGW的g++.exe编译一些Linux C++代码时遇到了相当大的困难。具体地说,它无法理解以下代码: clock_gettime(CLOCK_REALTIME,&now); #include <error: aggregate 'special_time2()::timespec now' has incomplete type and cannot be defined
error: '
我正在尝试在Alpine上编译Box86,这是一个使用musl libc实现而不是glibc的Linux发行版。' undeclared here (not in a function); did you mean 'clock_gettime'?210 | { 265, __NR_clock_gettime, 2 }, | clock_gettimea function);