* [9fans] warning of putchar
@ 2006-01-14 9:07 党立斌
2006-01-14 10:40 ` Bruce Ellis
0 siblings, 1 reply; 6+ messages in thread
From: 党立斌 @ 2006-01-14 9:07 UTC (permalink / raw)
To: 9fans
/* test.c */
#include <u.h>
#include <stdio.h>
void
main()
{
putchar('\n');
}
8c -w test.c
warning:test.c:9 result of operation not used
warning:test.c:9 result of operation not used
warning:test.c:9 result of operation not used
three repetitive warnings
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] warning of putchar
2006-01-14 9:07 [9fans] warning of putchar 党立斌
@ 2006-01-14 10:40 ` Bruce Ellis
2006-01-14 12:18 ` Charles Forsyth
0 siblings, 1 reply; 6+ messages in thread
From: Bruce Ellis @ 2006-01-14 10:40 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
putchar is a dinosaur macro. the diagnostics make sense after expansion.
brucee
On 1/14/06, 党立斌 <danglb@lianchuang.com> wrote:
> /* test.c */
>
> #include <u.h>
> #include <stdio.h>
>
> void
> main()
> {
> putchar('\n');
> }
>
> 8c -w test.c
>
> warning:test.c:9 result of operation not used
> warning:test.c:9 result of operation not used
> warning:test.c:9 result of operation not used
>
> three repetitive warnings
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] warning of putchar
2006-01-14 10:40 ` Bruce Ellis
@ 2006-01-14 12:18 ` Charles Forsyth
2006-01-14 12:33 ` erik quanstrom
0 siblings, 1 reply; 6+ messages in thread
From: Charles Forsyth @ 2006-01-14 12:18 UTC (permalink / raw)
To: 9fans
even more amusing, try to suppress them by including an ugly
lint-style cast to void, and you'll get a further such diagnostic
(and serve you right for adding clutter)!
more helpfully, if you're writing a new program for Plan 9,
use bio(2) instead
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] warning of putchar
2006-01-14 12:18 ` Charles Forsyth
@ 2006-01-14 12:33 ` erik quanstrom
2006-01-14 18:25 ` Russ Cox
0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2006-01-14 12:33 UTC (permalink / raw)
To: 9fans, Charles Forsyth
i'm only getting half of this conversation on the list.
does this have anything to do with the putchar email
that quoted an email that wasn't on the list?
- erik
Charles Forsyth <forsyth@terzarima.net> writes
|
| even more amusing, try to suppress them by including an ugly
| lint-style cast to void, and you'll get a further such diagnostic
| (and serve you right for adding clutter)!
|
| more helpfully, if you're writing a new program for Plan 9,
| use bio(2) instead
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] warning of putchar
2006-01-14 12:33 ` erik quanstrom
@ 2006-01-14 18:25 ` Russ Cox
2006-01-14 21:29 ` erik quanstrom
0 siblings, 1 reply; 6+ messages in thread
From: Russ Cox @ 2006-01-14 18:25 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs, erik quanstrom
> i'm only getting half of this conversation on the list.
> does this have anything to do with the putchar email
> that quoted an email that wasn't on the list?
the original message said
From: 党立斌 <danglb@lianchuang.com>
perhaps your spam filter decided the non-ascii
glyphs meant it was spam.
russ
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] warning of putchar
2006-01-14 18:25 ` Russ Cox
@ 2006-01-14 21:29 ` erik quanstrom
0 siblings, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2006-01-14 21:29 UTC (permalink / raw)
To: 9fans, Russ Cox
yes, indeed it's the spam filter. unfortunately one over which i have
no control.
- erik
Russ Cox <rsc@swtch.com> writes
|
| > i'm only getting half of this conversation on the list.
| > does this have anything to do with the putchar email
| > that quoted an email that wasn't on the list?
|
| the original message said
| From: 党立斌 <danglb@lianchuang.com>
|
| perhaps your spam filter decided the non-ascii
| glyphs meant it was spam.
|
| russ
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-01-14 21:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-14 9:07 [9fans] warning of putchar 党立斌
2006-01-14 10:40 ` Bruce Ellis
2006-01-14 12:18 ` Charles Forsyth
2006-01-14 12:33 ` erik quanstrom
2006-01-14 18:25 ` Russ Cox
2006-01-14 21:29 ` erik quanstrom
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).