[rsbac] strange warning while compiling 1.4.9 git version
Javier Juan Martínez Cabezón
tazok at rsbac.org
Sun Mar 19 12:10:13 CET 2017
Hi all, while compiling, this (not fatal, but interesting) warning
appeared (translated from spanish):
rsbac/adf/rc/rc_main.c: In function 'rsbac_adf_request_rc':
rsbac/adf/rc/rc_main.c:2263:2: warning: case '62' is not a 'enum type
rsbac_adf_request_t' [-Wswitch]
The compiling environment is a bit strange, crossdev compiling with
amd64 host and armv7a 32 bit target destination with binfmt qemu-ed
chrooted hardened gentoo.
In rc_types.h
enum rsbac_rc_special_rights_t { RCR_ADMIN = RSBAC_RC_SPECIAL_RIGHT_BASE,
RCR_ASSIGN,
RCR_ACCESS_CONTROL,
RCR_SUPERVISOR,
RCR_MODIFY_AUTH,
RCR_CHANGE_AUTHED_OWNER,
RCR_SELECT,
RCR_MODIFY_UDF,
RCR_NONE
I have not idea why this warning :S, at first sight its correct, and why
with only select and not modify_udf for example
More information about the rsbac
mailing list