当前位置:网站首页>GCC compilation error

GCC compilation error

2022-07-07 12:28:00 qq_ thirty-eight million seven hundred and eighty-one thousand

Error message

error: ‘S_IRWXU’ undeclared (first use in this function)
error: ‘S_IXGRP’ undeclared (first use in this function); did you mean ‘S_IRGRP’?
error: ‘S_IXOTH’ undeclared (first use in this function); did you mean ‘S_IROTH’?
error: ‘S_IROTH’ undeclared (first use in this function); did you mean ‘S_IRGRP’?
error: ‘S_IFSOCK’ undeclared (first use in this function); did you mean ‘S_IFDIR’?
error: ‘S_IFIFO’ undeclared (first use in this function); did you mean ‘S_IFMT’?
error: ‘S_IFMT’ undeclared (first use in this function); did you mean ‘__PMT’?

terms of settlement

Header file plus  

#include <sys/stat.h>

原网站

版权声明
本文为[qq_ thirty-eight million seven hundred and eighty-one thousand ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071026319911.html