https://github.com/rhboot/pesign/issues/78 daemon.c:922:32: error: unknown option after ‘#pragma GCC diagnostic’ kind [-Werror=pragmas] 922 | #pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors --- a/src/daemon.c +++ b/src/daemon.c @@ -916,10 +916,6 @@ do_shutdown(context *ctx, int nsockets, struct pollfd *pollfds) free(pollfds); } -/* GCC -fanalyzer has trouble with realloc - * https://bugzilla.redhat.com/show_bug.cgi?id=2047926 */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value" static int handle_events(context *ctx) {