argc[argv] - (nf)

rpw3 at fortune.UUCP rpw3 at fortune.UUCP
Sun Dec 18 02:04:40 AEST 1983


#R:sri-arpa:-1445600:fortune:26900006:000:371
fortune!rpw3    Dec 17 01:57:00 1983

Instead of

	y = 1[x];

try

	y = ((int *) 1 )[x];

If that doesn't work (no matter how you feel about it), the compiler
is broken badly, since that form is what you use in drivers to poke at
devices.

Rob Warnock

UUCP:	{sri-unix,amd70,hpda,harpo,ihnp4,allegra}!fortune!rpw3
DDD:	(415)595-8444
USPS:	Fortune Systems Corp, 101 Twin Dolphins Drive, Redwood City, CA 94065



More information about the Comp.unix mailing list