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
When I try to compile libselinux-3.7 on i386, I get errors:
selinux_restorecon.c: In function 'selinux_restorecon_common':
selinux_restorecon.c:1194:31: error: comparison of integer expressions of different signedness: '__fsword_t' {aka 'int'} and 'unsigned int' [-Werror=sign-compare]
1194 | if (state.sfsb.f_type == RAMFS_MAGIC || state.sfsb.f_type == TMPFS_MAGIC ||
| ^~
selinux_restorecon.c: In function 'selinux_restorecon_xattr':
selinux_restorecon.c:1493:41: error: comparison of integer expressions of different signedness: '__fsword_t' {aka 'int'} and 'unsigned int' [-Werror=sign-compare]
1493 | if (sfsb.f_type == RAMFS_MAGIC ||
| ^~
selinux_restorecon.c:1528:49: error: comparison of integer expressions of different signedness: '__fsword_t' {aka 'int'} and 'unsigned int' [-Werror=sign-compare]
1528 | if (sfsb.f_type == RAMFS_MAGIC ||
| ^~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:176: selinux_restorecon.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
(For now, I'm working around it by removing -Werror from src/Makefile.)
The text was updated successfully, but these errors were encountered:
When I try to compile libselinux-3.7 on i386, I get errors:
(For now, I'm working around it by removing
-Werror
fromsrc/Makefile
.)The text was updated successfully, but these errors were encountered: