Powered by Linux
[PATCH] Set smatch to output to stdout — Semantic Matching Tool

[PATCH] Set smatch to output to stdout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux