Hi--

On Jun 29, 2009, at 5:41 PM, Robert Huff wrote:
        and the compiler does not complain.  If, however, I try to
prototype the function as:

 extern int plate_shift(struct CONTINENT *[][],int,float);

        with:

CFLAGS = -Wall -std=c99

        I get:

error: array type has incomplete element type

You need to provide the size for all but the first element; see K&Rv2 section 5.9 (p 113), or something like:

  http://home.netcom.com/~tjensen/ptr/ch7x.htm

Regards,
--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to