smatch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Levon <john.levon@joyent.com>
To: smatch@vger.kernel.org
Cc: John Levon <john.levon@joyent.com>
Subject: [PATCH] Set smatch to output to stdout
Date: Tue, 12 Nov 2019 22:57:34 +0000	[thread overview]
Message-ID: <1573599454-21772-1-git-send-email-john.levon@joyent.com> (raw)

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

                 reply	other threads:[~2019-11-12 23:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1573599454-21772-1-git-send-email-john.levon@joyent.com \
    --to=john.levon@joyent.com \
    --cc=smatch@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).