From: Bruce Ellis <bruce.ellis@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] 8c funny
Date: Fri, 27 May 2005 03:02:19 +1000 [thread overview]
Message-ID: <775b8d19050526100248e33f1d@mail.gmail.com> (raw)
In-Reply-To: <70a42a4d7b217162f91a2824c4795fe7@coraid.com>
yes, it's "only one prize per child". if cc finds an error (or warning)
in an expression it generally bails on that item - avoiding the
"cascade of errors" from a simple typo. sometimes it can be
annoying (fix "b" in this case and next compile it will complain
about "a") but usually it saves investigating non-errors.
brucee
On 5/27/05, Brantley Coile <brantley@coraid.com> wrote:
> Any one seen this before?
>
> term% cat busted.c
> #include <u.h>
> #include <libc.h>
>
> void
> main(void)
> {
> vlong a;
> int b;
>
> if (a == b)
> exits(nil);
> exits(nil);
> }
> term% 8c -FVw busted.c
> warning: busted.c:5 used and not set: b
> term%
>
> Note that a doesn't get tagged as used and not set.
>
>
> Brantley
next prev parent reply other threads:[~2005-05-26 17:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-26 16:52 Brantley Coile
2005-05-26 17:02 ` Bruce Ellis [this message]
2005-05-26 17:10 Brantley Coile
2005-05-26 17:16 ` Russ Cox
2005-05-26 17:18 ` Bruce Ellis
2005-05-26 18:23 ` Charles Forsyth
2005-05-26 18:44 Ben Huntsman
2005-05-26 18:55 ` jmk
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=775b8d19050526100248e33f1d@mail.gmail.com \
--to=bruce.ellis@gmail.com \
--cc=9fans@cse.psu.edu \
/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 NNTP newsgroup(s).