All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Set smatch to output to stdout
@ 2019-11-12 22:57 John Levon
  0 siblings, 0 replies; only message in thread
From: John Levon @ 2019-11-12 22:57 UTC (permalink / raw)
  To: smatch; +Cc: John Levon

smatch now outputs any errors to any specified -o argument as a result
of sparse changing its default option handling. This makes it not so useful
as a alternative compiler replacement, since the errors end up in the build file
rather than in the build log.
---
 lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib.c b/lib.c
index 722ee21f..569a1533 100644
--- a/lib.c
+++ b/lib.c
@@ -53,7 +53,7 @@ int verbose, optimize_level, optimize_size, preprocessing;
 int die_if_error = 0;
 int parse_error;
 int has_error = 0;
-int do_output = 1;
+int do_output = 0;
 
 #ifndef __GNUC__
 # define __GNUC__ 2
-- 
2.17.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-12 23:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 22:57 [PATCH] Set smatch to output to stdout John Levon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.