Hi,
I was unable to successfully install the package downloaded via .zip archive. I receive this compilation error and do not understand why:
sfsconst_stub.C: In function ‘void sfsconst_init(bool)’:
sfsconst_stub.C:394:20: error: ignoring return value of ‘int setgid(__gid_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
setgid (sfs_gid);
^
sfsconst_stub.C:395:22: error: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
setuid (sb.st_uid);
^
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-unused-private-field’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-mismatched-tags’ [-Werror]
Hi, I was unable to successfully install the package downloaded via .zip archive. I receive this compilation error and do not understand why:
sfsconst_stub.C: In function ‘void sfsconst_init(bool)’: sfsconst_stub.C:394:20: error: ignoring return value of ‘int setgid(__gid_t)’, declared with attribute warn_unused_result [-Werror=unused-result] setgid (sfs_gid); ^ sfsconst_stub.C:395:22: error: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Werror=unused-result] setuid (sb.st_uid); ^ At global scope: cc1plus: error: unrecognized command line option ‘-Wno-unused-private-field’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-mismatched-tags’ [-Werror]
Can you please help me? Thanks in advance Antonio