Compiler bug

Alan Fargusson alan at drivax.UUCP
Fri May 10 05:57:58 AEST 1985


> extern int usr1(), usr2(), usr3();
> 
> int	usrprocs[] = { usr1, usr2, usr3 }
> 
> Would someone be good enough to check this out on a sysV machine?

My SysV machine (VAX) gives me:
"bug.c", line 3: warning: illegal combination of pointer and integer, op =
"bug.c", line 3: warning: illegal combination of pointer and integer, op =
"bug.c", line 3: warning: illegal combination of pointer and integer, op =

This is what I would expect. What did BSD do?
-- 

Alan Fargusson.

{ ihnp4, sftig, amdahl, ucscc, ucbvax!unisoft }!drivax!alan



More information about the Comp.unix mailing list