9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bruce Ellis <bruce.ellis@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] once is enough: VOID
Date: Sun, 15 May 2005 04:21:29 +1000	[thread overview]
Message-ID: <775b8d1905051411214f40e25c@mail.gmail.com> (raw)
In-Reply-To: <81285fb031037e55f9d64ab467482328@coraid.com>

One day I'll fix cc so it's diagnostics are more like those of cyntax.
A diagnostic should indicate the culprit, not where the parser
was when the semantic analysis was done.

Then again one day dumb-ass airline will show up with my luggage.

Consider yourself lucky.  I spent half a day trying to work out what
a gcc diagnostic meant and eventually cracked open a six pack
and wrote the entire file again from scratch - discarding the first
attempt.  Never did find out what the message meant.

brucee

On 5/14/05, Brantley Coile <brantley@coraid.com> wrote:
> I just spent 20 minutes figuring out what the above warning meant.
> The line number given in the warning is incorrect, so it took the 20
> minutes before I noticed that I had used the keyword `void' twice for
> a function type a few lines below the last line of the previous
> function, which was the line in the warning message.
> 
> Hope this saves someone else their 20 minutes.
> 
>  Brantley


  reply	other threads:[~2005-05-14 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-14 13:45 Brantley Coile
2005-05-14 18:21 ` Bruce Ellis [this message]
2005-05-14 18:35   ` Brantley Coile

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=775b8d1905051411214f40e25c@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).