9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Brantley Coile <brantley@coraid.com>
To: bruce.ellis@gmail.com, 9fans@cse.psu.edu
Subject: Re: [9fans] once is enough: VOID
Date: Sat, 14 May 2005 14:35:53 -0400	[thread overview]
Message-ID: <d8e549eb53ff1e54db397007c160fef0@coraid.com> (raw)
In-Reply-To: <775b8d1905051411214f40e25c@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

My favorite error message of all time was `unintelligent control
statment was output with diagnostic.' That was on the batch job
control on an CDC 18/20 ITOS system.  It was years later that I
realized that my program had stopped without reading the last record
in the sysin and a data card was the next thing read by the batch
system.  I had put two sentinel numbers as input instead of one.  It
just couldn't figure out what to do with 99999 as a job control card.

The message should have been, `Hey stupid!  What's 99999 supposed to
mean?'

  Brantley

[-- Attachment #2: Type: message/rfc822, Size: 3936 bytes --]

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
Message-ID: <775b8d1905051411214f40e25c@mail.gmail.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:35 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
2005-05-14 18:35   ` Brantley Coile [this message]

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=d8e549eb53ff1e54db397007c160fef0@coraid.com \
    --to=brantley@coraid.com \
    --cc=9fans@cse.psu.edu \
    --cc=bruce.ellis@gmail.com \
    /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).