mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-08 14:40:14 +00:00
30cbe52c5b
gcc -g3 -O0 -gdwarf-2 -fno-strict-aliasing -Wall -Wshadow -Werror -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -c -o mcstrans.o mcstrans.c mcstrans.c: In function ‘violates_constraints’: mcstrans.c:551:14: error: declaration of ‘common’ shadows a previous local [-Werror=shadow] ebitmap_t common; ^ mcstrans.c:545:13: error: shadowed declaration is here [-Werror=shadow] ebitmap_t common; ^ mcstrans.c: In function ‘build_regexps’: mcstrans.c:1048:7: error: declaration of ‘i’ shadows a previous local [-Werror=shadow] int i=0; ^ mcstrans.c:993:15: error: shadowed declaration is here [-Werror=shadow] size_t n_el, i; ^ mcstrans.c: In function ‘compute_raw_from_trans’: mcstrans.c:1166:9: error: declaration of ‘rc’ shadows a previous local [-Werror=shadow] int rc = pcre_exec(g->prefix_regexp, 0, work, work_len, 0, 0, ovector, OVECCOUNT); ^ mcstrans.c:1123:6: error: shadowed declaration is here [-Werror=shadow] int rc = pcre_exec(domain->base_classification_regexp, 0, work, work_len, 0, PCRE_ANCHORED, ovector, OVECCOUNT); ^ mcstrans.c:1174:9: error: declaration of ‘rc’ shadows a previous local [-Werror=shadow] int rc = pcre_exec(g->suffix_regexp, 0, work, work_len, 0, 0, ovector, OVECCOUNT); ^ mcstrans.c:1123:6: error: shadowed declaration is here [-Werror=shadow] int rc = pcre_exec(domain->base_classification_regexp, 0, work, work_len, 0, PCRE_ANCHORED, ovector, OVECCOUNT); ^ mcstrans.c:1189:9: error: declaration of ‘rc’ shadows a previous local [-Werror=shadow] int rc = pcre_exec(g->word_regexp, 0, s, l, 0, 0, ovector, OVECCOUNT); ^ mcstrans.c:1123:6: error: shadowed declaration is here [-Werror=shadow] int rc = pcre_exec(domain->base_classification_regexp, 0, work, work_len, 0, PCRE_ANCHORED, ovector, OVECCOUNT); ^ mcstrans.c: In function ‘compute_trans_from_raw’: mcstrans.c:1328:14: error: declaration of ‘unhandled’ shadows a previous local [-Werror=shadow] ebitmap_t unhandled, orig_unhandled; ^ mcstrans.c:1291:49: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1328:25: error: declaration of ‘orig_unhandled’ shadows a previous local [-Werror=shadow] ebitmap_t unhandled, orig_unhandled; ^ mcstrans.c:1291:60: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1360:15: error: declaration of ‘handled’ shadows a previous local [-Werror=shadow] ebitmap_t handled, nothandled; ^ mcstrans.c:1291:28: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1360:24: error: declaration of ‘nothandled’ shadows a previous local [-Werror=shadow] ebitmap_t handled, nothandled; ^ mcstrans.c:1291:37: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1377:17: error: declaration of ‘temp’ shadows a previous local [-Werror=shadow] ebitmap_t temp; ^ mcstrans.c:1291:22: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1378:17: error: declaration of ‘bit_diff’ shadows a previous local [-Werror=shadow] ebitmap_t bit_diff; ^ mcstrans.c:1291:12: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1403:16: error: declaration of ‘bit_diff’ shadows a previous local [-Werror=shadow] ebitmap_t bit_diff; ^ mcstrans.c:1291:12: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1407:16: error: declaration of ‘temp’ shadows a previous local [-Werror=shadow] ebitmap_t temp; ^ mcstrans.c:1291:22: error: shadowed declaration is here [-Werror=shadow] ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; ^ mcstrans.c:1434:19: error: declaration of ‘g’ shadows a previous local [-Werror=shadow] word_group_t *g; ^ mcstrans.c:1335:18: error: shadowed declaration is here [-Werror=shadow] word_group_t *g; ^ cc1: all warnings being treated as errors Makefile:35: recipe for target 'mcstrans.o' failed make[2]: *** [mcstrans.o] Error 1 Signed-off-by: Jason Zaman <jason@perfinion.com> |
||
---|---|---|
checkpolicy | ||
dbus | ||
gui | ||
libselinux | ||
libsemanage | ||
libsepol | ||
mcstrans | ||
policycoreutils | ||
python | ||
restorecond | ||
sandbox | ||
scripts | ||
secilc | ||
semodule-utils | ||
.gitignore | ||
CleanSpec.mk | ||
Makefile | ||
README |
Please submit all bug reports and patches to selinux@tycho.nsa.gov. Subscribe via selinux-join@tycho.nsa.gov. Build dependencies on Fedora: yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel xmlto redhat-rpm-config To build and install everything under a private directory, run: make DESTDIR=~/obj install install-pywrap To install as the default system libraries and binaries (overwriting any previously installed ones - dangerous!), on x86_64, run: make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel or on x86 (32-bit), run: make install install-pywrap relabel This may render your system unusable if the upstream SELinux userspace lacks library functions or other dependencies relied upon by your distribution. If it breaks, you get to keep both pieces.