This error occurs: cc -g -Werror -Wall -W -I/usr/include -DUSE_AUDIT -c -o restore.o restore.c restore.c: In function ‘restore_init’: restore.c:62:3: error: missing braces around initializer [-Werror=missing-braces] restore.c:62:3: error: (near initialization for ‘selinux_opts[0].<anonymous>’) [-Werror=missing-braces] cc1: all warnings being treated as errors with: [stef@stef-desktop selinux]$ gcc --version gcc (GCC) 4.7.0 20120416 (Red Hat 4.7.0-2) Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Created attachment 579823 [details] Fix build with gcc version 4.70 * Union was initialized incorrectly
Created attachment 579824 [details] Fix build with gcc version 4.7.0 * Union was initialized incorrectly
We have rewritten this code so this should not be a problem in policycoreutils-2.1.11-6.fc18