make[3]: Entering directory '/var/tmp/portage/sys-apps/edac-utils-0.18/work/edac-utils-0.18/src/util' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib/ -Wall -Werror -pedantic -g -O2 -march=corei7 -g -pipe -c edac-util.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib/ -Wall -Werror -pedantic -g -O2 -march=corei7 -g -pipe -c list.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib/ -Wall -Werror -pedantic -g -O2 -march=corei7 -g -pipe -c split.c list.c: In function 'list_create': list.c:235:5: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] assert(l->magic = LIST_MAGIC); /* set magic via assert abuse */ ^ list.c: In function 'list_destroy': list.c:253:9: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] assert(i->magic = ~LIST_MAGIC); /* clear magic via assert abuse */ ^ list.c:265:5: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] assert(l->magic = ~LIST_MAGIC); /* clear magic via assert abuse */ ^ list.c: In function 'list_iterator_create': list.c:537:5: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] assert(i->magic = LIST_MAGIC); /* set magic via assert abuse */ ^ list.c: In function 'list_iterator_destroy': list.c:574:5: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] assert(i->magic = ~LIST_MAGIC); /* clear magic via assert abuse */ ^ cc1: all warnings being treated as errors builds fine if I set USE=-debug
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df3466524c7e920d10ebb6e955723ac30651de7 commit 9df3466524c7e920d10ebb6e955723ac30651de7 Author: Tiziano Müller <dev-zero@gentoo.org> AuthorDate: 2019-04-13 16:53:57 +0000 Commit: Tiziano Müller <dev-zero@gentoo.org> CommitDate: 2019-04-13 16:53:57 +0000 sys-apps/edac-utils: remove -Werror with USE=debug Closes: https://bugs.gentoo.org/637696 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Tiziano Müller <dev-zero@gentoo.org> sys-apps/edac-utils/edac-utils-0.18.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)