CompuServe Messages

Manx error?

    29-Nov-90 22:21:18
Sb: Manx error?
Fm: Henry Williams 76416,377
To: all
Hello, I'm using the Manx 3.6a compiler and have been trying to learn how to set an array of pointers to functions. I copied the example straight out of a book but have been getting the error and warning shown below the main(). Could someone show me why this is happening and how to fix it? Thanks in advance, Henry. main() { int fn0(), fn1(), fn2(), fn3(), fn4(), fn5(), fn6(), fn7(), fn8(), fn9(); static int (*dispatch)() [] = { fn0, fn1, fn2, fn3, fn4, fn5, fn6, fn7, fn8, fn9 }; } test.c:7: WARNING 124: invalid ptr/ptr assignment: test.c:7: ERROR 42: too many initializers: