argc[argv] - (nf)

rpw3 at fortune.UUCP rpw3 at fortune.UUCP
Sat Dec 17 19:05:21 AEST 1983


#R:sri-arpa:-1445600:fortune:26900004:000:369
fortune!rpw3    Dec 16 23:08: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