You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sh Make.sh
dklab_realplexor.cpp: In function ‘void mainloop()’:
dklab_realplexor.cpp:152:21: error: ignoring return value of ‘int setegid(__gid_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
setegid(gid);
^
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
Сорри, я не особо понимаю в c++, как решить эту проблему?
The text was updated successfully, but these errors were encountered:
Компилятор ругается: "compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors". Если перевести, то он
говорит, что при компиляции с параметром -Wfatal-errors все warning-и
считаются ошибками, чтобы решить проблему можно просто убрать -Wfatal-errors
из Make файла.
$ sh Make.sh
dklab_realplexor.cpp: In function ‘void mainloop()’:
dklab_realplexor.cpp:152:21: error: ignoring return value of ‘int setegid(__gid_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
setegid(gid);
^
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
Сорри, я не особо понимаю в c++, как решить эту проблему?
The text was updated successfully, but these errors were encountered: