Compiler bug

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Wed May 8 07:44:39 AEST 1985


> extern int usr1(), usr2(), usr3();
> 
> int	usrprocs[] = { usr1, usr2, usr3 }

There is no particular reason that this SHOULD work!  Try
	int	(*userprocs[])() = { usr1, usr2, usr3 };



More information about the Comp.unix mailing list