Compiler bug

J. Shapiro jss at sjuvax.UUCP
Tue May 7 16:24:50 AEST 1985


I recently noticed that the following will not compile correctly on a
4.2 BSD system:

extern int usr1(), usr2(), usr3();

int	usrprocs[] = { usr1, usr2, usr3 }

whereas it compiles correctly on intel machines, cromix, and Aztec C.
It seems to me that this is something the linker should be able to handle
correctly, and therefore should not be a bug.

Comments?

Would someone be good enough to check this out on a sysV machine?

Jon



More information about the Comp.unix mailing list