[net.lang.c] flame

dapermezel@watmath.UUCP (Damon Permezel) (10/01/83)

One facet of C that really annoys me is the kludge added for lint
that allows

	(void) f();

This is as devoid of meaning as

	(void) ++i;

What is really meant is

	(*((void (*)()) f))();

Isn't C beautiful?

=damon

ed@unisoft.UUCP (10/04/83)

the construct

	(coid) f()

is not meaningless at all.  It means that the value returned by f()
is cast to type (void), thereby stating that the programmer is
aware of the return value and is ignoring it.  The complex statement
given in the initial flame means something entirely different -
that being the call of a (void)-declared function f() that was
not declared locally.

(s/coid/void/)

Ed Gould
ucbvax!mtxinu!ed