C compiler problem under 4.1bsd
utzoo!decvax!harpo!seismo!rocheste!mayer
utzoo!decvax!harpo!seismo!rocheste!mayer
Mon Oct 25 15:47:13 AEST 1982
I have a problem with the C compiler under 4.1bsd UNIX.
The program:
extern void foo();
test_one()
{
void (*bar)();
bar = foo;
}
produces the error message:
"tst1.c", line 7: operands of = have incompatible types
The same program, with "int" substitued for "void" compiles perfectly.
Jim Mayer
rochester!mayer at seismo
More information about the Net.bugs
mailing list